Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_ethtool.c90 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_get_qset_strings()
151 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_get_qset_stats()
197 (pfvf->hw.rx_queues + pfvf->hw.tx_queues); in otx2_get_sset_count()
213 channel->tx_count = pfvf->hw.tx_queues; in otx2_get_channels()
236 pfvf->hw.tx_queues = channel->tx_count; in otx2_set_channels()
237 pfvf->qset.cq_cnt = pfvf->hw.tx_queues + pfvf->hw.rx_queues; in otx2_set_channels()
244 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
794 (vf->hw.rx_queues + vf->hw.tx_queues); in otx2vf_get_sset_count()
Dotx2_pf.c1116 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1120 err = netif_set_real_num_tx_queues(netdev, tx_queues); in otx2_set_real_num_queues()
1123 "Failed to set no of Tx queues: %d\n", tx_queues); in otx2_set_real_num_queues()
1167 for (qidx = 0; qidx < pf->hw.tx_queues; qidx++) { in otx2_q_intr_handler()
1270 for (qidx = 0; qidx < pf->hw.tx_queues; qidx++) { in otx2_free_sq_res()
1291 hw->sqpool_cnt = hw->tx_queues; in otx2_init_hw_resources()
1454 pf->qset.cq_cnt = pf->hw.rx_queues + pf->hw.tx_queues; in otx2_open()
1458 pf->hw.cint_cnt = max(pf->hw.rx_queues, pf->hw.tx_queues); in otx2_open()
1474 qset->sq = kcalloc(pf->hw.tx_queues, in otx2_open()
1498 cq_poll->cq_ids[CQ_TX] = (qidx < pf->hw.tx_queues) ? in otx2_open()
[all …]
Dotx2_common.c670 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_sqb_flush()
935 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_config_nix_queues()
979 nixlf->sq_cnt = pfvf->hw.tx_queues; in otx2_config_nix()
1017 for (qidx = 0; qidx < hw->tx_queues; qidx++) { in otx2_sq_free_sqbs()
1214 for (qidx = 0; qidx < hw->tx_queues; qidx++) { in otx2_sq_aura_pool_init()
1234 for (qidx = 0; qidx < hw->tx_queues; qidx++) { in otx2_sq_aura_pool_init()
Dotx2_common.h159 u16 tx_queues; member
644 int tx_queues, int rx_queues);
Dotx2_vf.c497 hw->tx_queues = qcount; in otx2vf_probe()
/Linux-v5.10/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.c712 channel->tx_count = nic->tx_queues; in nicvf_get_channels()
743 nic->tx_queues = channel->tx_count; in nicvf_set_channels()
749 txq_count = nic->xdp_tx_queues + nic->tx_queues; 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()
Dnic.h308 u8 tx_queues; member
628 int tx_queues, int rx_queues);
/Linux-v5.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c53 (TOTAL_DESC - priv->hw_params->tx_queues * priv->hw_params->tx_bds_per_q)
919 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_set_coalesce()
1919 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_tx_reclaim_all()
2684 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_enable_tx_napi()
2700 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_disable_tx_napi()
2714 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_fini_tx_napi()
2757 for (i = 0; i < priv->hw_params->tx_queues; i++) { in bcmgenet_init_tx_queues()
2769 priv->hw_params->tx_queues * in bcmgenet_init_tx_queues()
2775 ((GENET_Q0_PRIORITY + priv->hw_params->tx_queues) << in bcmgenet_init_tx_queues()
2956 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_dma_teardown()
[all …]
Dbcmgenet.h538 u8 tx_queues; member
/Linux-v5.10/drivers/net/wireless/ralink/rt2x00/
Drt2800soc.c226 .tx_queues = NUM_TX_QUEUES,
Drt2x00queue.h505 &(__dev)->tx[(__dev)->ops->tx_queues]
Drt2x00queue.c1246 rt2x00dev->data_queues = 2 + rt2x00dev->ops->tx_queues + req_atim; in rt2x00queue_allocate()
1257 rt2x00dev->bcn = &queue[1 + rt2x00dev->ops->tx_queues]; in rt2x00queue_allocate()
1258 rt2x00dev->atim = req_atim ? &queue[2 + rt2x00dev->ops->tx_queues] : NULL; in rt2x00queue_allocate()
Drt2800pci.c381 .tx_queues = NUM_TX_QUEUES,
Drt2x00.h636 const unsigned int tx_queues; member
1304 if (queue < rt2x00dev->ops->tx_queues && rt2x00dev->tx) in rt2x00queue_get_tx_queue()
Drt2x00dev.c1119 rt2x00dev->hw->queues = rt2x00dev->ops->tx_queues; in rt2x00lib_probe_hw()
1153 roundup_pow_of_two(rt2x00dev->ops->tx_queues * in rt2x00lib_probe_hw()
Drt2800usb.c761 .tx_queues = NUM_TX_QUEUES,
/Linux-v5.10/drivers/net/wireless/intersil/p54/
Dp54.h54 u8 tx_queues; member
/Linux-v5.10/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c312 vqs.tx_queues = BIT(adapter->num_active_queues) - 1; in iavf_enable_queues()
313 vqs.rx_queues = vqs.tx_queues; in iavf_enable_queues()
337 vqs.tx_queues = BIT(adapter->num_active_queues) - 1; in iavf_disable_queues()
338 vqs.rx_queues = vqs.tx_queues; in iavf_disable_queues()
/Linux-v5.10/drivers/net/bonding/
Dbond_main.c94 static int tx_queues = BOND_DEFAULT_TX_QUEUES; variable
120 module_param(tx_queues, int, 0);
121 MODULE_PARM_DESC(tx_queues, "Max number of transmit queues (default = 16)");
4920 if (tx_queues < 1 || tx_queues > 255) { in bond_check_params()
4922 tx_queues, BOND_DEFAULT_TX_QUEUES); in bond_check_params()
4923 tx_queues = BOND_DEFAULT_TX_QUEUES; in bond_check_params()
5153 params->tx_queues = tx_queues; in bond_check_params()
5215 return tx_queues; in bond_get_num_tx_queues()
5234 bond_setup, tx_queues); in bond_create()
/Linux-v5.10/include/linux/avf/
Dvirtchnl.h389 u32 tx_queues; member
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac1000_core.c427 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
Ddwmac4_core.c867 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
872 for (queue = 0; queue < tx_queues; queue++) { in dwmac4_debug()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c2500 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps()
2502 vqs->tx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF)) in ice_vc_validate_vqs_bitmaps()
2619 q_map = vqs->tx_queues; in ice_vc_ena_qs_msg()
2684 if (vqs->tx_queues) { in ice_vc_dis_qs_msg()
2685 q_map = vqs->tx_queues; in ice_vc_dis_qs_msg()
/Linux-v5.10/include/net/
Dbonding.h136 int tx_queues; member

12