Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ethtool.c80 int start_qidx = qset * pfvf->hw.rx_queues; in otx2_get_qset_strings()
83 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_strings()
140 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_stats()
197 (pfvf->hw.rx_queues + pfvf->hw.tx_queues); in otx2_get_sset_count()
212 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels()
235 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels()
237 pfvf->qset.cq_cnt = pfvf->hw.tx_queues + pfvf->hw.rx_queues; in otx2_set_channels()
243 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
550 nfc->data = pfvf->hw.rx_queues; in otx2_get_rxnfc()
793 (vf->hw.rx_queues + vf->hw.tx_queues); in otx2vf_get_sset_count()
H A Dotx2_common.c348 pfvf->hw.rx_queues); in otx2_rss_init()
789 aq->sq.cq = pfvf->hw.rx_queues + qidx; in otx2_sq_init()
823 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
829 cq->cint_idx = qidx - pfvf->hw.rx_queues; in otx2_cq_init()
845 (pfvf->hw.rqpool_cnt != pfvf->hw.rx_queues)) ? 0 : qidx; in otx2_cq_init()
863 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init()
927 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_config_nix_queues()
979 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix()
1289 for (rq = 0; rq < hw->rx_queues; rq++) { in otx2_rq_aura_pool_init()
H A Dotx2_pf.c1121 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1132 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues()
1135 "Failed to set no of Rx queues: %d\n", rx_queues); in otx2_set_real_num_queues()
1295 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources()
1459 pf->qset.cq_cnt = pf->hw.rx_queues + pf->hw.tx_queues; in otx2_open()
1463 pf->hw.cint_cnt = max(pf->hw.rx_queues, pf->hw.tx_queues); in otx2_open()
1484 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_open()
1502 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open()
1504 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open()
2035 hw->rx_queues = qcount; in otx2_probe()
[all …]
H A Dotx2_common.h158 u16 rx_queues; member
644 int tx_queues, int rx_queues);
H A Dotx2_vf.c496 hw->rx_queues = qcount; in otx2vf_probe()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/thunder/
H A Dnicvf_main.c396 nic->rx_queues); in nicvf_rss_init()
407 int rx_queues = 0, tx_queues = 0; in nicvf_request_sqs() local
426 if (nic->rx_queues > MAX_RCV_QUEUES_PER_QS) in nicvf_request_sqs()
427 rx_queues = nic->rx_queues - MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs()
441 if (rx_queues > MAX_RCV_QUEUES_PER_QS) { in nicvf_request_sqs()
443 rx_queues -= MAX_RCV_QUEUES_PER_QS; in nicvf_request_sqs()
445 nic->snicvf[sqs]->qs->rq_cnt = rx_queues; in nicvf_request_sqs()
446 rx_queues = 0; in nicvf_request_sqs()
467 nic->tx_queues, nic->rx_queues); in nicvf_request_sqs()
493 int tx_queues, int rx_queues) in nicvf_set_real_num_queues() argument
[all …]
H A Dnicvf_ethtool.c545 info->data = nic->rx_queues; in nicvf_get_rxnfc()
711 channel->rx_count = nic->rx_queues; in nicvf_get_channels()
742 nic->rx_queues = channel->rx_count; in nicvf_set_channels()
750 cqcount = max(nic->rx_queues, txq_count); in nicvf_set_channels()
759 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_channels()
763 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
771 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);
H A Dnicvf_queues.c1056 nic->rx_queues = qs->rq_cnt; in nicvf_set_qset_resources()
/OK3568_Linux_fs/external/dpdk/pcie/e1000/
H A Digb_rxtx.c1645 igb_rx_queue_release(dev->data->rx_queues[qid]); in eth_igb_rx_queue_release()
1741 if (dev->data->rx_queues[queue_idx] != NULL) { in eth_igb_rx_queue_setup()
1742 igb_rx_queue_release(dev->data->rx_queues[queue_idx]); in eth_igb_rx_queue_setup()
1743 dev->data->rx_queues[queue_idx] = NULL; in eth_igb_rx_queue_setup()
1810 dev->data->rx_queues[queue_idx] = rxq; in eth_igb_rx_queue_setup()
1900 rxq = dev->data->rx_queues[i]; in igb_dev_clear_queues()
1915 dev->data->rx_queues[i] = NULL; in igb_dev_free_queues()
2394 rxq = dev->data->rx_queues[i]; in eth_igb_rx_init()
2556 rxq = dev->data->rx_queues[i]; in eth_igb_rx_init()
2572 rxq = dev->data->rx_queues[i]; in eth_igb_rx_init()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet.c51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q)
846 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_get_coalesce()
927 for (i = 0; i < priv->hw_params->rx_queues; i++) in bcmgenet_set_coalesce()
1416 if (cmd->fs.ring_cookie > priv->hw_params->rx_queues && in bcmgenet_insert_flow()
1536 cmd->data = priv->hw_params->rx_queues ?: 1; in bcmgenet_get_rxnfc()
2807 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_enable_rx_napi()
2823 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_disable_rx_napi()
2839 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_fini_rx_napi()
2873 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_init_rx_queues()
2888 priv->hw_params->rx_queues * in bcmgenet_init_rx_queues()
[all …]
H A Dbcmgenet.h540 u8 rx_queues; member
/OK3568_Linux_fs/kernel/include/linux/avf/
H A Dvirtchnl.h388 u32 rx_queues; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac1000_core.c427 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
H A Ddwmac4_core.c873 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
903 for (queue = 0; queue < rx_queues; queue++) { in dwmac4_debug()
H A Dhwif.h344 u32 rx_queues, u32 tx_queues);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/iavf/
H A Diavf_virtchnl.c316 vqs.rx_queues = vqs.tx_queues; in iavf_enable_queues()
341 vqs.rx_queues = vqs.tx_queues; in iavf_disable_queues()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_pf.c2530 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps()
2531 vqs->rx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF) || in ice_vc_validate_vqs_bitmaps()
2626 q_map = vqs->rx_queues; in ice_vc_ena_qs_msg()
2745 q_map = vqs->rx_queues; in ice_vc_dis_qs_msg()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ibm/
H A Dibmvnic.c2521 adapter->fallback.rx_queues = adapter->req_rx_queues; in wait_for_reset()
2544 adapter->desired.rx_queues = adapter->fallback.rx_queues; in wait_for_reset()
2720 adapter->desired.rx_queues = channels->rx_count; in ibmvnic_set_channels()
3419 if (adapter->desired.rx_queues) in send_request_cap()
3421 adapter->desired.rx_queues; in send_request_cap()
H A Dibmvnic.h955 u64 rx_queues; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_main.c2240 u8 tx_queues, u8 rx_queues) in qlcnic_set_real_num_queues() argument
2254 if (rx_queues) { in qlcnic_set_real_num_queues()
2255 err = netif_set_real_num_rx_queues(netdev, rx_queues); in qlcnic_set_real_num_queues()
2258 rx_queues); in qlcnic_set_real_num_queues()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c2499 if ((!vqs->rx_queues && !vqs->tx_queues) || in i40e_vc_validate_vqs_bitmaps()
2500 vqs->rx_queues >= BIT(I40E_MAX_VF_QUEUES) || in i40e_vc_validate_vqs_bitmaps()
2538 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_enable_queues_msg()
2600 if (i40e_ctrl_vf_rx_rings(pf->vsi[vf->lan_vsi_idx], vqs->rx_queues, in i40e_vc_disable_queues_msg()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/
H A Dgianfar.c685 u32 tx_queues, rx_queues; in gfar_of_init() local
694 &rx_queues); in gfar_of_init()
695 num_rx_qs = ret ? 1 : rx_queues; in gfar_of_init()