| /dpdk/lib/ethdev/ |
| H A D | rte_ethdev_trace.h | 24 RTE_TRACE_POINT_ARGS(uint16_t port_id, uint16_t nb_rx_q, 27 rte_trace_point_emit_u16(nb_rx_q);
|
| H A D | rte_ethdev.c | 1128 if (nb_rx_q == 0 && nb_tx_q == 0) { in rte_eth_dev_configure() 1129 nb_rx_q = dev_info.default_rxportconf.nb_queues; in rte_eth_dev_configure() 1130 if (nb_rx_q == 0) in rte_eth_dev_configure() 1131 nb_rx_q = RTE_ETH_DEV_FALLBACK_RX_NBQUEUES; in rte_eth_dev_configure() 1137 if (nb_rx_q > RTE_MAX_QUEUES_PER_PORT) { in rte_eth_dev_configure() 1140 nb_rx_q, RTE_MAX_QUEUES_PER_PORT); in rte_eth_dev_configure() 1158 if (nb_rx_q > dev_info.max_rx_queues) { in rte_eth_dev_configure() 1160 port_id, nb_rx_q, dev_info.max_rx_queues); in rte_eth_dev_configure() 1272 diag = eth_dev_rx_queue_config(dev, nb_rx_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 D | hns3_dcb.c | 626 hns3_set_rss_size(struct hns3_hw *hw, uint16_t nb_rx_q) in hns3_set_rss_size() argument 633 rx_qnum_per_tc = nb_rx_q / hw->num_tc; in hns3_set_rss_size() 642 if (used_rx_queues != nb_rx_q) { in hns3_set_rss_size() 645 nb_rx_q, hw->num_tc); in hns3_set_rss_size() 730 if (nb_rx_q < hw->num_tc) { in hns3_queue_to_tc_mapping() 732 nb_rx_q, hw->num_tc); in hns3_queue_to_tc_mapping() 742 ret = hns3_set_rss_size(hw, nb_rx_q); in hns3_queue_to_tc_mapping() 1472 uint16_t nb_rx_q = hw->data->nb_rx_queues; in hns3_dcb_info_update() local 1481 if (nb_rx_q < num_tc) { in hns3_dcb_info_update() 1483 nb_rx_q, num_tc); in hns3_dcb_info_update() [all …]
|
| H A D | hns3_rxtx.c | 210 uint16_t nb_rx_q; in hns3_free_rx_queues() local 213 nb_rx_q = hw->data->nb_rx_queues; in hns3_free_rx_queues() 214 for (i = 0; i < nb_rx_q; i++) { in hns3_free_rx_queues() 346 uint16_t nb_rx_q = hw->data->nb_rx_queues; in hns3_update_all_queues_pvid_proc_en() local 355 if (i < nb_rx_q) { in hns3_update_all_queues_pvid_proc_en() 384 uint16_t nb_rx_q = hw->data->nb_rx_queues; in hns3_enable_all_queues() local 1036 uint16_t nb_rx_q = hw->data->nb_rx_queues; in hns3_dev_all_rx_queue_intr_enable() local 1042 for (i = 0; i < nb_rx_q; i++) in hns3_dev_all_rx_queue_intr_enable() 1393 uint16_t nb_rx_q; in hns3_fake_rx_queue_setup() local 1418 nb_rx_q = dev->data->nb_rx_queues; in hns3_fake_rx_queue_setup() [all …]
|
| H A D | hns3_dcb.h | 207 int hns3_queue_to_tc_mapping(struct hns3_hw *hw, uint16_t nb_rx_q,
|
| H A D | hns3_ethdev_vf.c | 463 uint16_t nb_rx_q = dev->data->nb_rx_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() 1722 uint16_t nb_rx_q = hw->data->nb_rx_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 D | hns3_rxtx.h | 740 int hns3_set_fake_rx_or_tx_queues(struct rte_eth_dev *dev, uint16_t nb_rx_q,
|
| H A D | hns3_stats.c | 816 uint16_t nb_rx_q = dev->data->nb_rx_queues; in hns3_xstats_calc_num() local 818 int rx_comm_stats_num = nb_rx_q * HNS3_PF_VF_RX_COMM_STATS_NUM; in hns3_xstats_calc_num()
|
| H A D | hns3_ethdev.c | 1982 uint16_t nb_rx_q = dev->data->nb_rx_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 D | rte_pdump.c | 287 uint16_t nb_rx_q = 0, nb_tx_q = 0, end_q, queue; in set_pdump_rxtx_cbs() local 345 nb_rx_q = dev_info.nb_rx_queues; in set_pdump_rxtx_cbs() 347 if (nb_rx_q == 0 && flags & RTE_PDUMP_FLAG_RX) { in set_pdump_rxtx_cbs() 357 if ((nb_tx_q == 0 || nb_rx_q == 0) && in set_pdump_rxtx_cbs() 367 end_q = (queue == RTE_PDUMP_ALL_QUEUES) ? nb_rx_q : queue + 1; in set_pdump_rxtx_cbs()
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.c | 1323 txgbe_check_vf_rss_rxq_num(struct rte_eth_dev *dev, uint16_t nb_rx_q) in txgbe_check_vf_rss_rxq_num() argument 1327 switch (nb_rx_q) { in txgbe_check_vf_rss_rxq_num() 1350 uint16_t nb_rx_q = dev->data->nb_rx_queues; in txgbe_check_mq_mode() local 1368 if (nb_rx_q <= RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool) in txgbe_check_mq_mode() 1369 if (txgbe_check_vf_rss_rxq_num(dev, nb_rx_q)) { in txgbe_check_mq_mode() 1403 if ((nb_rx_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() 1422 if (nb_rx_q != TXGBE_VMDQ_DCB_NB_QUEUES) { in txgbe_check_mq_mode()
|
| /dpdk/app/test/ |
| H A D | test_link_bonding.c | 71 uint16_t nb_rx_q; member 97 .nb_rx_q = 1, 180 TEST_ASSERT_SUCCESS(rte_eth_dev_configure(port_id, test_params->nb_rx_q, in configure_ethdev() 188 for (q_id = 0; q_id < test_params->nb_rx_q; q_id++) in configure_ethdev() 4121 test_params->nb_rx_q = 4; in test_reconfigure_bonded_device() 4127 test_params->nb_rx_q = 2; in test_reconfigure_bonded_device()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.c | 2213 ixgbe_check_vf_rss_rxq_num(struct rte_eth_dev *dev, uint16_t nb_rx_q) in ixgbe_check_vf_rss_rxq_num() argument 2217 switch (nb_rx_q) { in ixgbe_check_vf_rss_rxq_num() 2241 uint16_t nb_rx_q = dev->data->nb_rx_queues; in ixgbe_check_mq_mode() local 2259 if (nb_rx_q <= RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool) in ixgbe_check_mq_mode() 2260 if (ixgbe_check_vf_rss_rxq_num(dev, nb_rx_q)) { in ixgbe_check_mq_mode() 2292 if ((nb_rx_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() 2311 if (nb_rx_q != IXGBE_VMDQ_DCB_NB_QUEUES) { in ixgbe_check_mq_mode()
|
| /dpdk/app/test-pmd/ |
| H A D | testpmd.c | 591 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/drivers/net/fm10k/ |
| H A D | fm10k_ethdev.c | 413 uint16_t nb_rx_q = dev->data->nb_rx_queues; in fm10k_check_mq_mode() local 433 vmdq_conf->nb_queue_pools > nb_rx_q) { in fm10k_check_mq_mode()
|
| /dpdk/doc/guides/nics/ |
| H A D | enic.rst | 38 equal to *twice* the value of the expected nb_rx_q parameter in
|
| /dpdk/drivers/net/e1000/ |
| H A D | igb_ethdev.c | 1073 uint16_t nb_rx_q = dev->data->nb_rx_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 D | release_18_05.rst | 373 If both the ``nb_rx_q`` and ``nb_tx_q`` parameters are zero,
|