Home
last modified time | relevance | path

Searched refs:num_queue_pairs (Results 1 – 14 of 14) sorted by relevance

/linux/include/linux/avf/
H A Dvirtchnl.h226 u16 num_queue_pairs; member
271 u16 num_queue_pairs; member
356 u16 num_queue_pairs; member
376 u16 num_queue_pairs; member
1483 vqc->num_queue_pairs); in virtchnl_vc_validate_vf_msg()
1484 if (vqc->num_queue_pairs == 0) in virtchnl_vc_validate_vf_msg()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c2060 vsi->num_queue_pairs = 1; in i40e_vsi_setup_queue_map()
6140 max = ch->num_queue_pairs; in i40e_get_max_queues_for_channel()
6495 ch->num_queue_pairs, in i40e_setup_hw_channel()
6614 if (!ch->num_queue_pairs) { in i40e_create_queue_channel()
6616 ch->num_queue_pairs); in i40e_create_queue_channel()
6625 ch->num_queue_pairs); in i40e_create_queue_channel()
6663 ch->num_queue_pairs); in i40e_create_queue_channel()
6724 ch->num_queue_pairs = in i40e_configure_queue_channels()
6742 i, ch->num_queue_pairs); in i40e_configure_queue_channels()
7693 if (vsi->num_queue_pairs < in i40e_validate_mqprio_qopt()
[all …]
H A Di40e_virtchnl_pf.c1035 pf->queues_left += vf->num_queue_pairs - in i40e_free_vf_res()
1089 vf->num_queue_pairs = 0; in i40e_free_vf_res()
1154 vf->num_queue_pairs = total_queue_pairs; in i40e_alloc_vf_res()
2202 vfres->num_queue_pairs = vf->num_queue_pairs; in i40e_vc_get_vf_resources_msg()
2425 qci->num_queue_pairs; in i40e_vc_config_queues_msg()
2768 u16 req_pairs = vfres->num_queue_pairs; in i40e_vc_request_queues_msg()
2769 u8 cur_pairs = vf->num_queue_pairs; in i40e_vc_request_queues_msg()
2793 vfres->num_queue_pairs = cur_pairs; in i40e_vc_request_queues_msg()
3436 if (vrl->lut[i] >= vf->num_queue_pairs) { in i40e_vc_config_rss_lut()
4075 vf->num_queue_pairs = I40E_MAX_VF_QUEUES; in i40e_vc_add_qch_msg()
[all …]
H A Di40e_virtchnl_pf.h93 u8 num_queue_pairs; /* num of qps assigned to VF vsis */ member
H A Di40e_xsk.c92 if (qid >= vsi->num_queue_pairs) in i40e_xsk_pool_enable()
729 if (queue_id >= vsi->num_queue_pairs) in i40e_xsk_wakeup()
806 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_xsk_any_rx_ring_enabled()
H A Di40e_debugfs.c231 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_dbg_dump_vsi_seid()
273 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_dbg_dump_vsi_seid()
313 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_dbg_dump_vsi_seid()
368 vsi->base_queue, vsi->num_queue_pairs, vsi->num_tx_desc, in i40e_dbg_dump_vsi_seid()
552 if (ring_id >= vsi->num_queue_pairs || ring_id < 0) { in i40e_dbg_dump_desc()
723 vf_id, vf->lan_vsi_id, vsi->seid, vf->num_queue_pairs); in i40e_dbg_dump_vf()
H A Di40e_ethtool.c2047 return index < vsi->num_queue_pairs || in i40e_active_tx_ring_index()
2052 return index < vsi->num_queue_pairs; in i40e_active_tx_ring_index()
2109 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_set_ringparam()
2178 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_set_ringparam()
2894 else if (queue >= vsi->num_queue_pairs) in __i40e_get_coalesce()
3027 } else if (queue < vsi->num_queue_pairs) { in __i40e_set_coalesce()
3032 vsi->num_queue_pairs - 1); in __i40e_set_coalesce()
3090 for (i = 0; i < vsi->num_queue_pairs; i++) in __i40e_set_coalesce()
4851 if (ring >= vsi->num_queue_pairs) in i40e_add_fdir_ethtool()
4860 if (ring >= pf->vf[vf].num_queue_pairs) in i40e_add_fdir_ethtool()
[all …]
H A Di40e.h437 u16 num_queue_pairs; /* Requested by user */ member
878 u16 num_queue_pairs; /* Used tx and rx pairs */ member
H A Di40e_txrx.c891 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_detect_recover_hung()
4020 if (!i40e_enabled_xdp_vsi(vsi) || queue_index >= vsi->num_queue_pairs || in i40e_xdp_xmit()
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_common.c495 hw->dev_caps.num_rx_qp = msg->num_queue_pairs; in iavf_vf_parse_hw_config()
496 hw->dev_caps.num_tx_qp = msg->num_queue_pairs; in iavf_vf_parse_hw_config()
H A Diavf_virtchnl.c188 if (adapter->vf_res->num_queue_pairs > IAVF_MAX_REQ_QUEUES) { in iavf_validate_num_queues()
193 adapter->vf_res->num_queue_pairs, in iavf_validate_num_queues()
197 adapter->vf_res->num_queue_pairs = IAVF_MAX_REQ_QUEUES; in iavf_validate_num_queues()
200 vsi_res->num_queue_pairs = IAVF_MAX_REQ_QUEUES; in iavf_validate_num_queues()
295 vqci->num_queue_pairs = pairs; in iavf_configure_queues()
2412 if (vfres->num_queue_pairs != adapter->num_req_queues) { in iavf_virtchnl_completion()
2416 vfres->num_queue_pairs); in iavf_virtchnl_completion()
H A Diavf_ethtool.c1653 ch->max_combined = adapter->vsi_res->num_queue_pairs; in iavf_get_channels()
1686 if (num_req == 0 || num_req > adapter->vsi_res->num_queue_pairs) in iavf_set_channels()
H A Diavf_main.c1561 adapter->vsi_res->num_queue_pairs, in iavf_alloc_queues()
2406 num_req_queues > adapter->vsi_res->num_queue_pairs) { in iavf_parse_vf_resource_msg()
2414 adapter->vsi_res->num_queue_pairs); in iavf_parse_vf_resource_msg()
2416 adapter->num_req_queues = adapter->vsi_res->num_queue_pairs; in iavf_parse_vf_resource_msg()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl.c500 vfres->num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()
508 vfres->vsi_res[0].num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()
1679 if (qci->num_queue_pairs > ICE_MAX_RSS_QS_PER_VF || in ice_vc_cfg_qs_msg()
1680 qci->num_queue_pairs > min_t(u16, vsi->alloc_txq, vsi->alloc_rxq)) { in ice_vc_cfg_qs_msg()
1686 for (i = 0; i < qci->num_queue_pairs; i++) { in ice_vc_cfg_qs_msg()
1695 for (i = 0; i < qci->num_queue_pairs; i++) { in ice_vc_cfg_qs_msg()
2164 u16 req_queues = vfres->num_queue_pairs; in ice_vc_request_qs_msg()
2187 vfres->num_queue_pairs = ICE_MAX_RSS_QS_PER_VF; in ice_vc_request_qs_msg()
2192 vfres->num_queue_pairs = min_t(u16, max_allowed_vf_queues, in ice_vc_request_qs_msg()