numam-dpdk/lib/ethdev
Lijun Ou 9ad9ff476c ethdev: add queue state in queried queue information
Currently, upper-layer application could get queue state only
through pointers such as dev->data->tx_queue_state[queue_id],
this is not the recommended way to access it. So this patch
add get queue state when call rte_eth_rx_queue_info_get and
rte_eth_tx_queue_info_get API.

Note: After add queue_state field, the 'struct rte_eth_rxq_info' size
remains 128B, and the 'struct rte_eth_txq_info' size remains 64B, so
it could be ABI compatible.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2021-04-19 18:25:35 +02:00
..
ethdev_driver.h ethdev: add queue state in queried queue information 2021-04-19 18:25:35 +02:00
ethdev_pci.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
ethdev_private.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
ethdev_private.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
ethdev_profile.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
ethdev_profile.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
ethdev_trace_points.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
ethdev_vdev.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_class_eth.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_dev_info.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_eth_ctrl.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_ethdev_core.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_ethdev_trace_fp.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_ethdev_trace.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_ethdev.c ethdev: add queue state in queried queue information 2021-04-19 18:25:35 +02:00
rte_ethdev.h ethdev: add queue state in queried queue information 2021-04-19 18:25:35 +02:00
rte_flow_driver.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_flow.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_flow.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_mtr_driver.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_mtr.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_mtr.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_tm_driver.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_tm.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
rte_tm.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
version.map lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00