Home
last modified time | relevance | path

Searched refs:nb_tx_q (Results 1 – 17 of 17) sorted by relevance

/dpdk/lib/ethdev/
H A Drte_ethdev_trace.h25 uint16_t nb_tx_q, const struct rte_eth_conf *dev_conf, int rc),
28 rte_trace_point_emit_u16(nb_tx_q);
H A Drte_ethdev.c1128 if (nb_rx_q == 0 && nb_tx_q == 0) { in rte_eth_dev_configure()
1132 nb_tx_q = dev_info.default_txportconf.nb_queues; in rte_eth_dev_configure()
1133 if (nb_tx_q == 0) in rte_eth_dev_configure()
1134 nb_tx_q = RTE_ETH_DEV_FALLBACK_TX_NBQUEUES; in rte_eth_dev_configure()
1145 if (nb_tx_q > RTE_MAX_QUEUES_PER_PORT) { in rte_eth_dev_configure()
1148 nb_tx_q, RTE_MAX_QUEUES_PER_PORT); in rte_eth_dev_configure()
1165 if (nb_tx_q > dev_info.max_tx_queues) { in rte_eth_dev_configure()
1167 port_id, nb_tx_q, dev_info.max_tx_queues); in rte_eth_dev_configure()
1281 diag = eth_dev_tx_queue_config(dev, nb_tx_q); in rte_eth_dev_configure()
1329 rte_ethdev_trace_configure(port_id, nb_rx_q, nb_tx_q, dev_conf, 0); in rte_eth_dev_configure()
[all …]
/dpdk/drivers/net/hns3/
H A Dhns3_dcb.c675 tx_qnum_per_tc = nb_tx_q / hw->num_tc; in hns3_tc_queue_mapping_cfg()
677 if (used_tx_queues != nb_tx_q) { in hns3_tc_queue_mapping_cfg()
680 nb_tx_q, hw->num_tc); in hns3_tc_queue_mapping_cfg()
736 if (nb_tx_q < hw->num_tc) { in hns3_queue_to_tc_mapping()
738 nb_tx_q, hw->num_tc); in hns3_queue_to_tc_mapping()
746 return hns3_tc_queue_mapping_cfg(hw, nb_tx_q); in hns3_queue_to_tc_mapping()
751 uint16_t nb_tx_q) in hns3_dcb_update_tc_queue_mapping() argument
1473 uint16_t nb_tx_q = hw->data->nb_tx_queues; in hns3_dcb_info_update() local
1487 if (nb_tx_q < num_tc) { in hns3_dcb_info_update()
1489 nb_tx_q, num_tc); in hns3_dcb_info_update()
[all …]
H A Dhns3_dcb.h208 uint16_t nb_tx_q);
H A Dhns3_rxtx.c235 uint16_t nb_tx_q; in hns3_free_tx_queues() local
238 nb_tx_q = hw->data->nb_tx_queues; in hns3_free_tx_queues()
239 for (i = 0; i < nb_tx_q; i++) { in hns3_free_tx_queues()
347 uint16_t nb_tx_q = hw->data->nb_tx_queues; in hns3_update_all_queues_pvid_proc_en() local
360 if (i < nb_tx_q) { in hns3_update_all_queues_pvid_proc_en()
385 uint16_t nb_tx_q = hw->data->nb_tx_queues; in hns3_enable_all_queues() local
1484 uint16_t nb_tx_q; in hns3_fake_tx_queue_setup() local
1510 nb_tx_q = dev->data->nb_tx_queues; in hns3_fake_tx_queue_setup()
1512 (nb_tx_q + idx) * HNS3_TQP_REG_SIZE); in hns3_fake_tx_queue_setup()
1615 uint16_t nb_tx_q) in hns3_set_fake_rx_or_tx_queues() argument
[all …]
H A Dhns3_ethdev_vf.c464 uint16_t nb_tx_q = dev->data->nb_tx_queues; in hns3vf_dev_configure() local
469 hw->cfg_max_queues = RTE_MAX(nb_rx_q, nb_tx_q); in hns3vf_dev_configure()
481 ret = hns3_set_fake_rx_or_tx_queues(dev, nb_rx_q, nb_tx_q); in hns3vf_dev_configure()
1723 uint16_t nb_tx_q = hw->data->nb_tx_queues; in hns3vf_do_start() local
1726 ret = hns3_queue_to_tc_mapping(hw, nb_rx_q, nb_tx_q); in hns3vf_do_start()
H A Dhns3_rxtx.h741 uint16_t nb_tx_q);
H A Dhns3_stats.c817 uint16_t nb_tx_q = dev->data->nb_tx_queues; in hns3_xstats_calc_num() local
819 int tx_comm_stats_num = nb_tx_q * HNS3_PF_VF_TX_COMM_STATS_NUM; in hns3_xstats_calc_num()
H A Dhns3_ethdev.c1983 uint16_t nb_tx_q = dev->data->nb_tx_queues; in hns3_dev_configure() local
1988 hw->cfg_max_queues = RTE_MAX(nb_rx_q, nb_tx_q); in hns3_dev_configure()
2000 ret = hns3_set_fake_rx_or_tx_queues(dev, nb_rx_q, nb_tx_q); in hns3_dev_configure()
/dpdk/lib/pdump/
H A Drte_pdump.c287 uint16_t nb_rx_q = 0, nb_tx_q = 0, end_q, queue; in set_pdump_rxtx_cbs() local
346 nb_tx_q = dev_info.nb_tx_queues; in set_pdump_rxtx_cbs()
352 if (nb_tx_q == 0 && flags & RTE_PDUMP_FLAG_TX) { in set_pdump_rxtx_cbs()
357 if ((nb_tx_q == 0 || nb_rx_q == 0) && in set_pdump_rxtx_cbs()
377 end_q = (queue == RTE_PDUMP_ALL_QUEUES) ? nb_tx_q : queue + 1; in set_pdump_rxtx_cbs()
/dpdk/app/test/
H A Dtest_link_bonding.c72 uint16_t nb_tx_q; member
98 .nb_tx_q = 1,
181 test_params->nb_tx_q, &default_pmd_conf), in configure_ethdev()
194 for (q_id = 0; q_id < test_params->nb_tx_q; q_id++) in configure_ethdev()
4122 test_params->nb_tx_q = 4; in test_reconfigure_bonded_device()
4128 test_params->nb_tx_q = 2; in test_reconfigure_bonded_device()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.c1351 uint16_t nb_tx_q = dev->data->nb_tx_queues; in txgbe_check_mq_mode() local
1404 (nb_tx_q > RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool)) { in txgbe_check_mq_mode()
1408 nb_rx_q, nb_tx_q, in txgbe_check_mq_mode()
1439 if (nb_tx_q != TXGBE_VMDQ_DCB_NB_QUEUES) { in txgbe_check_mq_mode()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.c2242 uint16_t nb_tx_q = dev->data->nb_tx_queues; in ixgbe_check_mq_mode() local
2293 (nb_tx_q > RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool)) { in ixgbe_check_mq_mode()
2297 nb_rx_q, nb_tx_q, in ixgbe_check_mq_mode()
2328 if (nb_tx_q != IXGBE_VMDQ_DCB_NB_QUEUES) { in ixgbe_check_mq_mode()
2377 if (nb_tx_q > IXGBE_NONE_MODE_TX_NB_QUEUES) { in ixgbe_check_mq_mode()
/dpdk/app/test-pmd/
H A Dtestpmd.c591 eth_dev_configure_mp(uint16_t port_id, uint16_t nb_rx_q, uint16_t nb_tx_q, in eth_dev_configure_mp() argument
595 return rte_eth_dev_configure(port_id, nb_rx_q, nb_tx_q, in eth_dev_configure_mp()
/dpdk/doc/guides/nics/
H A Denic.rst34 expected nb_tx_q parameter in the call to
/dpdk/drivers/net/e1000/
H A Digb_ethdev.c1074 uint16_t nb_tx_q = dev->data->nb_tx_queues; in igb_check_mq_mode() local
1111 if ((nb_rx_q > 1) || (nb_tx_q > 1)) { in igb_check_mq_mode()
/dpdk/doc/guides/rel_notes/
H A Drelease_18_05.rst373 If both the ``nb_rx_q`` and ``nb_tx_q`` parameters are zero,