Searched refs:rx_queues (Results 1 – 13 of 13) sorted by relevance
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ethtool.c | 86 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() 249 (pfvf->hw.rx_queues + otx2_get_total_tx_queues(pfvf)); in otx2_get_sset_count() 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() 746 nfc->data = pfvf->hw.rx_queues; in otx2_get_rxnfc() 819 queues = pfvf->hw.rx_queues; in otx2_create_rxfh() [all …]
|
| H A D | otx2_xsk.c | 121 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 D | otx2_common.c | 407 pfvf->hw.rx_queues); in otx2_rss_init() 936 aq->sq.cq = pfvf->hw.rx_queues + qidx; in otx2_sq_aq_init() 1061 non_xdp_queues = pfvf->hw.rx_queues + pfvf->hw.tx_queues; in otx2_cq_init() 1062 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init() 1082 cq->cint_idx = qidx - pfvf->hw.rx_queues; in otx2_cq_init() 1110 (pfvf->hw.rqpool_cnt != pfvf->hw.rx_queues)) ? 0 : qidx; in otx2_cq_init() 1128 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init() 1178 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_config_nix_queues() 1233 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix() 1634 for (rq = 0; rq < hw->rx_queues; rq++) { in otx2_rq_aura_pool_init()
|
| H A D | rep.c | 516 (qidx < hw->rx_queues) ? qidx : CINT_INVALID_CQ; in rvu_rep_napi_init() 518 qidx + hw->rx_queues : in rvu_rep_napi_init() 757 priv->hw.rx_queues = rsp->rep_cnt; in rvu_get_rep_cnt()
|
| H A D | qos_sq.c | 304 cq = &qset->cq[pfvf->hw.rx_queues + sq_idx]; in otx2_qos_disable_sq()
|
| H A D | otx2_txrx.c | 474 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 D | otx2_tc.c | 338 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()
|
| H A D | otx2_flows.c | 1126 ring >= pfvf->hw.rx_queues && fsp->ring_cookie != RX_CLS_FLOW_DISC) in otx2_add_flow()
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_stats.c | 237 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/drivers/net/ethernet/cavium/thunder/ |
| H A D | nic.h | 307 u8 rx_queues; member 628 int tx_queues, int rx_queues);
|
| /linux/drivers/net/vmxnet3/ |
| H A D | vmxnet3_drv.c | 4320 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()
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_main.c | 2235 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()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_virtchnl_pf.c | 2599 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()
|