Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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()
243 pfvf->hw.tx_queues, pfvf->hw.rx_queues); in otx2_set_channels()
793 (vf->hw.rx_queues + vf->hw.tx_queues); in otx2vf_get_sset_count()
H A Dotx2_pf.c1121 int tx_queues, int rx_queues) in otx2_set_real_num_queues() argument
1125 err = netif_set_real_num_tx_queues(netdev, tx_queues); in otx2_set_real_num_queues()
1128 "Failed to set no of Tx queues: %d\n", tx_queues); in otx2_set_real_num_queues()
1172 for (qidx = 0; qidx < pf->hw.tx_queues; qidx++) { in otx2_q_intr_handler()
1275 for (qidx = 0; qidx < pf->hw.tx_queues; qidx++) { in otx2_free_sq_res()
1296 hw->sqpool_cnt = hw->tx_queues; in otx2_init_hw_resources()
1459 pf->qset.cq_cnt = pf->hw.rx_queues + pf->hw.tx_queues; in otx2_open()
1463 pf->hw.cint_cnt = max(pf->hw.rx_queues, pf->hw.tx_queues); in otx2_open()
1479 qset->sq = kcalloc(pf->hw.tx_queues, in otx2_open()
1503 cq_poll->cq_ids[CQ_TX] = (qidx < pf->hw.tx_queues) ? in otx2_open()
[all …]
H A Dotx2_common.c671 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_sqb_flush()
936 for (qidx = 0; qidx < pfvf->hw.tx_queues; qidx++) { in otx2_config_nix_queues()
980 nixlf->sq_cnt = pfvf->hw.tx_queues; in otx2_config_nix()
1018 for (qidx = 0; qidx < hw->tx_queues; qidx++) { in otx2_sq_free_sqbs()
1230 for (qidx = 0; qidx < hw->tx_queues; qidx++) { in otx2_sq_aura_pool_init()
1250 for (qidx = 0; qidx < hw->tx_queues; qidx++) { in otx2_sq_aura_pool_init()
H A Dotx2_common.h159 u16 tx_queues; member
644 int tx_queues, int rx_queues);
H A Dotx2_vf.c497 hw->tx_queues = qcount; in otx2vf_probe()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/thunder/
H A 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 …]
H A 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()
H A Dnic.h308 u8 tx_queues; member
628 int tx_queues, int rx_queues);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/
H A 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()
1920 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_tx_reclaim_all()
2694 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_enable_tx_napi()
2710 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_disable_tx_napi()
2724 for (i = 0; i < priv->hw_params->tx_queues; ++i) { in bcmgenet_fini_tx_napi()
2767 for (i = 0; i < priv->hw_params->tx_queues; i++) { in bcmgenet_init_tx_queues()
2779 priv->hw_params->tx_queues * in bcmgenet_init_tx_queues()
2785 ((GENET_Q0_PRIORITY + priv->hw_params->tx_queues) << in bcmgenet_init_tx_queues()
2966 for (i = 0; i < priv->hw_params->tx_queues; i++) in bcmgenet_dma_teardown()
[all …]
H A Dbcmgenet.h538 u8 tx_queues; member
/OK3568_Linux_fs/external/dpdk/pcie/e1000/
H A Digb_rxtx.c1307 igb_tx_queue_release(dev->data->tx_queues[qid]); in eth_igb_tx_queue_release()
1546 if (dev->data->tx_queues[queue_idx] != NULL) { in eth_igb_tx_queue_setup()
1547 igb_tx_queue_release(dev->data->tx_queues[queue_idx]); in eth_igb_tx_queue_setup()
1548 dev->data->tx_queues[queue_idx] = NULL; in eth_igb_tx_queue_setup()
1610 dev->data->tx_queues[queue_idx] = txq; in eth_igb_tx_queue_setup()
1892 txq = dev->data->tx_queues[i]; in igb_dev_clear_queues()
1921 dev->data->tx_queues[i] = NULL; in igb_dev_free_queues()
2627 txq = dev->data->tx_queues[i]; in eth_igb_tx_init()
2824 txq = dev->data->tx_queues[i]; in eth_igbvf_tx_init()
2881 txq = dev->data->tx_queues[queue_id]; in igb_txq_info_get()
/OK3568_Linux_fs/kernel/drivers/net/wireless/ralink/rt2x00/
H A Drt2800soc.c226 .tx_queues = NUM_TX_QUEUES,
H A Drt2x00queue.h505 &(__dev)->tx[(__dev)->ops->tx_queues]
H A 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()
H A Drt2x00.h636 const unsigned int tx_queues; member
1304 if (queue < rt2x00dev->ops->tx_queues && rt2x00dev->tx) in rt2x00queue_get_tx_queue()
H A Drt2800pci.c381 .tx_queues = NUM_TX_QUEUES,
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/intersil/p54/
H A Dp54.h54 u8 tx_queues; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/iavf/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/bonding/
H A 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)");
5078 if (tx_queues < 1 || tx_queues > 255) { in bond_check_params()
5080 tx_queues, BOND_DEFAULT_TX_QUEUES); in bond_check_params()
5081 tx_queues = BOND_DEFAULT_TX_QUEUES; in bond_check_params()
5311 params->tx_queues = tx_queues; in bond_check_params()
5373 return tx_queues; in bond_get_num_tx_queues()
5392 bond_setup, tx_queues); in bond_create()
/OK3568_Linux_fs/kernel/include/linux/avf/
H A Dvirtchnl.h389 u32 tx_queues; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_virtchnl_pf.c2530 if ((!vqs->rx_queues && !vqs->tx_queues) || in ice_vc_validate_vqs_bitmaps()
2532 vqs->tx_queues >= BIT(ICE_MAX_RSS_QS_PER_VF)) in ice_vc_validate_vqs_bitmaps()
2649 q_map = vqs->tx_queues; in ice_vc_ena_qs_msg()
2714 if (vqs->tx_queues) { in ice_vc_dis_qs_msg()
2715 q_map = vqs->tx_queues; in ice_vc_dis_qs_msg()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac1000_core.c427 u32 rx_queues, u32 tx_queues) in dwmac1000_debug() argument
H A Ddwmac4_core.c873 u32 rx_queues, u32 tx_queues) in dwmac4_debug() argument
878 for (queue = 0; queue < tx_queues; queue++) { in dwmac4_debug()
/OK3568_Linux_fs/kernel/include/net/
H A Dbonding.h136 int tx_queues; member

12