/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 85 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() 157 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_get_qset_stats() 263 (pfvf->hw.rx_queues + otx2_get_total_tx_queues(pfvf)); in otx2_get_sset_count() 281 channel->rx_count = pfvf->hw.rx_queues; in otx2_get_channels() 296 if (bitmap_weight(&pfvf->rq_bmap, pfvf->hw.rx_queues) > 1) { in otx2_set_channels() 313 pfvf->hw.rx_queues = channel->rx_count; in otx2_set_channels() 322 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels() 739 nfc->data = pfvf->hw.rx_queues; in otx2_get_rxnfc() 889 int idx, rx_queues; in otx2_get_rxfh_context() local [all...] |
H A D | cn10k.c | 85 aq->sq.cq = pfvf->hw.rx_queues + qidx; in cn10k_sq_aq_init() 350 for (qidx = 0; qidx < hw->rx_queues; qidx++) in cn10k_free_matchall_ipolicer() 477 for (qidx = 0; qidx < hw->rx_queues; qidx++) { in cn10k_set_matchall_ipolicer_rate()
|
H A D | otx2_common.c | 399 pfvf->hw.rx_queues); in otx2_rss_init() 899 aq->sq.cq = pfvf->hw.rx_queues + qidx; in otx2_sq_aq_init() 994 non_xdp_queues = pfvf->hw.rx_queues + pfvf->hw.tx_queues; in otx2_cq_init() 995 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init() 1003 cq->cint_idx = qidx - pfvf->hw.rx_queues; in otx2_cq_init() 1031 (pfvf->hw.rqpool_cnt != pfvf->hw.rx_queues)) ? 0 : qidx; in otx2_cq_init() 1049 if (qidx < pfvf->hw.rx_queues) { in otx2_cq_init() 1099 for (qidx = 0; qidx < pfvf->hw.rx_queues; qidx++) { in otx2_config_nix_queues() 1154 nixlf->rq_cnt = pfvf->hw.rx_queues; in otx2_config_nix() 1511 for (rq = 0; rq < hw->rx_queues; r in otx2_rq_aura_pool_init() [all...] |
H A D | otx2_pf.c | 1180 int tx_queues, int rx_queues) in otx2_set_real_num_queues() 1191 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues() 1194 "Failed to set no of Rx queues: %d\n", rx_queues); in otx2_set_real_num_queues() 1479 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources() 1640 for (qidx = 0; qidx < pf->hw.rx_queues; qidx++) { in otx2_free_hw_resources() 1774 pf->hw.cint_cnt = max3(pf->hw.rx_queues, pf->hw.tx_queues, in otx2_open() 1777 pf->qset.cq_cnt = pf->hw.rx_queues + otx2_get_total_tx_queues(pf); in otx2_open() 1799 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_open() 1818 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open() 1820 qidx + pf->hw.rx_queues in otx2_open() 1179 otx2_set_real_num_queues(struct net_device *netdev, int tx_queues, int rx_queues) otx2_set_real_num_queues() argument [all...] |
H A D | qos_sq.c | 283 cq = &qset->cq[pfvf->hw.rx_queues + sq_idx]; in otx2_qos_disable_sq()
|
H A D | otx2_txrx.c | 462 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler() 473 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler() 496 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_tx_napi_handler() 1259 qidx = cq->cq_idx - pfvf->hw.rx_queues; in otx2_cleanup_tx_cqes()
|
H A D | otx2_dcbnl.c | 467 pfvf->queue_to_pfc_map = devm_kzalloc(pfvf->dev, pfvf->hw.rx_queues, in otx2_dcbnl_set_ops()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_main.c | 395 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() 491 nicvf_set_real_num_queues(struct net_device *netdev, int tx_queues, int rx_queues) nicvf_set_real_num_queues() argument [all...] |
H A D | nicvf_ethtool.c | 552 info->data = nic->rx_queues; in nicvf_get_rxnfc() 718 channel->rx_count = nic->rx_queues; in nicvf_get_channels() 754 nic->rx_queues = channel->rx_count; in nicvf_set_channels() 762 cqcount = max(nic->rx_queues, txq_count); in nicvf_set_channels() 771 nic->qs->rq_cnt = min_t(u8, nic->rx_queues, MAX_RCV_QUEUES_PER_QS); in nicvf_set_channels() 775 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels() 783 nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
|
H A D | nic.h | 307 u8 rx_queues; member 628 int tx_queues, int rx_queues);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 80 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() 554 nfc->data = pfvf->hw.rx_queues; in otx2_get_rxnfc() 797 (vf->hw.rx_queues in otx2vf_get_sset_count() [all...] |
H A D | otx2_common.c | 348 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 D | otx2_pf.c | 1124 int tx_queues, int rx_queues) in otx2_set_real_num_queues() 1135 err = netif_set_real_num_rx_queues(netdev, rx_queues); in otx2_set_real_num_queues() 1138 "Failed to set no of Rx queues: %d\n", rx_queues); in otx2_set_real_num_queues() 1298 hw->rqpool_cnt = hw->rx_queues; in otx2_init_hw_resources() 1463 pf->qset.cq_cnt = pf->hw.rx_queues + pf->hw.tx_queues; in otx2_open() 1467 pf->hw.cint_cnt = max(pf->hw.rx_queues, pf->hw.tx_queues); in otx2_open() 1488 qset->rq = kcalloc(pf->hw.rx_queues, in otx2_open() 1506 (qidx < pf->hw.rx_queues) ? qidx : CINT_INVALID_CQ; in otx2_open() 1508 qidx + pf->hw.rx_queues : CINT_INVALID_CQ; in otx2_open() 2048 hw->rx_queues in otx2_probe() 1123 otx2_set_real_num_queues(struct net_device *netdev, int tx_queues, int rx_queues) otx2_set_real_num_queues() argument [all...] |
H A D | otx2_common.h | 158 u16 rx_queues; member 644 int tx_queues, int rx_queues);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
H A D | nicvf_main.c | 396 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() 492 nicvf_set_real_num_queues(struct net_device *netdev, int tx_queues, int rx_queues) nicvf_set_real_num_queues() argument [all...] |
H A D | nicvf_ethtool.c | 545 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 D | nic.h | 307 u8 rx_queues; member 628 int tx_queues, int rx_queues);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_stats.c | 219 u64 total = 0, tx_queues = MAX_Q(lif), rx_queues = MAX_Q(lif); in ionic_sw_stats_get_count() local 225 rx_queues += 1; in ionic_sw_stats_get_count() 231 total += rx_queues * IONIC_NUM_RX_STATS; in ionic_sw_stats_get_count()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 51 (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() 1413 if (cmd->fs.ring_cookie > priv->hw_params->rx_queues && in bcmgenet_insert_flow() 1533 cmd->data = priv->hw_params->rx_queues ?: 1; in bcmgenet_get_rxnfc() 2814 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_enable_rx_napi() 2830 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_disable_rx_napi() 2846 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_fini_rx_napi() 2880 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_init_rx_queues() 2895 priv->hw_params->rx_queues * in bcmgenet_init_rx_queues() [all...] |
H A D | bcmgenet.h | 540 u8 rx_queues; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 51 (TOTAL_DESC - priv->hw_params->rx_queues * priv->hw_params->rx_bds_per_q) 830 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_get_coalesce() 913 for (i = 0; i < priv->hw_params->rx_queues; i++) in bcmgenet_set_coalesce() 1442 if (cmd->fs.ring_cookie > priv->hw_params->rx_queues && in bcmgenet_insert_flow() 1584 cmd->data = priv->hw_params->rx_queues ?: 1; in bcmgenet_get_rxnfc() 2861 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_enable_rx_napi() 2877 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_disable_rx_napi() 2893 for (i = 0; i < priv->hw_params->rx_queues; ++i) { in bcmgenet_fini_rx_napi() 2927 for (i = 0; i < priv->hw_params->rx_queues; i++) { in bcmgenet_init_rx_queues() 2942 priv->hw_params->rx_queues * in bcmgenet_init_rx_queues() [all...] |
H A D | bcmgenet.h | 486 u8 rx_queues; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac1000_core.c | 427 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() 426 dwmac1000_debug(void __iomem *ioaddr, struct stmmac_extra_stats *x, u32 rx_queues, u32 tx_queues) dwmac1000_debug() argument
|
/kernel/linux/linux-5.10/include/linux/avf/ |
H A D | virtchnl.h | 388 u32 rx_queues; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac1000_core.c | 419 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() 417 dwmac1000_debug(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_extra_stats *x, u32 rx_queues, u32 tx_queues) dwmac1000_debug() argument
|