Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c85 int start_qidx = qset * pfvf->hw.rx_queues; in otx2_get_qset_strings()
88 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_strings()
149 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_stats()
251 (pfvf->hw.rx_queues + pfvf->hw.tx_queues); in otx2_get_sset_count()
268 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels()
283 if (bitmap_weight(&pfvf->rq_bmap, pfvf->hw.rx_queues) > 1) { in otx2_set_channels()
297 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels()
299 pfvf->qset.cq_cnt = pfvf->hw.tx_queues + pfvf->hw.rx_queues; in otx2_set_channels()
305 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
652 nfc->data = pfvf->hw.rx_queues; in otx2_get_rxnfc()
[all …]
Dcn10k.c85 aq->sq.cq = pfvf->hw.rx_queues + qidx; in cn10k_sq_aq_init()
349 for (qidx = 0; qidx < hw->rx_queues; qidx++) in cn10k_free_matchall_ipolicer()
473 for (qidx = 0; qidx < hw->rx_queues; qidx++) { in cn10k_set_matchall_ipolicer_rate()
Dotx2_common.c389 pfvf->hw.rx_queues); in otx2_rss_init()
797 aq->sq.cq = pfvf->hw.rx_queues + qidx; in otx2_sq_aq_init()
880 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
886 cq->cint_idx = qidx - pfvf->hw.rx_queues; in otx2_cq_init()
902 (pfvf->hw.rqpool_cnt != pfvf->hw.rx_queues)) ? 0 : qidx; in otx2_cq_init()
920 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
985 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_config_nix_queues()
1037 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix()
1346 for (rq = 0; rq < hw->rx_queues; rq++) { in otx2_rq_aura_pool_init()
Dotx2_pf.c1132 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1143 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues()
1146 "Failed to set no of Rx queues: %d\n", rx_queues); in otx2_set_real_num_queues()
1334 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources()
1506 pf->qset.cq_cnt = pf->hw.rx_queues + pf->hw.tx_queues; in otx2_open()
1510 pf->hw.cint_cnt = max(pf->hw.rx_queues, pf->hw.tx_queues); in otx2_open()
1531 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_open()
1549 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open()
1551 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open()
2490 hw->rx_queues = qcount; in otx2_probe()
[all …]
Dotx2_common.h172 u16 rx_queues; member
827 int tx_queues, int rx_queues);
Dotx2_tc.c262 rq_idx = find_first_zero_bit(&nic->rq_bmap, hw->rx_queues); in otx2_tc_act_set_police()
263 if (rq_idx >= hw->rx_queues) { in otx2_tc_act_set_police()
Dotx2_vf.c583 hw->rx_queues = qcount; in otx2vf_probe()
Dotx2_flows.c1009 if (ring >= pfvf->hw.rx_queues && fsp->ring_cookie != RX_CLS_FLOW_DISC) in otx2_add_flow()
/Linux-v5.15/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.c548 info->data = nic->rx_queues; in nicvf_get_rxnfc()
714 channel->rx_count = nic->rx_queues; in nicvf_get_channels()
745 nic->rx_queues = channel->rx_count; in nicvf_set_channels()
753 cqcount = max(nic->rx_queues, txq_count); in nicvf_set_channels()
762 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_channels()
766 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
774 nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
Dnic.h307 u8 rx_queues; member
628 int tx_queues, int rx_queues);
/Linux-v5.15/drivers/net/ethernet/pensando/ionic/
Dionic_stats.c242 u64 total = 0, tx_queues = MAX_Q(lif), rx_queues = MAX_Q(lif); in ionic_sw_stats_get_count() local
248 rx_queues += 1; in ionic_sw_stats_get_count()
254 total += rx_queues * IONIC_NUM_RX_STATS; in ionic_sw_stats_get_count()
265 total += rx_queues * (IONIC_NUM_DBG_CQ_STATS + in ionic_sw_stats_get_count()
/Linux-v5.15/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q)
848 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_get_coalesce()
931 for (i = 0; i < priv->hw_params->rx_queues; i++) in bcmgenet_set_coalesce()
1420 if (cmd->fs.ring_cookie > priv->hw_params->rx_queues && in bcmgenet_insert_flow()
1540 cmd->data = priv->hw_params->rx_queues ?: 1; in bcmgenet_get_rxnfc()
2802 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_enable_rx_napi()
2818 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_disable_rx_napi()
2834 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_fini_rx_napi()
2868 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_init_rx_queues()
2883 priv->hw_params->rx_queues * in bcmgenet_init_rx_queues()
[all …]
Dbcmgenet.h485 u8 rx_queues; member
/Linux-v5.15/drivers/net/vmxnet3/
Dvmxnet3_drv.c3722 int num_rx_queues, rx_queues; in vmxnet3_remove_device() local
3739 rx_queues = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_CMD); in vmxnet3_remove_device()
3741 if (rx_queues > 0) in vmxnet3_remove_device()
3742 rx_queues = (rx_queues >> 8) & 0xff; in vmxnet3_remove_device()
3744 rx_queues = min(num_rx_queues, VMXNET3_DEVICE_DEFAULT_RX_QUEUES); in vmxnet3_remove_device()
3745 num_rx_queues = min(num_rx_queues, rx_queues); in vmxnet3_remove_device()
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c427 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
Ddwmac4_core.c893 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
923 for (queue = 0; queue < rx_queues; queue++) { in dwmac4_debug()
Dhwif.h344 u32 rx_queues, u32 tx_queues);
/Linux-v5.15/include/linux/avf/
Dvirtchnl.h397 u32 rx_queues; member
/Linux-v5.15/drivers/net/ethernet/ibm/
Dibmvnic.h871 u64 rx_queues; member
Dibmvnic.c2759 adapter->fallback.rx_queues = adapter->req_rx_queues; in wait_for_reset()
2782 adapter->desired.rx_queues = adapter->fallback.rx_queues; in wait_for_reset()
2973 adapter->desired.rx_queues = channels->rx_count; in ibmvnic_set_channels()
3724 if (adapter->desired.rx_queues) in send_request_cap()
3726 adapter->desired.rx_queues; in send_request_cap()
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c316 vqs.rx_queues = vqs.tx_queues; in iavf_enable_queues()
341 vqs.rx_queues = vqs.tx_queues; in iavf_disable_queues()
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c3147 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps()
3148 vqs->rx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF) || in ice_vc_validate_vqs_bitmaps()
3242 q_map = vqs->rx_queues; in ice_vc_ena_qs_msg()
3359 q_map = vqs->rx_queues; in ice_vc_dis_qs_msg()
/Linux-v5.15/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_main.c2236 u8 tx_queues, u8 rx_queues) in qlcnic_set_real_num_queues() argument
2250 if (rx_queues) { in qlcnic_set_real_num_queues()
2251 err = netif_set_real_num_rx_queues(netdev, rx_queues); in qlcnic_set_real_num_queues()
2254 rx_queues); in qlcnic_set_real_num_queues()
/Linux-v5.15/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c2461 if ((!vqs->rx_queues && !vqs->tx_queues) || in i40e_vc_validate_vqs_bitmaps()
2462 vqs->rx_queues >= BIT(I40E_MAX_VF_QUEUES) || in i40e_vc_validate_vqs_bitmaps()
2500 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_enable_queues_msg()
2562 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_disable_queues_msg()

12