Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/avf/
Dvirtchnl.h223 u16 num_queue_pairs; member
259 u16 num_queue_pairs; member
330 u16 num_queue_pairs; member
349 u16 num_queue_pairs; member
707 valid_len += (vqc->num_queue_pairs * in virtchnl_vc_validate_vf_msg()
710 if (vqc->num_queue_pairs == 0) in virtchnl_vc_validate_vf_msg()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c334 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_tx_timeout()
452 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_get_netdev_stats_struct()
511 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_vsi_reset_stats()
884 for (q = 0; q < vsi->num_queue_pairs; q++) { in i40e_update_vsi_stats()
1766 vsi->num_queue_pairs); in i40e_vsi_config_rss()
1844 vsi->num_queue_pairs = offset + qcount; in i40e_vsi_setup_queue_map_mqprio()
1869 if (override_q && override_q < vsi->num_queue_pairs) { in i40e_vsi_setup_queue_map_mqprio()
1870 vsi->cnt_q_avail = vsi->num_queue_pairs - override_q; in i40e_vsi_setup_queue_map_mqprio()
1916 vsi->num_queue_pairs = vsi->req_queue_pairs; in i40e_vsi_setup_queue_map()
1918 vsi->num_queue_pairs = pf->num_lan_msix; in i40e_vsi_setup_queue_map()
[all …]
Di40e_virtchnl_pf.c957 if (vf->num_queue_pairs > I40E_DEFAULT_QUEUES_PER_VF) { in i40e_free_vf_res()
958 pf->queues_left += vf->num_queue_pairs - in i40e_free_vf_res()
1012 vf->num_queue_pairs = 0; in i40e_free_vf_res()
1077 vf->num_queue_pairs = total_queue_pairs; in i40e_alloc_vf_res()
2126 vfres->num_queue_pairs = vf->num_queue_pairs; in i40e_vc_get_vf_resources_msg()
2135 vfres->vsi_res[0].num_queue_pairs = vsi->alloc_queue_pairs; in i40e_vc_get_vf_resources_msg()
2268 if (qci->num_queue_pairs > I40E_MAX_VF_QUEUES) { in i40e_vc_config_queues_msg()
2276 if (num_qps_all != qci->num_queue_pairs) { in i40e_vc_config_queues_msg()
2284 for (i = 0; i < qci->num_queue_pairs; i++) { in i40e_vc_config_queues_msg()
2342 pf->vsi[vf->lan_vsi_idx]->num_queue_pairs = in i40e_vc_config_queues_msg()
[all …]
Di40e_xsk.c95 if (qid >= vsi->num_queue_pairs) in i40e_xsk_pool_enable()
603 if (queue_id >= vsi->num_queue_pairs) in i40e_xsk_wakeup()
680 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_xsk_any_rx_ring_enabled()
Di40e_virtchnl_pf.h91 u8 num_queue_pairs; /* num of qps assigned to VF vsis */ member
Di40e_ethtool.c1938 return index < vsi->num_queue_pairs || in i40e_active_tx_ring_index()
1940 index < vsi->alloc_queue_pairs + vsi->num_queue_pairs); in i40e_active_tx_ring_index()
1943 return index < vsi->num_queue_pairs; in i40e_active_tx_ring_index()
1997 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_set_ringparam()
2066 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_set_ringparam()
2122 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_set_ringparam()
2796 else if (queue >= vsi->num_queue_pairs) in __i40e_get_coalesce()
2925 } else if (queue < vsi->num_queue_pairs) { in __i40e_set_coalesce()
2930 vsi->num_queue_pairs - 1); in __i40e_set_coalesce()
2988 for (i = 0; i < vsi->num_queue_pairs; i++) in __i40e_set_coalesce()
[all …]
Di40e_debugfs.c247 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_dbg_dump_vsi_seid()
290 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_dbg_dump_vsi_seid()
329 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_dbg_dump_vsi_seid()
384 vsi->base_queue, vsi->num_queue_pairs, vsi->num_tx_desc, in i40e_dbg_dump_vsi_seid()
568 if (ring_id >= vsi->num_queue_pairs || ring_id < 0) { in i40e_dbg_dump_desc()
744 vf_id, vf->lan_vsi_id, vsi->seid, vf->num_queue_pairs); in i40e_dbg_dump_vf()
Di40e.h410 u16 num_queue_pairs; /* Requested by user */ member
800 u16 num_queue_pairs; /* Used tx and rx pairs */ member
Di40e_txrx.c741 for (i = 0; i < vsi->num_queue_pairs; i++) { in i40e_detect_recover_hung()
3794 if (!i40e_enabled_xdp_vsi(vsi) || queue_index >= vsi->num_queue_pairs || in i40e_xdp_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c164 if (adapter->vf_res->num_queue_pairs > IAVF_MAX_REQ_QUEUES) { in iavf_validate_num_queues()
169 adapter->vf_res->num_queue_pairs, in iavf_validate_num_queues()
173 adapter->vf_res->num_queue_pairs = IAVF_MAX_REQ_QUEUES; in iavf_validate_num_queues()
176 vsi_res->num_queue_pairs = IAVF_MAX_REQ_QUEUES; in iavf_validate_num_queues()
270 vqci->num_queue_pairs = pairs; in iavf_configure_queues()
1506 if (vfres->num_queue_pairs != adapter->num_req_queues) { in iavf_virtchnl_completion()
1510 vfres->num_queue_pairs); in iavf_virtchnl_completion()
Diavf_ethtool.c916 ch->max_combined = adapter->vsi_res->num_queue_pairs; in iavf_get_channels()
949 if (num_req == 0 || num_req > adapter->vsi_res->num_queue_pairs) in iavf_set_channels()
Diavf_common.c927 hw->dev_caps.num_rx_qp = msg->num_queue_pairs; in iavf_vf_parse_hw_config()
928 hw->dev_caps.num_tx_qp = msg->num_queue_pairs; in iavf_vf_parse_hw_config()
Diavf_main.c1125 adapter->vsi_res->num_queue_pairs, in iavf_alloc_queues()
3525 num_req_queues > adapter->vsi_res->num_queue_pairs) { in iavf_process_config()
3533 adapter->vsi_res->num_queue_pairs); in iavf_process_config()
3535 adapter->num_req_queues = adapter->vsi_res->num_queue_pairs; in iavf_process_config()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c1988 vfres->num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()
1996 vfres->vsi_res[0].num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()
2956 if (qci->num_queue_pairs > ICE_MAX_RSS_QS_PER_VF || in ice_vc_cfg_qs_msg()
2957 qci->num_queue_pairs > min_t(u16, vsi->alloc_txq, vsi->alloc_rxq)) { in ice_vc_cfg_qs_msg()
2964 for (i = 0; i < qci->num_queue_pairs; i++) { in ice_vc_cfg_qs_msg()
3256 u16 req_queues = vfres->num_queue_pairs; in ice_vc_request_qs_msg()
3279 vfres->num_queue_pairs = ICE_MAX_RSS_QS_PER_VF; in ice_vc_request_qs_msg()
3284 vfres->num_queue_pairs = min_t(u16, max_allowed_vf_queues, in ice_vc_request_qs_msg()