Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A 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()
A 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()
1408 (vf->hw.rx_queues + vf->hw.tx_queues); in otx2vf_get_sset_count()
A 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()
2753 hw->tx_queues = qcount; in otx2_probe()
2818 err = otx2_set_real_num_queues(netdev, hw->tx_queues, hw->rx_queues); in otx2_probe()
A Dotx2_common.h190 u16 tx_queues; member
974 int tx_queues, int rx_queues);
A 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.3-rc2/drivers/net/ethernet/cavium/thunder/
A 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 …]
A 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()
A Dnic.h308 u8 tx_queues; member
628 int tx_queues, int rx_queues);
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/
A 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.3-rc2/drivers/net/ethernet/broadcom/genet/
A Dbcmgenet.c905 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_set_coalesce()
2838 priv->hw_params->tx_queues * in bcmgenet_init_tx_queues()
3025 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_dma_teardown()
3315 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_dma_disable()
3558 for (q = 0; q < priv->hw_params->tx_queues; q++) in bcmgenet_timeout()
3739 .tx_queues = 0,
3753 .tx_queues = 4,
3770 .tx_queues = 4,
3789 .tx_queues = 4,
3808 .tx_queues = 4,
[all …]
A Dbcmgenet.h484 u8 tx_queues; member
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/
A 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()
A Drt2800soc.c227 .tx_queues = NUM_TX_QUEUES,
A Drt2x00queue.h505 &(__dev)->tx[(__dev)->ops->tx_queues]
A 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()
A Drt2800pci.c382 .tx_queues = NUM_TX_QUEUES,
A 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.3-rc2/drivers/net/wireless/intersil/p54/
A Dp54.h54 u8 tx_queues; member
/linux-6.3-rc2/drivers/net/bonding/
A 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)");
5996 if (tx_queues < 1 || tx_queues > 255) { in bond_check_params()
5998 tx_queues, BOND_DEFAULT_TX_QUEUES); in bond_check_params()
5999 tx_queues = BOND_DEFAULT_TX_QUEUES; in bond_check_params()
6231 params->tx_queues = tx_queues; in bond_check_params()
6294 return tx_queues; in bond_get_num_tx_queues()
6312 bond_setup, tx_queues); in bond_create()
/linux-6.3-rc2/drivers/net/ethernet/intel/iavf/
A 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.3-rc2/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac1000_core.c418 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
A Ddwmac4_core.c892 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
897 for (queue = 0; queue < tx_queues; queue++) { in dwmac4_debug()
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_virtchnl.c1177 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps()
1179 vqs->tx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF)) in ice_vc_validate_vqs_bitmaps()
1294 q_map = vqs->tx_queues; in ice_vc_ena_qs_msg()
1397 if (vqs->tx_queues) { in ice_vc_dis_qs_msg()
1398 q_map = vqs->tx_queues; in ice_vc_dis_qs_msg()
/linux-6.3-rc2/include/linux/avf/
A Dvirtchnl.h408 u32 tx_queues; member
/linux-6.3-rc2/include/net/
A Dbonding.h141 int tx_queues; member

Completed in 95 milliseconds

12