Home
last modified time | relevance | path

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

12

/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_xsk.c120 u16 rx_queues = pf->hw.rx_queues; in otx2_xsk_pool_enable() local
124 if (qidx >= rx_queues || qidx >= tx_queues) in otx2_xsk_pool_enable()
177 if (queue_id >= pf->hw.rx_queues || queue_id >= pf->hw.tx_queues) in otx2_xsk_wakeup()
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()
142 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_stats()
266 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels()
281 if (bitmap_weight(&pfvf->rq_bmap, pfvf->hw.rx_queues) > 1) { in otx2_set_channels()
298 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels()
307 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
729 nfc->data = pfvf->hw.rx_queues; in otx2_get_rxnfc()
888 int idx, rx_queues; in otx2_get_rxfh() local
900 rx_queues = pfvf->hw.rx_queues; in otx2_get_rxfh()
[all …]
H A Dcn10k.c85 aq->sq.cq = pfvf->hw.rx_queues + qidx; in cn10k_sq_aq_init()
360 for (qidx = 0; qidx < hw->rx_queues; qidx++) in cn10k_free_matchall_ipolicer()
487 for (qidx = 0; qidx < hw->rx_queues; qidx++) { in cn10k_set_matchall_ipolicer_rate()
H A Dotx2_pf.c1231 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1242 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues()
1537 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources()
1869 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_alloc_queue_mem()
1910 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open()
1912 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open()
1915 (qidx + pf->hw.rx_queues + in otx2_open()
1922 (qidx + pf->hw.rx_queues + in otx2_open()
2757 bpf_prog_add(pf->xdp_prog, pf->hw.rx_queues - 1); in otx2_xdp_setup()
2763 pf->hw.xdp_queues = pf->hw.rx_queues; in otx2_xdp_setup()
[all …]
H A Dotx2_common.c414 pfvf->hw.rx_queues); in otx2_rss_init()
942 aq->sq.cq = pfvf->hw.rx_queues + qidx; in otx2_sq_aq_init()
1067 non_xdp_queues = pfvf->hw.rx_queues + pfvf->hw.tx_queues; in otx2_cq_init()
1068 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
1088 cq->cint_idx = qidx - pfvf->hw.rx_queues; in otx2_cq_init()
1116 (pfvf->hw.rqpool_cnt != pfvf->hw.rx_queues)) ? 0 : qidx; in otx2_cq_init()
1134 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
1184 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_config_nix_queues()
1239 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix()
1628 for (rq = 0; rq < hw->rx_queues; rq++) { in otx2_rq_aura_pool_init()
H 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()
745 priv->hw.rx_queues = rsp->rep_cnt; in rvu_get_rep_cnt()
H A Dqos_sq.c283 cq = &qset->cq[pfvf->hw.rx_queues + sq_idx]; in otx2_qos_disable_sq()
H A Dotx2_dcbnl.c481 pfvf->queue_to_pfc_map = devm_kzalloc(pfvf->dev, pfvf->hw.rx_queues, in otx2_dcbnl_set_ops()
H A Dotx2_txrx.c470 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
521 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler()
1325 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_cleanup_tx_cqes()
H A Dotx2_common.h194 u16 rx_queues; member
1085 int tx_queues, int rx_queues);
H A Dotx2_vf.c584 hw->rx_queues = qcount; in otx2vf_probe()
H 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()
/linux-6.15/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()
719 channel->rx_count = nic->rx_queues; in nicvf_get_channels()
755 nic->rx_queues = channel->rx_count; in nicvf_set_channels()
763 cqcount = max(nic->rx_queues, txq_count); in nicvf_set_channels()
772 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_channels()
776 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
784 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);
/linux-6.15/drivers/net/ethernet/pensando/ionic/
H 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()
/linux-6.15/drivers/net/ethernet/broadcom/genet/
H 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()
1591 cmd->data = priv->hw_params->rx_queues ?: 1; in bcmgenet_get_rxnfc()
2789 mask = (1 << (priv->hw_params->rx_queues + 1)) - 1; in bcmgenet_rdma_disable()
3580 .rx_queues = 0,
3597 .rx_queues = 0,
3615 .rx_queues = 0,
3633 .rx_queues = 0,
3742 params->rx_queues, params->rx_bds_per_q, in bcmgenet_set_hw_params()
[all …]
H A Dbcmgenet.h492 u8 rx_queues; member
/linux-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac4_core.c867 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
898 for (queue = 0; queue < rx_queues; queue++) { in dwmac4_debug()
H A Ddwmac1000_core.c409 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
/linux-6.15/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c4290 int num_rx_queues, rx_queues; in vmxnet3_remove_device() local
4307 rx_queues = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_CMD); in vmxnet3_remove_device()
4309 if (rx_queues > 0) in vmxnet3_remove_device()
4310 rx_queues = (rx_queues >> 8) & 0xff; in vmxnet3_remove_device()
4312 rx_queues = min(num_rx_queues, VMXNET3_DEVICE_DEFAULT_RX_QUEUES); in vmxnet3_remove_device()
4313 num_rx_queues = min(num_rx_queues, rx_queues); in vmxnet3_remove_device()
/linux-6.15/drivers/net/ethernet/ibm/
H A Dibmvnic.h912 u64 rx_queues; member
/linux-6.15/drivers/net/ethernet/intel/ice/
H 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()
1653 q_map = vqs->rx_queues; in ice_vc_dis_qs_msg()
/linux-6.15/include/linux/avf/
H A Dvirtchnl.h497 u32 rx_queues; member
/linux-6.15/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()

12