Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dcbnl.c12 u8 tx_queues = pfvf->hw.tx_queues, prio; in otx2_check_pfc_config() local
17 prio > tx_queues - 1) { in otx2_check_pfc_config()
20 tx_queues, prio + 1); in otx2_check_pfc_config()
414 if (pfvf->hw.tx_queues >= NIX_PF_PFC_PRIO_MAX) in otx2_dcbnl_ieee_setpfc()
Dotx2_ethtool.c95 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_get_qset_strings()
162 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_get_qset_stats()
257 (pfvf->hw.rx_queues + pfvf->hw.tx_queues); in otx2_get_sset_count()
276 channel->tx_count = pfvf->hw.tx_queues; in otx2_get_channels()
305 pfvf->hw.tx_queues = channel->tx_count; in otx2_set_channels()
306 pfvf->qset.cq_cnt = pfvf->hw.tx_queues + pfvf->hw.rx_queues; in otx2_set_channels()
312 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
1374 (vf->hw.rx_queues + vf->hw.tx_queues); in otx2vf_get_sset_count()
Dotx2_pf.c1156 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1160 err = netif_set_real_num_tx_queues(netdev, tx_queues); in otx2_set_real_num_queues()
1163 "Failed to set no of Tx queues: %d\n", tx_queues); in otx2_set_real_num_queues()
1695 pf->hw.cint_cnt = max(pf->hw.rx_queues, pf->hw.tx_queues); in otx2_open()
1736 cq_poll->cq_ids[CQ_TX] = (qidx < pf->hw.tx_queues) ? in otx2_open()
1741 pf->hw.tx_queues) : in otx2_open()
1980 if ((vlan_prio > pf->hw.tx_queues - 1) || in otx2_select_queue()
2469 qidx += pf->hw.tx_queues; in otx2_xdp_xmit()
2750 hw->tx_queues = qcount; in otx2_probe()
2815 err = otx2_set_real_num_queues(netdev, hw->tx_queues, hw->rx_queues); in otx2_probe()
Dotx2_common.h187 u16 tx_queues; member
971 int tx_queues, int rx_queues);
Dotx2_common.c881 if (qidx < pfvf->hw.tx_queues) { in otx2_sq_init()
893 if (pfvf->ptp && qidx < pfvf->hw.tx_queues) { in otx2_sq_init()
926 non_xdp_queues = pfvf->hw.rx_queues + pfvf->hw.tx_queues; in otx2_cq_init()
/linux-6.1.9/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c406 int rx_queues = 0, tx_queues = 0; in nicvf_request_sqs() local
428 tx_queues = nic->tx_queues + nic->xdp_tx_queues; in nicvf_request_sqs()
429 if (tx_queues > MAX_SND_QUEUES_PER_QS) in nicvf_request_sqs()
430 tx_queues = tx_queues - MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
448 if (tx_queues > MAX_SND_QUEUES_PER_QS) { in nicvf_request_sqs()
450 tx_queues -= MAX_SND_QUEUES_PER_QS; in nicvf_request_sqs()
452 nic->snicvf[sqs]->qs->sq_cnt = tx_queues; in nicvf_request_sqs()
453 tx_queues = 0; in nicvf_request_sqs()
466 nic->tx_queues, nic->rx_queues); in nicvf_request_sqs()
492 int tx_queues, int rx_queues) in nicvf_set_real_num_queues() argument
[all …]
Dnicvf_ethtool.c719 channel->tx_count = nic->tx_queues; in nicvf_get_channels()
750 nic->tx_queues = channel->tx_count; in nicvf_set_channels()
756 txq_count = nic->xdp_tx_queues + nic->tx_queues; in nicvf_set_channels()
770 err = nicvf_set_real_num_queues(dev, nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
778 nic->tx_queues, nic->rx_queues); in nicvf_set_channels()
Dnic.h308 u8 tx_queues; member
628 int tx_queues, int rx_queues);
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/
Dionic_stats.c219 u64 total = 0, tx_queues = MAX_Q(lif), rx_queues = MAX_Q(lif); in ionic_sw_stats_get_count() local
222 tx_queues += 1; in ionic_sw_stats_get_count()
230 total += tx_queues * IONIC_NUM_TX_STATS; in ionic_sw_stats_get_count()
/linux-6.1.9/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()
1968 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_tx_reclaim_all()
2740 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_enable_tx_napi()
2756 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_disable_tx_napi()
2770 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_fini_tx_napi()
2813 for (i = 0; i < priv->hw_params->tx_queues; i++) { in bcmgenet_init_tx_queues()
2825 priv->hw_params->tx_queues * in bcmgenet_init_tx_queues()
2831 ((GENET_Q0_PRIORITY + priv->hw_params->tx_queues) << in bcmgenet_init_tx_queues()
3012 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_dma_teardown()
[all …]
Dbcmgenet.h484 u8 tx_queues; member
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00.h645 const unsigned int tx_queues; member
1314 if (queue >= rt2x00dev->ops->tx_queues && queue < IEEE80211_NUM_ACS) in rt2x00queue_get_tx_queue()
1315 queue = rt2x00dev->ops->tx_queues - 1; in rt2x00queue_get_tx_queue()
1317 if (queue < rt2x00dev->ops->tx_queues && rt2x00dev->tx) in rt2x00queue_get_tx_queue()
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,
Drt2x00dev.c1127 rt2x00dev->hw->queues = rt2x00dev->ops->tx_queues; in rt2x00lib_probe_hw()
1161 roundup_pow_of_two(rt2x00dev->ops->tx_queues * in rt2x00lib_probe_hw()
/linux-6.1.9/drivers/net/wireless/intersil/p54/
Dp54.h54 u8 tx_queues; member
/linux-6.1.9/drivers/net/bonding/
Dbond_main.c100 static int tx_queues = BOND_DEFAULT_TX_QUEUES; variable
126 module_param(tx_queues, int, 0);
127 MODULE_PARM_DESC(tx_queues, "Max number of transmit queues (default = 16)");
5997 if (tx_queues < 1 || tx_queues > 255) { in bond_check_params()
5999 tx_queues, BOND_DEFAULT_TX_QUEUES); in bond_check_params()
6000 tx_queues = BOND_DEFAULT_TX_QUEUES; in bond_check_params()
6232 params->tx_queues = tx_queues; in bond_check_params()
6295 return tx_queues; in bond_get_num_tx_queues()
6313 bond_setup, tx_queues); in bond_create()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c343 vqs.tx_queues = BIT(adapter->num_active_queues) - 1; in iavf_enable_queues()
344 vqs.rx_queues = vqs.tx_queues; in iavf_enable_queues()
368 vqs.tx_queues = BIT(adapter->num_active_queues) - 1; in iavf_disable_queues()
369 vqs.rx_queues = vqs.tx_queues; in iavf_disable_queues()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_virtchnl.c1174 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps()
1176 vqs->tx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF)) in ice_vc_validate_vqs_bitmaps()
1291 q_map = vqs->tx_queues; in ice_vc_ena_qs_msg()
1394 if (vqs->tx_queues) { in ice_vc_dis_qs_msg()
1395 q_map = vqs->tx_queues; in ice_vc_dis_qs_msg()
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c418 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
Ddwmac4_core.c901 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
906 for (queue = 0; queue < tx_queues; queue++) { in dwmac4_debug()
/linux-6.1.9/include/linux/avf/
Dvirtchnl.h405 u32 tx_queues; member
/linux-6.1.9/include/net/
Dbonding.h143 int tx_queues; member

12