Home
last modified time | relevance | path

Searched refs:tx_queues (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v5.15/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c407 int rx_queues = 0, tx_queues = 0; in nicvf_request_sqs() local
429 tx_queues = nic->tx_queues + nic->xdp_tx_queues; in nicvf_request_sqs()
430 if (tx_queues > MAX_SND_QUEUES_PER_QS) in nicvf_request_sqs()
431 tx_queues = tx_queues - MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
449 if (tx_queues > MAX_SND_QUEUES_PER_QS) { in nicvf_request_sqs()
451 tx_queues -= MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
453 nic->snicvf[sqs]->qs->sq_cnt = tx_queues; in nicvf_request_sqs()
454 tx_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 …]
Dnicvf_ethtool.c715 channel->tx_count = nic->tx_queues; in nicvf_get_channels()
746 nic->tx_queues = channel->tx_count; in nicvf_set_channels()
752 txq_count = nic->xdp_tx_queues + nic->tx_queues; in nicvf_set_channels()
766 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
774 nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
Dnic.h308 u8 tx_queues; member
628 int tx_queues, int rx_queues);
/Linux-v5.15/drivers/net/ethernet/pensando/ionic/
Dionic_stats.c242 u64 total = 0, tx_queues = MAX_Q(lif), rx_queues = MAX_Q(lif); in ionic_sw_stats_get_count() local
245 tx_queues += 1; in ionic_sw_stats_get_count()
253 total += tx_queues * IONIC_NUM_TX_STATS; in ionic_sw_stats_get_count()
259 total += tx_queues * (IONIC_NUM_DBG_CQ_STATS + in ionic_sw_stats_get_count()
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c95 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_get_qset_strings()
160 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_get_qset_stats()
251 (pfvf->hw.rx_queues + pfvf->hw.tx_queues); in otx2_get_sset_count()
269 channel->tx_count = pfvf->hw.tx_queues; in otx2_get_channels()
298 pfvf->hw.tx_queues = channel->tx_count; in otx2_set_channels()
299 pfvf->qset.cq_cnt = pfvf->hw.tx_queues + pfvf->hw.rx_queues; in otx2_set_channels()
305 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
1297 (vf->hw.rx_queues + vf->hw.tx_queues); in otx2vf_get_sset_count()
Dotx2_pf.c1132 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1136 err = netif_set_real_num_tx_queues(netdev, tx_queues); in otx2_set_real_num_queues()
1139 "Failed to set no of Tx queues: %d\n", tx_queues); in otx2_set_real_num_queues()
1183 for (qidx = 0; qidx < pf->hw.tx_queues; qidx++) { in otx2_q_intr_handler()
1286 for (qidx = 0; qidx < pf->hw.tx_queues; qidx++) { in otx2_free_sq_res()
1335 hw->sqpool_cnt = hw->tx_queues; in otx2_init_hw_resources()
1506 pf->qset.cq_cnt = pf->hw.rx_queues + pf->hw.tx_queues; in otx2_open()
1510 pf->hw.cint_cnt = max(pf->hw.rx_queues, pf->hw.tx_queues); in otx2_open()
1526 qset->sq = kcalloc(pf->hw.tx_queues, in otx2_open()
1550 cq_poll->cq_ids[CQ_TX] = (qidx < pf->hw.tx_queues) ? in otx2_open()
[all …]
Dotx2_common.c721 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_sqb_flush()
994 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_config_nix_queues()
1038 nixlf->sq_cnt = pfvf->hw.tx_queues; in otx2_config_nix()
1076 for (qidx = 0; qidx < hw->tx_queues; qidx++) { in otx2_sq_free_sqbs()
1288 for (qidx = 0; qidx < hw->tx_queues; qidx++) { in otx2_sq_aura_pool_init()
1308 for (qidx = 0; qidx < hw->tx_queues; qidx++) { in otx2_sq_aura_pool_init()
Dotx2_common.h173 u16 tx_queues; member
827 int tx_queues, int rx_queues);
Dotx2_vf.c584 hw->tx_queues = qcount; in otx2vf_probe()
/Linux-v5.15/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c53 (TOTAL_DESC - priv->hw_params->tx_queues * priv->hw_params->tx_bds_per_q)
923 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_set_coalesce()
1924 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_tx_reclaim_all()
2689 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_enable_tx_napi()
2705 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_disable_tx_napi()
2719 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_fini_tx_napi()
2762 for (i = 0; i < priv->hw_params->tx_queues; i++) { in bcmgenet_init_tx_queues()
2774 priv->hw_params->tx_queues * in bcmgenet_init_tx_queues()
2780 ((GENET_Q0_PRIORITY + priv->hw_params->tx_queues) << in bcmgenet_init_tx_queues()
2961 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_dma_teardown()
[all …]
Dbcmgenet.h483 u8 tx_queues; member
/Linux-v5.15/drivers/net/wireless/ralink/rt2x00/
Drt2800soc.c226 .tx_queues = NUM_TX_QUEUES,
Drt2x00queue.h505 &(__dev)->tx[(__dev)->ops->tx_queues]
Drt2x00queue.c1248 rt2x00dev->data_queues = 2 + rt2x00dev->ops->tx_queues + req_atim; in rt2x00queue_allocate()
1259 rt2x00dev->bcn = &queue[1 + rt2x00dev->ops->tx_queues]; in rt2x00queue_allocate()
1260 rt2x00dev->atim = req_atim ? &queue[2 + rt2x00dev->ops->tx_queues] : NULL; in rt2x00queue_allocate()
Drt2800pci.c381 .tx_queues = NUM_TX_QUEUES,
Drt2x00.h645 const unsigned int tx_queues; member
1314 if (queue < rt2x00dev->ops->tx_queues && rt2x00dev->tx) in rt2x00queue_get_tx_queue()
Drt2x00dev.c1114 rt2x00dev->hw->queues = rt2x00dev->ops->tx_queues; in rt2x00lib_probe_hw()
1148 roundup_pow_of_two(rt2x00dev->ops->tx_queues * in rt2x00lib_probe_hw()
/Linux-v5.15/drivers/net/wireless/intersil/p54/
Dp54.h54 u8 tx_queues; member
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c315 vqs.tx_queues = BIT(adapter->num_active_queues) - 1; in iavf_enable_queues()
316 vqs.rx_queues = vqs.tx_queues; in iavf_enable_queues()
340 vqs.tx_queues = BIT(adapter->num_active_queues) - 1; in iavf_disable_queues()
341 vqs.rx_queues = vqs.tx_queues; in iavf_disable_queues()
/Linux-v5.15/drivers/net/bonding/
Dbond_main.c97 static int tx_queues = BOND_DEFAULT_TX_QUEUES; variable
123 module_param(tx_queues, int, 0);
124 MODULE_PARM_DESC(tx_queues, "Max number of transmit queues (default = 16)");
5600 if (tx_queues < 1 || tx_queues > 255) { in bond_check_params()
5602 tx_queues, BOND_DEFAULT_TX_QUEUES); in bond_check_params()
5603 tx_queues = BOND_DEFAULT_TX_QUEUES; in bond_check_params()
5834 params->tx_queues = tx_queues; in bond_check_params()
5903 return tx_queues; in bond_get_num_tx_queues()
5922 bond_setup, tx_queues); in bond_create()
/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c427 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
Ddwmac4_core.c893 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
898 for (queue = 0; queue < tx_queues; queue++) { in dwmac4_debug()
/Linux-v5.15/include/linux/avf/
Dvirtchnl.h398 u32 tx_queues; member
/Linux-v5.15/include/net/
Dbonding.h139 int tx_queues; member
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c3147 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps()
3149 vqs->tx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF)) in ice_vc_validate_vqs_bitmaps()
3264 q_map = vqs->tx_queues; in ice_vc_ena_qs_msg()
3328 if (vqs->tx_queues) { in ice_vc_dis_qs_msg()
3329 q_map = vqs->tx_queues; in ice_vc_dis_qs_msg()

12