/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 80 int start_qidx = qset * pfvf->hw.rx_queues; in otx2_get_qset_strings() 83 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_strings() 140 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_stats() 197 (pfvf->hw.rx_queues + pfvf->hw.tx_queues); in otx2_get_sset_count() 212 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels() 235 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels() 237 pfvf->qset.cq_cnt = pfvf->hw.tx_queues + pfvf->hw.rx_queues; in otx2_set_channels() 244 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels() 551 nfc->data = pfvf->hw.rx_queues; in otx2_get_rxnfc() 794 (vf->hw.rx_queues + vf->hw.tx_queues); in otx2vf_get_sset_count()
|
D | otx2_common.c | 348 pfvf->hw.rx_queues); in otx2_rss_init() 788 aq->sq.cq = pfvf->hw.rx_queues + qidx; in otx2_sq_init() 822 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init() 828 cq->cint_idx = qidx - pfvf->hw.rx_queues; in otx2_cq_init() 844 (pfvf->hw.rqpool_cnt != pfvf->hw.rx_queues)) ? 0 : qidx; in otx2_cq_init() 862 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init() 926 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_config_nix_queues() 978 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix() 1273 for (rq = 0; rq < hw->rx_queues; rq++) { in otx2_rq_aura_pool_init()
|
D | otx2_pf.c | 1116 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument 1127 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues() 1130 "Failed to set no of Rx queues: %d\n", rx_queues); in otx2_set_real_num_queues() 1290 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources() 1454 pf->qset.cq_cnt = pf->hw.rx_queues + pf->hw.tx_queues; in otx2_open() 1458 pf->hw.cint_cnt = max(pf->hw.rx_queues, pf->hw.tx_queues); in otx2_open() 1479 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_open() 1497 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open() 1499 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open() 2020 hw->rx_queues = qcount; in otx2_probe() [all …]
|
D | otx2_common.h | 158 u16 rx_queues; member 644 int tx_queues, int rx_queues);
|
D | otx2_vf.c | 496 hw->rx_queues = qcount; in otx2vf_probe()
|
/Linux-v5.10/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_main.c | 396 nic->rx_queues); in nicvf_rss_init() 407 int rx_queues = 0, tx_queues = 0; in nicvf_request_sqs() local 426 if (nic->rx_queues > MAX_RCV_QUEUES_PER_QS) in nicvf_request_sqs() 427 rx_queues = nic->rx_queues - MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs() 441 if (rx_queues > MAX_RCV_QUEUES_PER_QS) { in nicvf_request_sqs() 443 rx_queues -= MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs() 445 nic->snicvf[sqs]->qs->rq_cnt = rx_queues; in nicvf_request_sqs() 446 rx_queues = 0; in nicvf_request_sqs() 467 nic->tx_queues, nic->rx_queues); in nicvf_request_sqs() 493 int tx_queues, int rx_queues) in nicvf_set_real_num_queues() argument [all …]
|
D | nicvf_ethtool.c | 545 info->data = nic->rx_queues; in nicvf_get_rxnfc() 711 channel->rx_count = nic->rx_queues; in nicvf_get_channels() 742 nic->rx_queues = channel->rx_count; in nicvf_set_channels() 750 cqcount = max(nic->rx_queues, txq_count); in nicvf_set_channels() 759 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_channels() 763 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels() 771 nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
|
D | nic.h | 307 u8 rx_queues; member 628 int tx_queues, int rx_queues);
|
D | nicvf_queues.c | 1056 nic->rx_queues = qs->rq_cnt; in nicvf_set_qset_resources()
|
/Linux-v5.10/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q) 846 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_get_coalesce() 927 for (i = 0; i < priv->hw_params->rx_queues; i++) in bcmgenet_set_coalesce() 1416 if (cmd->fs.ring_cookie > priv->hw_params->rx_queues && in bcmgenet_insert_flow() 1536 cmd->data = priv->hw_params->rx_queues ?: 1; in bcmgenet_get_rxnfc() 2797 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_enable_rx_napi() 2813 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_disable_rx_napi() 2829 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_fini_rx_napi() 2863 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_init_rx_queues() 2878 priv->hw_params->rx_queues * in bcmgenet_init_rx_queues() [all …]
|
D | bcmgenet.h | 540 u8 rx_queues; member
|
/Linux-v5.10/include/linux/avf/ |
D | virtchnl.h | 388 u32 rx_queues; member
|
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000_core.c | 427 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
|
D | dwmac4_core.c | 867 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument 897 for (queue = 0; queue < rx_queues; queue++) { in dwmac4_debug()
|
D | hwif.h | 343 u32 rx_queues, u32 tx_queues);
|
/Linux-v5.10/drivers/net/ethernet/intel/iavf/ |
D | iavf_virtchnl.c | 313 vqs.rx_queues = vqs.tx_queues; in iavf_enable_queues() 338 vqs.rx_queues = vqs.tx_queues; in iavf_disable_queues()
|
/Linux-v5.10/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl_pf.c | 2500 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps() 2501 vqs->rx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF) || in ice_vc_validate_vqs_bitmaps() 2596 q_map = vqs->rx_queues; in ice_vc_ena_qs_msg() 2715 q_map = vqs->rx_queues; in ice_vc_dis_qs_msg()
|
/Linux-v5.10/drivers/net/ethernet/ibm/ |
D | ibmvnic.c | 2490 adapter->fallback.rx_queues = adapter->req_rx_queues; in wait_for_reset() 2513 adapter->desired.rx_queues = adapter->fallback.rx_queues; in wait_for_reset() 2704 adapter->desired.rx_queues = channels->rx_count; in ibmvnic_set_channels() 3435 if (adapter->desired.rx_queues) in send_request_cap() 3437 adapter->desired.rx_queues; in send_request_cap()
|
D | ibmvnic.h | 960 u64 rx_queues; member
|
/Linux-v5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 2387 if ((!vqs->rx_queues && !vqs->tx_queues) || in i40e_vc_validate_vqs_bitmaps() 2388 vqs->rx_queues >= BIT(I40E_MAX_VF_QUEUES) || in i40e_vc_validate_vqs_bitmaps() 2426 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_enable_queues_msg() 2493 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_disable_queues_msg()
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 2240 u8 tx_queues, u8 rx_queues) in qlcnic_set_real_num_queues() argument 2254 if (rx_queues) { in qlcnic_set_real_num_queues() 2255 err = netif_set_real_num_rx_queues(netdev, rx_queues); in qlcnic_set_real_num_queues() 2258 rx_queues); in qlcnic_set_real_num_queues()
|
/Linux-v5.10/drivers/net/ethernet/freescale/ |
D | gianfar.c | 681 u32 tx_queues, rx_queues; in gfar_of_init() local 690 &rx_queues); in gfar_of_init() 691 num_rx_qs = ret ? 1 : rx_queues; in gfar_of_init()
|