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

/linux-master/include/linux/avf/
H A Dvirtchnl.h226 u16 num_queue_pairs; member in struct:virtchnl_vsi_resource
270 u16 num_queue_pairs; member in struct:virtchnl_vf_resource
355 u16 num_queue_pairs; member in struct:virtchnl_vsi_queue_config_info
375 u16 num_queue_pairs; member in struct:virtchnl_vf_res_request
1472 vqc->num_queue_pairs);
1473 if (vqc->num_queue_pairs == 0)
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.h93 u8 num_queue_pairs; /* num of qps assigned to VF vsis */ member in struct:i40e_vf
H A Di40e_virtchnl_pf.c1034 if (vf->num_queue_pairs > I40E_DEFAULT_QUEUES_PER_VF) {
1035 pf->queues_left += vf->num_queue_pairs -
1089 vf->num_queue_pairs = 0;
1154 vf->num_queue_pairs = total_queue_pairs;
2202 vfres->num_queue_pairs = vf->num_queue_pairs;
2211 vfres->vsi_res[0].num_queue_pairs = vsi->alloc_queue_pairs;
2348 if (qci->num_queue_pairs > I40E_MAX_VF_QUEUES) {
2356 if (num_qps_all != qci->num_queue_pairs) {
2364 for (i = 0; i < qci->num_queue_pairs;
[all...]
H A Di40e_main.c358 for (i = 0; i < vsi->num_queue_pairs; i++) {
476 for (i = 0; i < vsi->num_queue_pairs; i++) {
536 for (i = 0; i < vsi->num_queue_pairs; i++) {
903 for (q = 0; q < vsi->num_queue_pairs; q++) {
1900 vsi->num_queue_pairs);
1978 vsi->num_queue_pairs = offset + qcount;
2003 if (override_q && override_q < vsi->num_queue_pairs) {
2004 vsi->cnt_q_avail = vsi->num_queue_pairs - override_q;
2050 vsi->num_queue_pairs = vsi->req_queue_pairs;
2052 vsi->num_queue_pairs
[all...]
H A Di40e_xsk.c92 if (qid >= vsi->num_queue_pairs)
730 if (queue_id >= vsi->num_queue_pairs)
807 for (i = 0; i < vsi->num_queue_pairs; i++) {
H A Di40e_ethtool.c2047 return index < vsi->num_queue_pairs ||
2049 index < vsi->alloc_queue_pairs + vsi->num_queue_pairs);
2052 return index < vsi->num_queue_pairs;
2109 for (i = 0; i < vsi->num_queue_pairs; i++) {
2178 for (i = 0; i < vsi->num_queue_pairs; i++) {
2234 for (i = 0; i < vsi->num_queue_pairs; i++) {
2901 else if (queue >= vsi->num_queue_pairs)
3034 } else if (queue < vsi->num_queue_pairs) {
3039 vsi->num_queue_pairs - 1);
3097 for (i = 0; i < vsi->num_queue_pairs;
[all...]
H A Di40e_debugfs.c229 for (i = 0; i < vsi->num_queue_pairs; i++) {
271 for (i = 0; i < vsi->num_queue_pairs; i++) {
311 for (i = 0; i < vsi->num_queue_pairs; i++) {
365 " base_queue = %d, num_queue_pairs = %d, num_tx_desc = %d, num_rx_desc = %d\n",
366 vsi->base_queue, vsi->num_queue_pairs, vsi->num_tx_desc,
550 if (ring_id >= vsi->num_queue_pairs || ring_id < 0) {
721 vf_id, vf->lan_vsi_id, vsi->seid, vf->num_queue_pairs);
H A Di40e.h436 u16 num_queue_pairs; /* Requested by user */ member in struct:i40e_channel
877 u16 num_queue_pairs; /* Used tx and rx pairs */ member in struct:i40e_vsi
H A Di40e_txrx.c888 for (i = 0; i < vsi->num_queue_pairs; i++) {
4058 if (!i40e_enabled_xdp_vsi(vsi) || queue_index >= vsi->num_queue_pairs ||
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_virtchnl.c185 if (adapter->vf_res->num_queue_pairs > IAVF_MAX_REQ_QUEUES) {
190 adapter->vf_res->num_queue_pairs,
194 adapter->vf_res->num_queue_pairs = IAVF_MAX_REQ_QUEUES;
197 vsi_res->num_queue_pairs = IAVF_MAX_REQ_QUEUES;
297 vqci->num_queue_pairs = pairs;
2416 if (vfres->num_queue_pairs != adapter->num_req_queues) {
2420 vfres->num_queue_pairs);
H A Diavf_common.c748 hw->dev_caps.num_rx_qp = msg->num_queue_pairs;
749 hw->dev_caps.num_tx_qp = msg->num_queue_pairs;
H A Diavf_ethtool.c1832 ch->max_combined = adapter->vsi_res->num_queue_pairs;
1865 if (num_req == 0 || num_req > adapter->vsi_res->num_queue_pairs)
H A Diavf_main.c1588 adapter->vsi_res->num_queue_pairs,
2434 num_req_queues > adapter->vsi_res->num_queue_pairs) {
2442 adapter->vsi_res->num_queue_pairs);
2444 adapter->num_req_queues = adapter->vsi_res->num_queue_pairs;
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl.c496 vfres->num_queue_pairs = vsi->num_txq;
504 vfres->vsi_res[0].num_queue_pairs = vsi->num_txq;
1675 if (qci->num_queue_pairs > ICE_MAX_RSS_QS_PER_VF ||
1676 qci->num_queue_pairs > min_t(u16, vsi->alloc_txq, vsi->alloc_rxq)) {
1682 for (i = 0; i < qci->num_queue_pairs; i++) {
1691 for (i = 0; i < qci->num_queue_pairs; i++) {
2160 u16 req_queues = vfres->num_queue_pairs;
2183 vfres->num_queue_pairs = ICE_MAX_RSS_QS_PER_VF;
2188 vfres->num_queue_pairs = min_t(u16, max_allowed_vf_queues,

Completed in 231 milliseconds