/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 85 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() 151 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_stats() 257 (pfvf->hw.rx_queues + pfvf->hw.tx_queues); in otx2_get_sset_count() 275 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels() 290 if (bitmap_weight(&pfvf->rq_bmap, pfvf->hw.rx_queues) > 1) { in otx2_set_channels() 304 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels() 306 pfvf->qset.cq_cnt = pfvf->hw.tx_queues + pfvf->hw.rx_queues; in otx2_set_channels() 312 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels() 725 nfc->data = pfvf->hw.rx_queues; in otx2_get_rxnfc() [all …]
|
D | cn10k.c | 85 aq->sq.cq = pfvf->hw.rx_queues + qidx; in cn10k_sq_aq_init() 348 for (qidx = 0; qidx < hw->rx_queues; qidx++) in cn10k_free_matchall_ipolicer() 472 for (qidx = 0; qidx < hw->rx_queues; qidx++) { in cn10k_set_matchall_ipolicer_rate()
|
D | otx2_common.c | 392 pfvf->hw.rx_queues); in otx2_rss_init() 841 aq->sq.cq = pfvf->hw.rx_queues + qidx; in otx2_sq_aq_init() 926 non_xdp_queues = pfvf->hw.rx_queues + pfvf->hw.tx_queues; in otx2_cq_init() 927 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init() 935 cq->cint_idx = qidx - pfvf->hw.rx_queues; in otx2_cq_init() 955 (pfvf->hw.rqpool_cnt != pfvf->hw.rx_queues)) ? 0 : qidx; in otx2_cq_init() 973 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init() 1042 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_config_nix_queues() 1097 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix() 1415 for (rq = 0; rq < hw->rx_queues; rq++) { in otx2_rq_aura_pool_init()
|
D | otx2_pf.c | 1156 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument 1167 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues() 1170 "Failed to set no of Rx queues: %d\n", rx_queues); in otx2_set_real_num_queues() 1435 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources() 1691 pf->qset.cq_cnt = pf->hw.rx_queues + pf->hw.tot_tx_queues; in otx2_open() 1695 pf->hw.cint_cnt = max(pf->hw.rx_queues, pf->hw.tx_queues); in otx2_open() 1716 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_open() 1735 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open() 1737 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open() 1740 (qidx + pf->hw.rx_queues + in otx2_open() [all …]
|
D | otx2_common.h | 186 u16 rx_queues; member 971 int tx_queues, int rx_queues);
|
D | otx2_dcbnl.c | 463 pfvf->queue_to_pfc_map = devm_kzalloc(pfvf->dev, pfvf->hw.rx_queues, in otx2_dcbnl_set_ops()
|
D | otx2_tc.c | 334 rq_idx = find_first_zero_bit(&nic->rq_bmap, hw->rx_queues); in otx2_tc_act_set_police() 335 if (rq_idx >= hw->rx_queues) { in otx2_tc_act_set_police()
|
D | otx2_vf.c | 570 hw->rx_queues = qcount; in otx2vf_probe()
|
/linux-6.1.9/drivers/net/ethernet/cavium/thunder/ |
D | nicvf_main.c | 395 nic->rx_queues); in nicvf_rss_init() 406 int rx_queues = 0, tx_queues = 0; in nicvf_request_sqs() local 425 if (nic->rx_queues > MAX_RCV_QUEUES_PER_QS) in nicvf_request_sqs() 426 rx_queues = nic->rx_queues - MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs() 440 if (rx_queues > MAX_RCV_QUEUES_PER_QS) { in nicvf_request_sqs() 442 rx_queues -= MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs() 444 nic->snicvf[sqs]->qs->rq_cnt = rx_queues; in nicvf_request_sqs() 445 rx_queues = 0; in nicvf_request_sqs() 466 nic->tx_queues, nic->rx_queues); in nicvf_request_sqs() 492 int tx_queues, int rx_queues) in nicvf_set_real_num_queues() argument [all …]
|
D | nicvf_ethtool.c | 552 info->data = nic->rx_queues; in nicvf_get_rxnfc() 718 channel->rx_count = nic->rx_queues; in nicvf_get_channels() 749 nic->rx_queues = channel->rx_count; in nicvf_set_channels() 757 cqcount = max(nic->rx_queues, txq_count); in nicvf_set_channels() 766 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_channels() 770 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels() 778 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);
|
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/ |
D | ionic_stats.c | 219 u64 total = 0, tx_queues = MAX_Q(lif), rx_queues = MAX_Q(lif); in ionic_sw_stats_get_count() local 225 rx_queues += 1; in ionic_sw_stats_get_count() 231 total += rx_queues * IONIC_NUM_RX_STATS; in ionic_sw_stats_get_count()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 51 (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() 1462 if (cmd->fs.ring_cookie > priv->hw_params->rx_queues && in bcmgenet_insert_flow() 1582 cmd->data = priv->hw_params->rx_queues ?: 1; in bcmgenet_get_rxnfc() 2853 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_enable_rx_napi() 2869 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_disable_rx_napi() 2885 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_fini_rx_napi() 2919 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_init_rx_queues() 2934 priv->hw_params->rx_queues * in bcmgenet_init_rx_queues() [all …]
|
D | bcmgenet.h | 486 u8 rx_queues; member
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000_core.c | 418 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
|
D | dwmac4_core.c | 901 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument 931 for (queue = 0; queue < rx_queues; queue++) { in dwmac4_debug()
|
D | hwif.h | 341 u32 rx_queues, u32 tx_queues);
|
/linux-6.1.9/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 3972 int num_rx_queues, rx_queues; in vmxnet3_remove_device() local 3989 rx_queues = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_CMD); in vmxnet3_remove_device() 3991 if (rx_queues > 0) in vmxnet3_remove_device() 3992 rx_queues = (rx_queues >> 8) & 0xff; in vmxnet3_remove_device() 3994 rx_queues = min(num_rx_queues, VMXNET3_DEVICE_DEFAULT_RX_QUEUES); in vmxnet3_remove_device() 3995 num_rx_queues = min(num_rx_queues, rx_queues); in vmxnet3_remove_device()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl.c | 1174 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps() 1175 vqs->rx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF) || in ice_vc_validate_vqs_bitmaps() 1269 q_map = vqs->rx_queues; in ice_vc_ena_qs_msg() 1410 q_map = vqs->rx_queues; in ice_vc_dis_qs_msg()
|
/linux-6.1.9/include/linux/avf/ |
D | virtchnl.h | 404 u32 rx_queues; member
|
/linux-6.1.9/drivers/net/ethernet/ibm/ |
D | ibmvnic.h | 910 u64 rx_queues; member
|
D | ibmvnic.c | 3270 adapter->fallback.rx_queues = adapter->req_rx_queues; in wait_for_reset() 3293 adapter->desired.rx_queues = adapter->fallback.rx_queues; in wait_for_reset() 3473 adapter->desired.rx_queues = channels->rx_count; in ibmvnic_set_channels() 4216 if (adapter->desired.rx_queues) in send_request_cap() 4218 adapter->desired.rx_queues; in send_request_cap()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_main.c | 2237 u8 tx_queues, u8 rx_queues) in qlcnic_set_real_num_queues() argument 2251 if (rx_queues) { in qlcnic_set_real_num_queues() 2252 err = netif_set_real_num_rx_queues(netdev, rx_queues); in qlcnic_set_real_num_queues() 2255 rx_queues); in qlcnic_set_real_num_queues()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 2557 if ((!vqs->rx_queues && !vqs->tx_queues) || in i40e_vc_validate_vqs_bitmaps() 2558 vqs->rx_queues >= BIT(I40E_MAX_VF_QUEUES) || in i40e_vc_validate_vqs_bitmaps() 2596 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_enable_queues_msg() 2658 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_disable_queues_msg()
|
/linux-6.1.9/drivers/net/ethernet/intel/iavf/ |
D | iavf_virtchnl.c | 344 vqs.rx_queues = vqs.tx_queues; in iavf_enable_queues() 369 vqs.rx_queues = vqs.tx_queues; in iavf_disable_queues()
|