Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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()
157 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_stats()
263 (pfvf->hw.rx_queues + otx2_get_total_tx_queues(pfvf)); in otx2_get_sset_count()
281 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels()
296 if (bitmap_weight(&pfvf->rq_bmap, pfvf->hw.rx_queues) > 1) { in otx2_set_channels()
313 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels()
322 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
744 nfc->data = pfvf->hw.rx_queues; in otx2_get_rxnfc()
894 int idx, rx_queues; in otx2_get_rxfh_context() local
[all …]
H A Dcn10k.c85 aq->sq.cq = pfvf->hw.rx_queues + qidx; in cn10k_sq_aq_init()
355 for (qidx = 0; qidx < hw->rx_queues; qidx++) in cn10k_free_matchall_ipolicer()
482 for (qidx = 0; qidx < hw->rx_queues; qidx++) { in cn10k_set_matchall_ipolicer_rate()
H A Dotx2_pf.c1197 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1208 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues()
1211 "Failed to set no of Rx queues: %d\n", rx_queues); in otx2_set_real_num_queues()
1496 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources()
1657 for (qidx = 0; qidx < pf->hw.rx_queues; qidx++) { in otx2_free_hw_resources()
1791 pf->hw.cint_cnt = max3(pf->hw.rx_queues, pf->hw.tx_queues, in otx2_open()
1794 pf->qset.cq_cnt = pf->hw.rx_queues + otx2_get_total_tx_queues(pf); in otx2_open()
1816 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_open()
1835 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open()
1837 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open()
[all …]
H A Dotx2_common.c399 pfvf->hw.rx_queues); in otx2_rss_init()
899 aq->sq.cq = pfvf->hw.rx_queues + qidx; in otx2_sq_aq_init()
994 non_xdp_queues = pfvf->hw.rx_queues + pfvf->hw.tx_queues; in otx2_cq_init()
995 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
1003 cq->cint_idx = qidx - pfvf->hw.rx_queues; in otx2_cq_init()
1031 (pfvf->hw.rqpool_cnt != pfvf->hw.rx_queues)) ? 0 : qidx; in otx2_cq_init()
1049 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
1099 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_config_nix_queues()
1154 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix()
1511 for (rq = 0; rq < hw->rx_queues; rq++) { in otx2_rq_aura_pool_init()
H A Dotx2_txrx.c462 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
473 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
496 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
1262 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_cleanup_tx_cqes()
H A Dqos_sq.c283 cq = &qset->cq[pfvf->hw.rx_queues + sq_idx]; in otx2_qos_disable_sq()
H A Dotx2_dcbnl.c478 pfvf->queue_to_pfc_map = devm_kzalloc(pfvf->dev, pfvf->hw.rx_queues, in otx2_dcbnl_set_ops()
H A Dotx2_common.h206 u16 rx_queues; member
1037 int tx_queues, int rx_queues);
H A Dotx2_tc.c333 rq_idx = find_first_zero_bit(&nic->rq_bmap, hw->rx_queues); in otx2_tc_act_set_police()
334 if (rq_idx >= hw->rx_queues) { in otx2_tc_act_set_police()
H A Dotx2_vf.c582 hw->rx_queues = qcount; in otx2vf_probe()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c395 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 …]
H A Dnicvf_ethtool.c552 info->data = nic->rx_queues; in nicvf_get_rxnfc()
718 channel->rx_count = nic->rx_queues; in nicvf_get_channels()
754 nic->rx_queues = channel->rx_count; in nicvf_set_channels()
762 cqcount = max(nic->rx_queues, txq_count); in nicvf_set_channels()
771 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_channels()
775 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
783 nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
H A Dnic.h307 u8 rx_queues; member
628 int tx_queues, int rx_queues);
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_stats.c219 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()
/openbmc/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q)
830 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_get_coalesce()
913 for (i = 0; i < priv->hw_params->rx_queues; i++) in bcmgenet_set_coalesce()
1442 if (cmd->fs.ring_cookie > priv->hw_params->rx_queues && in bcmgenet_insert_flow()
1584 cmd->data = priv->hw_params->rx_queues ?: 1; in bcmgenet_get_rxnfc()
2867 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_enable_rx_napi()
2883 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_disable_rx_napi()
2899 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_fini_rx_napi()
2933 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_init_rx_queues()
2948 priv->hw_params->rx_queues * in bcmgenet_init_rx_queues()
[all …]
H A Dbcmgenet.h486 u8 rx_queues; member
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac1000_core.c419 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
H A Ddwmac4_core.c883 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
914 for (queue = 0; queue < rx_queues; queue++) { in dwmac4_debug()
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c4146 int num_rx_queues, rx_queues; in vmxnet3_remove_device() local
4163 rx_queues = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_CMD); in vmxnet3_remove_device()
4165 if (rx_queues > 0) in vmxnet3_remove_device()
4166 rx_queues = (rx_queues >> 8) & 0xff; in vmxnet3_remove_device()
4168 rx_queues = min(num_rx_queues, VMXNET3_DEVICE_DEFAULT_RX_QUEUES); in vmxnet3_remove_device()
4169 num_rx_queues = min(num_rx_queues, rx_queues); in vmxnet3_remove_device()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl.c1164 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps()
1165 vqs->rx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF) || in ice_vc_validate_vqs_bitmaps()
1259 q_map = vqs->rx_queues; in ice_vc_ena_qs_msg()
1400 q_map = vqs->rx_queues; in ice_vc_dis_qs_msg()
/openbmc/linux/include/linux/avf/
H A Dvirtchnl.h422 u32 rx_queues; member
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.h912 u64 rx_queues; member
H A Dibmvnic.c3616 adapter->fallback.rx_queues = adapter->req_rx_queues; in wait_for_reset()
3639 adapter->desired.rx_queues = adapter->fallback.rx_queues; in wait_for_reset()
3819 adapter->desired.rx_queues = channels->rx_count; in ibmvnic_get_strings()
4586 if (adapter->desired.rx_queues) in send_request_cap()
4588 adapter->desired.rx_queues; in send_request_cap()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c2587 if ((!vqs->rx_queues && !vqs->tx_queues) || in i40e_vc_validate_vqs_bitmaps()
2588 vqs->rx_queues >= BIT(I40E_MAX_VF_QUEUES) || in i40e_vc_validate_vqs_bitmaps()
2634 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_enable_queues_msg()
2696 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_disable_queues_msg()

12