Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_ethtool.c86 int start_qidx = qset * pfvf->hw.rx_queues; in otx2_get_qset_strings()
89 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) in otx2_get_qset_strings()
143 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_stats()
267 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels()
282 if (bitmap_weight(&pfvf->rq_bmap, pfvf->hw.rx_queues) > 1) { in otx2_set_channels()
299 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels()
308 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
738 nfc->data = pfvf->hw.rx_queues; in otx2_get_rxnfc()
811 queues = pfvf->hw.rx_queues; in otx2_create_rxfh()
912 int idx, rx_queues; in otx2_get_rxfh() local
[all …]
A Dotx2_xsk.c121 u16 rx_queues = pf->hw.rx_queues; in otx2_xsk_pool_enable() local
125 if (qidx >= rx_queues || qidx >= tx_queues) in otx2_xsk_pool_enable()
178 if (queue_id >= pf->hw.rx_queues || queue_id >= pf->hw.tx_queues) in otx2_xsk_wakeup()
A Dcn10k.c95 aq->sq.cq = pfvf->hw.rx_queues + qidx; in cn10k_sq_aq_init()
370 for (qidx = 0; qidx < hw->rx_queues; qidx++) { in cn10k_free_matchall_ipolicer()
500 for (qidx = 0; qidx < hw->rx_queues; qidx++) { in cn10k_set_matchall_ipolicer_rate()
A Dotx2_pf.c1320 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1331 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues()
1626 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources()
1958 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_alloc_queue_mem()
1999 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open()
2001 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open()
2004 (qidx + pf->hw.rx_queues + in otx2_open()
2011 (qidx + pf->hw.rx_queues + in otx2_open()
2842 bpf_prog_add(pf->xdp_prog, pf->hw.rx_queues - 1); in otx2_xdp_setup()
2848 pf->hw.xdp_queues = pf->hw.rx_queues; in otx2_xdp_setup()
[all …]
A Dotx2_common.c405 pfvf->hw.rx_queues); in otx2_rss_init()
934 aq->sq.cq = pfvf->hw.rx_queues + qidx; in otx2_sq_aq_init()
1059 non_xdp_queues = pfvf->hw.rx_queues + pfvf->hw.tx_queues; in otx2_cq_init()
1060 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
1080 cq->cint_idx = qidx - pfvf->hw.rx_queues; in otx2_cq_init()
1108 (pfvf->hw.rqpool_cnt != pfvf->hw.rx_queues)) ? 0 : qidx; in otx2_cq_init()
1126 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
1176 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_config_nix_queues()
1231 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix()
1620 for (rq = 0; rq < hw->rx_queues; rq++) { in otx2_rq_aura_pool_init()
A Drep.c505 (qidx < hw->rx_queues) ? qidx : CINT_INVALID_CQ; in rvu_rep_napi_init()
507 qidx + hw->rx_queues : in rvu_rep_napi_init()
746 priv->hw.rx_queues = rsp->rep_cnt; in rvu_get_rep_cnt()
A Dqos_sq.c304 cq = &qset->cq[pfvf->hw.rx_queues + sq_idx]; in otx2_qos_disable_sq()
A Dotx2_dcbnl.c481 pfvf->queue_to_pfc_map = devm_kzalloc(pfvf->dev, pfvf->hw.rx_queues, in otx2_dcbnl_set_ops()
A Dotx2_txrx.c474 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
525 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
1329 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_cleanup_tx_cqes()
A Dotx2_common.h198 u16 rx_queues; member
1099 int tx_queues, int rx_queues);
A Dotx2_tc.c338 rq_idx = find_first_zero_bit(&nic->rq_bmap, hw->rx_queues); in otx2_tc_act_set_police()
339 if (rq_idx >= hw->rx_queues) { in otx2_tc_act_set_police()
A Dotx2_vf.c608 hw->rx_queues = qcount; in otx2vf_probe()
/drivers/net/ethernet/cavium/thunder/
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 …]
A Dnicvf_ethtool.c552 info->data = nic->rx_queues; in nicvf_get_rxnfc()
709 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()
A Dnic.h307 u8 rx_queues; member
628 int tx_queues, int rx_queues);
/drivers/net/ethernet/broadcom/genet/
A Dbcmgenet.c693 q = priv->hw_params->rx_queues + 1; in bcmgenet_hfb_create_rxnfc_filter()
844 for (i = 0; i <= priv->hw_params->rx_queues; i++) { in bcmgenet_get_coalesce()
922 for (i = 0; i <= priv->hw_params->rx_queues; i++) in bcmgenet_set_coalesce()
1654 cmd->data = priv->hw_params->rx_queues ?: 1; in bcmgenet_get_rxnfc()
3691 .rx_queues = 0,
3708 .rx_queues = 0,
3726 .rx_queues = 0,
3744 .rx_queues = 0,
3853 params->rx_queues, params->rx_bds_per_q, in bcmgenet_set_hw_params()
4092 for (i = 0; i <= priv->hw_params->rx_queues; i++) in bcmgenet_probe()
[all …]
A Dbcmgenet.h516 u8 rx_queues; member
/drivers/net/ethernet/pensando/ionic/
A Dionic_stats.c237 u64 total = 0, tx_queues = MAX_Q(lif), rx_queues = MAX_Q(lif); in ionic_sw_stats_get_count() local
243 rx_queues += 1; in ionic_sw_stats_get_count()
249 total += rx_queues * IONIC_NUM_RX_STATS; in ionic_sw_stats_get_count()
/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac4_core.c704 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
735 for (queue = 0; queue < rx_queues; queue++) { in dwmac4_debug()
A Ddwmac1000_core.c404 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
/drivers/net/vmxnet3/
A Dvmxnet3_drv.c4320 int num_rx_queues, rx_queues; in vmxnet3_remove_device() local
4337 rx_queues = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_CMD); in vmxnet3_remove_device()
4339 if (rx_queues > 0) in vmxnet3_remove_device()
4340 rx_queues = (rx_queues >> 8) & 0xff; in vmxnet3_remove_device()
4342 rx_queues = min(num_rx_queues, VMXNET3_DEVICE_DEFAULT_RX_QUEUES); in vmxnet3_remove_device()
4343 num_rx_queues = min(num_rx_queues, rx_queues); in vmxnet3_remove_device()
/drivers/net/ethernet/ibm/
A Dibmvnic.h916 u64 rx_queues; member
A Dibmvnic.c3612 adapter->fallback.rx_queues = adapter->req_rx_queues; in wait_for_reset()
3635 adapter->desired.rx_queues = adapter->fallback.rx_queues; in wait_for_reset()
3816 adapter->desired.rx_queues = channels->rx_count; in ibmvnic_set_channels()
4569 if (adapter->desired.rx_queues) in send_request_cap()
4571 adapter->desired.rx_queues; in send_request_cap()
/drivers/net/ethernet/intel/ice/
A Dice_virtchnl.c1417 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps()
1418 vqs->rx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF) || in ice_vc_validate_vqs_bitmaps()
1512 q_map = vqs->rx_queues; in ice_vc_ena_qs_msg()
1652 q_map = vqs->rx_queues; in ice_vc_dis_qs_msg()
/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_main.c2235 u8 tx_queues, u8 rx_queues) in qlcnic_set_real_num_queues() argument
2249 if (rx_queues) { in qlcnic_set_real_num_queues()
2250 err = netif_set_real_num_rx_queues(netdev, rx_queues); in qlcnic_set_real_num_queues()
2253 rx_queues); in qlcnic_set_real_num_queues()

Completed in 115 milliseconds

12