Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c88 int start_qidx = qset * pfvf->hw.rx_queues; in otx2_get_qset_strings()
91 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) in otx2_get_qset_strings()
145 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_stats()
251 (pfvf->hw.rx_queues + otx2_get_total_tx_queues(pfvf)); in otx2_get_sset_count()
269 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels()
284 if (bitmap_weight(&pfvf->rq_bmap, pfvf->hw.rx_queues) > 1) { in otx2_set_channels()
301 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels()
310 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
577 return pfvf->hw.rx_queues; in otx2_get_rx_ring_count()
824 queues = pfvf->hw.rx_queues; in otx2_create_rxfh()
[all …]
H 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()
H A Dotx2_pf.c1317 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1328 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues()
1331 "Failed to set no of Rx queues: %d\n", rx_queues); in otx2_set_real_num_queues()
1624 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources()
1930 pf->hw.cint_cnt = max3(pf->hw.rx_queues, pf->hw.tx_queues, in otx2_alloc_queue_mem()
1933 pf->qset.cq_cnt = pf->hw.rx_queues + otx2_get_total_tx_queues(pf); in otx2_alloc_queue_mem()
1953 qset->rq = kzalloc_objs(struct otx2_rcv_queue, pf->hw.rx_queues); in otx2_alloc_queue_mem()
1993 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open()
1995 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open()
1998 (qidx + pf->hw.rx_queues + in otx2_open()
[all …]
H A Dotx2_common.c408 pfvf->hw.rx_queues); in otx2_rss_init()
937 aq->sq.cq = pfvf->hw.rx_queues + qidx; in otx2_sq_aq_init()
1062 non_xdp_queues = pfvf->hw.rx_queues + pfvf->hw.tx_queues; in otx2_cq_init()
1063 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
1083 cq->cint_idx = qidx - pfvf->hw.rx_queues; in otx2_cq_init()
1111 (pfvf->hw.rqpool_cnt != pfvf->hw.rx_queues)) ? 0 : qidx; in otx2_cq_init()
1129 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()
1634 for (rq = 0; rq < hw->rx_queues; r in otx2_rq_aura_pool_init()
[all...]
H A Drep.c516 (qidx < hw->rx_queues) ? qidx : CINT_INVALID_CQ; in rvu_rep_napi_init()
518 qidx + hw->rx_queues : in rvu_rep_napi_init()
758 priv->hw.rx_queues = rsp->rep_cnt; in rvu_get_rep_cnt()
H A Dqos_sq.c304 cq = &qset->cq[pfvf->hw.rx_queues + sq_idx]; in otx2_qos_disable_sq()
H 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()
H A Dcn20k.c670 aq->sq.cq = pfvf->hw.rx_queues + qidx; in cn20k_sq_aq_init()
H A Dotx2_tc.c319 rq_idx = find_first_zero_bit(&nic->rq_bmap, hw->rx_queues); in otx2_tc_act_set_police()
320 if (rq_idx >= hw->rx_queues) { in otx2_tc_act_set_police()
H A Dotx2_vf.c617 hw->rx_queues = qcount; in otx2vf_probe()
H A Dotx2_flows.c1384 ring >= pfvf->hw.rx_queues && fsp->ring_cookie != RX_CLS_FLOW_DISC) in otx2_add_flow()
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c47 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q)
700 q = priv->hw_params->rx_queues + 1; in bcmgenet_hfb_create_rxnfc_filter()
861 for (i = 0; i <= priv->hw_params->rx_queues; i++) { in bcmgenet_get_coalesce()
939 for (i = 0; i <= priv->hw_params->rx_queues; i++) in bcmgenet_set_coalesce()
1518 if (cmd->fs.ring_cookie > priv->hw_params->rx_queues && in bcmgenet_insert_flow()
1655 return priv->hw_params->rx_queues ?: 1; in bcmgenet_get_rxnfc()
2548 for (q = 0; q <= priv->hw_params->rx_queues; q++) { in umac_enable_set()
2922 mask = (1 << (priv->hw_params->rx_queues + 1)) - 1; in bcmgenet_rdma_disable()
2993 for (i = 0; i <= priv->hw_params->rx_queues; ++i) { in bcmgenet_disable_rx_napi()
3005 for (i = 0; i <= priv->hw_params->rx_queues; in bcmgenet_fini_rx_napi()
[all...]
/linux/drivers/net/ethernet/intel/ice/virt/
H A Dqueues.c173 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps()
174 vqs->rx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF) || in ice_vc_validate_vqs_bitmaps()
286 q_map = vqs->rx_queues; in ice_vc_ena_qs_msg()
426 q_map = vqs->rx_queues; in ice_vc_dis_qs_msg()
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic.h307 u8 rx_queues; member
628 int tx_queues, int rx_queues);
H A Dnicvf_queues.c1056 nic->rx_queues = qs->rq_cnt; in nicvf_set_qset_resources()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac4_core.c675 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
706 for (queue = 0; queue < rx_queues; queue++) { in dwmac4_debug()
H A Ddwmac1000_core.c376 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
H A Dhwif.h374 struct stmmac_extra_stats *x, u32 rx_queues,
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c4330 int num_rx_queues, rx_queues; in vmxnet3_remove_device() local
4347 rx_queues = VMXNET3_READ_BAR1_REG(adapter, VMXNET3_REG_CMD); in vmxnet3_remove_device()
4349 if (rx_queues > 0) in vmxnet3_remove_device()
4350 rx_queues = (rx_queues >> 8) & 0xff; in vmxnet3_remove_device()
4352 rx_queues = min(num_rx_queues, VMXNET3_DEVICE_DEFAULT_RX_QUEUES); in vmxnet3_remove_device()
4353 num_rx_queues = min(num_rx_queues, rx_queues); in vmxnet3_remove_device()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_main.c2229 u8 tx_queues, u8 rx_queues) in qlcnic_set_real_num_queues() argument
2243 if (rx_queues) { in qlcnic_set_real_num_queues()
2244 err = netif_set_real_num_rx_queues(netdev, rx_queues); in qlcnic_set_real_num_queues()
2247 rx_queues); in qlcnic_set_real_num_queues()
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c3632 adapter->fallback.rx_queues = adapter->req_rx_queues; in wait_for_reset()
3655 adapter->desired.rx_queues = adapter->fallback.rx_queues; in wait_for_reset()
3836 adapter->desired.rx_queues = channels->rx_count; in ibmvnic_set_channels()
4589 if (adapter->desired.rx_queues) in send_request_cap()
4591 adapter->desired.rx_queues; in send_request_cap()
/linux/include/linux/net/intel/
H A Dvirtchnl.h497 u32 rx_queues; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c2599 if ((!vqs->rx_queues && !vqs->tx_queues) || in i40e_vc_validate_vqs_bitmaps()
2600 vqs->rx_queues >= BIT(I40E_MAX_VF_QUEUES) || in i40e_vc_validate_vqs_bitmaps()
2646 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_enable_queues_msg()
2708 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_disable_queues_msg()