numam-dpdk/devtools
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
..
cocci devtools/cocci: create safer version of strlcpy script 2019-04-04 22:45:33 +02:00
build-dict.sh devtools: add checkpatch spelling dictionary builder 2020-07-31 01:09:26 +02:00
build-tags.sh lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
check-abi-version.sh devtools: handle internal version in symbols check 2020-05-19 19:12:18 +02:00
check-abi.sh devtools: skip removed DLB driver in ABI check 2021-04-13 11:25:56 +02:00
check-dup-includes.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
check-forbidden-tokens.awk devtools: fix directory filter in forbidden token check 2020-11-13 09:35:04 +01:00
check-git-log.sh switch default git branch name to main 2020-08-12 15:32:07 +02:00
check-maintainers.sh devtools: rename variables in maintainers file parsing 2020-08-07 13:02:11 +02:00
check-spdx-tag.sh build: remove Windows export symbol list 2021-04-08 17:57:33 +02:00
check-symbol-change.sh devtools: ignore internal ABI check 2020-04-25 17:01:01 +02:00
check-symbol-maps.sh build: remove Windows export symbol list 2021-04-08 17:57:33 +02:00
checkpatches.sh switch default git branch name to main 2020-08-12 15:32:07 +02:00
cocci.sh fix Mellanox copyright and SPDX tag 2020-02-13 18:47:28 +01:00
gen-abi.sh devtools: adjust verbosity of ABI check 2021-01-13 00:04:33 +01:00
get-maintainer.sh devtools: support FreeBSD 2019-07-31 00:22:33 +02:00
git-log-fixes.sh build: remove makefiles 2020-09-08 00:09:50 +02:00
libabigail.abignore ethdev: add queue state in queried queue information 2021-04-19 18:25:35 +02:00
load-devel-config devtools: add SPDX license tag to config loader 2020-02-22 15:17:03 +01:00
test-meson-builds.sh build: alias default build as generic 2021-04-09 19:11:26 +02:00
test-null.sh eal: replace blacklist/whitelist options 2020-11-16 00:11:22 +01:00
update_version_map_abi.py build: remove Windows export symbol list 2021-04-08 17:57:33 +02:00
update-abi.sh build: replace use of old build macros 2020-10-19 22:15:44 +02:00
update-patches.py devtools: add script to ease backport of renamed files 2021-04-21 14:17:29 +02:00
words-case.txt devtools: add acronyms in dictionary for commit checks 2021-03-12 07:00:11 +01:00