add API to check queue ID validity and use it to fix a bug

Dengdui Huang (2):
  ethdev: add API to check queue ID validity
  app/testpmd: fix segment fault with invalid queue id

 app/test-pmd/cmdline.c                 | 23 +++++++++++-----
 doc/guides/rel_notes/release_23_07.rst |  5 ++++
 lib/ethdev/rte_ethdev.c                | 30 +++++++++++++++++++++
 lib/ethdev/rte_ethdev.h                | 36 ++++++++++++++++++++++++++
 lib/ethdev/version.map                 |  4 +++
 5 files changed, 91 insertions(+), 7 deletions(-)

-- 
2.33.0

Reply via email to