mbox

[v5,0/2] add Rx/Tx queue ID check API and use it to fix a bug

Message ID 20230605022741.1473230-1-huangdengdui@huawei.com (mailing list archive)
Headers

Message

Dengdui Huang June 5, 2023, 2:27 a.m. UTC
  This series add a commom API to check queue id
and use it to fix a bug.

v4->v5
update document order and correcting typos

v3->v4
update API name and uptate description in the API documentation

v2->v3
update API name and use the internal function
eth_dev_validate_tx_queue() to check queue id

v1->v2
add a commom API to check queue id

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

 app/test-pmd/cmdline.c                 | 23 +++++++++++-----
 doc/guides/rel_notes/release_23_07.rst |  6 ++++
 lib/ethdev/rte_ethdev.c                | 22 +++++++++++++++
 lib/ethdev/rte_ethdev.h                | 38 ++++++++++++++++++++++++++
 lib/ethdev/version.map                 |  2 ++
 5 files changed, 84 insertions(+), 7 deletions(-)