| /f-stack/dpdk/lib/librte_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 | 1332 if (nb_rx_q == 0 && nb_tx_q == 0) { in rte_eth_dev_configure() 1333 nb_rx_q = dev_info.default_rxportconf.nb_queues; in rte_eth_dev_configure() 1334 if (nb_rx_q == 0) in rte_eth_dev_configure() 1335 nb_rx_q = RTE_ETH_DEV_FALLBACK_RX_NBQUEUES; in rte_eth_dev_configure() 1341 if (nb_rx_q > RTE_MAX_QUEUES_PER_PORT) { in rte_eth_dev_configure() 1344 nb_rx_q, RTE_MAX_QUEUES_PER_PORT); in rte_eth_dev_configure() 1362 if (nb_rx_q > dev_info.max_rx_queues) { in rte_eth_dev_configure() 1364 port_id, nb_rx_q, dev_info.max_rx_queues); in rte_eth_dev_configure() 1489 diag = eth_dev_rx_queue_config(dev, nb_rx_q); in rte_eth_dev_configure() 1545 rte_ethdev_trace_configure(port_id, nb_rx_q, nb_tx_q, dev_conf, 0); in rte_eth_dev_configure() [all …]
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_dcb.c | 604 hns3_set_rss_size(struct hns3_hw *hw, uint16_t nb_rx_q) in hns3_set_rss_size() argument 611 rx_qnum_per_tc = nb_rx_q / hw->num_tc; in hns3_set_rss_size() 620 if (used_rx_queues != nb_rx_q) { in hns3_set_rss_size() 623 nb_rx_q, hw->num_tc); in hns3_set_rss_size() 688 ret = hns3_set_rss_size(hw, nb_rx_q); in hns3_queue_to_tc_mapping() 704 ret = hns3_queue_to_tc_mapping(hw, nb_rx_q, nb_tx_q); in hns3_dcb_update_tc_queue_mapping() 1354 uint16_t nb_rx_q = hw->data->nb_rx_queues; in hns3_dcb_cfg_validate() local 1448 uint16_t nb_rx_q = hw->data->nb_rx_queues; in hns3_dcb_info_update() local 1457 if (nb_rx_q < num_tc) { in hns3_dcb_info_update() 1459 nb_rx_q, num_tc); in hns3_dcb_info_update() [all …]
|
| H A D | hns3_rxtx.c | 198 uint16_t nb_rx_q; in hns3_free_rx_queues() local 201 nb_rx_q = hw->data->nb_rx_queues; in hns3_free_rx_queues() 202 for (i = 0; i < nb_rx_q; i++) { in hns3_free_rx_queues() 334 uint16_t nb_rx_q = hw->data->nb_rx_queues; in hns3_update_all_queues_pvid_proc_en() local 343 if (i < nb_rx_q) { in hns3_update_all_queues_pvid_proc_en() 372 uint16_t nb_rx_q = hw->data->nb_rx_queues; in hns3_enable_all_queues() local 916 uint16_t nb_rx_q = hw->data->nb_rx_queues; in hns3_dev_all_rx_queue_intr_enable() local 922 for (i = 0; i < nb_rx_q; i++) in hns3_dev_all_rx_queue_intr_enable() 1276 uint16_t nb_rx_q; in hns3_fake_rx_queue_setup() local 1301 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 | 779 uint16_t nb_rx_q = dev->data->nb_rx_queues; in hns3vf_dev_configure() local 786 hw->cfg_max_queues = RTE_MAX(nb_rx_q, nb_tx_q); in hns3vf_dev_configure() 799 ret = hns3_set_fake_rx_or_tx_queues(dev, nb_rx_q, nb_tx_q); in hns3vf_dev_configure() 1415 hns3vf_set_tc_queue_mapping(struct hns3_adapter *hns, uint16_t nb_rx_q, in hns3vf_set_tc_queue_mapping() argument 1420 if (nb_rx_q < hw->num_tc) { in hns3vf_set_tc_queue_mapping() 1422 nb_rx_q, hw->num_tc); in hns3vf_set_tc_queue_mapping() 1432 return hns3_queue_to_tc_mapping(hw, nb_rx_q, nb_tx_q); in hns3vf_set_tc_queue_mapping() 2068 uint16_t nb_rx_q = hw->data->nb_rx_queues; in hns3vf_do_start() local 2072 ret = hns3vf_set_tc_queue_mapping(hns, nb_rx_q, nb_tx_q); in hns3vf_do_start()
|
| H A D | hns3_rxtx.h | 662 int hns3_set_fake_rx_or_tx_queues(struct rte_eth_dev *dev, uint16_t nb_rx_q,
|
| H A D | hns3_ethdev.c | 2312 uint16_t nb_rx_q = dev->data->nb_rx_queues; in hns3_dev_configure() local 2319 hw->cfg_max_queues = RTE_MAX(nb_rx_q, nb_tx_q); in hns3_dev_configure() 2332 ret = hns3_set_fake_rx_or_tx_queues(dev, nb_rx_q, nb_tx_q); in hns3_dev_configure()
|
| /f-stack/dpdk/lib/librte_pdump/ |
| H A D | rte_pdump.c | 234 uint16_t nb_rx_q = 0, nb_tx_q = 0, end_q, queue; in set_pdump_rxtx_cbs() local 282 nb_rx_q = dev_info.nb_rx_queues; in set_pdump_rxtx_cbs() 284 if (nb_rx_q == 0 && flags & RTE_PDUMP_FLAG_RX) { in set_pdump_rxtx_cbs() 294 if ((nb_tx_q == 0 || nb_rx_q == 0) && in set_pdump_rxtx_cbs() 304 end_q = (queue == RTE_PDUMP_ALL_QUEUES) ? nb_rx_q : queue + 1; in set_pdump_rxtx_cbs()
|
| /f-stack/dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.c | 1090 txgbe_check_vf_rss_rxq_num(struct rte_eth_dev *dev, uint16_t nb_rx_q) in txgbe_check_vf_rss_rxq_num() argument 1094 switch (nb_rx_q) { in txgbe_check_vf_rss_rxq_num() 1117 uint16_t nb_rx_q = dev->data->nb_rx_queues; in txgbe_check_mq_mode() local 1135 if (nb_rx_q <= RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool) in txgbe_check_mq_mode() 1136 if (txgbe_check_vf_rss_rxq_num(dev, nb_rx_q)) { in txgbe_check_mq_mode() 1170 if ((nb_rx_q > RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool) || in txgbe_check_mq_mode() 1175 nb_rx_q, nb_tx_q, in txgbe_check_mq_mode() 1189 if (nb_rx_q != TXGBE_VMDQ_DCB_NB_QUEUES) { in txgbe_check_mq_mode()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_link_bonding.c | 71 uint16_t nb_rx_q; member 97 .nb_rx_q = 1, 181 TEST_ASSERT_SUCCESS(rte_eth_dev_configure(port_id, test_params->nb_rx_q, in configure_ethdev() 185 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()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.c | 2191 ixgbe_check_vf_rss_rxq_num(struct rte_eth_dev *dev, uint16_t nb_rx_q) in ixgbe_check_vf_rss_rxq_num() argument 2195 switch (nb_rx_q) { in ixgbe_check_vf_rss_rxq_num() 2219 uint16_t nb_rx_q = dev->data->nb_rx_queues; in ixgbe_check_mq_mode() local 2237 if (nb_rx_q <= RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool) in ixgbe_check_mq_mode() 2238 if (ixgbe_check_vf_rss_rxq_num(dev, nb_rx_q)) { in ixgbe_check_mq_mode() 2270 if ((nb_rx_q > RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool) || in ixgbe_check_mq_mode() 2275 nb_rx_q, nb_tx_q, in ixgbe_check_mq_mode() 2289 if (nb_rx_q != IXGBE_VMDQ_DCB_NB_QUEUES) { in ixgbe_check_mq_mode()
|
| /f-stack/dpdk/drivers/net/fm10k/ |
| H A D | fm10k_ethdev.c | 412 uint16_t nb_rx_q = dev->data->nb_rx_queues; in fm10k_check_mq_mode() local 432 vmdq_conf->nb_queue_pools > nb_rx_q) { in fm10k_check_mq_mode()
|
| /f-stack/dpdk/doc/guides/nics/ |
| H A D | enic.rst | 38 equal to *twice* the value of the expected nb_rx_q parameter in
|
| /f-stack/dpdk/drivers/net/e1000/ |
| H A D | igb_ethdev.c | 1084 uint16_t nb_rx_q = dev->data->nb_rx_queues; in igb_check_mq_mode() local 1122 if ((nb_rx_q > 1) || (nb_tx_q > 1)) { in igb_check_mq_mode()
|
| /f-stack/dpdk/doc/guides/rel_notes/ |
| H A D | release_18_05.rst | 420 If both the ``nb_rx_q`` and ``nb_tx_q`` parameters are zero,
|