Home
last modified time | relevance | path

Searched refs:rx_queues (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c80 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()
Dotx2_common.c348 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()
Dotx2_pf.c1116 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 …]
Dotx2_common.h158 u16 rx_queues; member
644 int tx_queues, int rx_queues);
Dotx2_vf.c496 hw->rx_queues = qcount; in otx2vf_probe()
/Linux-v5.10/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c396 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 …]
Dnicvf_ethtool.c545 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()
Dnic.h307 u8 rx_queues; member
628 int tx_queues, int rx_queues);
Dnicvf_queues.c1056 nic->rx_queues = qs->rq_cnt; in nicvf_set_qset_resources()
/Linux-v5.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c51 (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 …]
Dbcmgenet.h540 u8 rx_queues; member
/Linux-v5.10/include/linux/avf/
Dvirtchnl.h388 u32 rx_queues; member
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c427 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
Ddwmac4_core.c867 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
897 for (queue = 0; queue < rx_queues; queue++) { in dwmac4_debug()
Dhwif.h343 u32 rx_queues, u32 tx_queues);
/Linux-v5.10/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c313 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/
Dice_virtchnl_pf.c2500 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/
Dibmvnic.c2490 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()
Dibmvnic.h960 u64 rx_queues; member
/Linux-v5.10/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c2387 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/
Dqlcnic_main.c2240 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/
Dgianfar.c681 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()