Add support for an ethdev TM query function to allow apps to get details
of the TM nodes they previously configured. This patchset includes:

* ethdev changes to add the API
* implementation of the function in "ice" pmd
* testpmd command to allow testing the function

v3: updated comments and removed null check on patch 1.
    Added doc to patch 3.
V2: rebase to the head of next-net tree


Bruce Richardson (3):
  ethdev: add traffic manager query function
  net/ice: add traffic management node query function
  app/testpmd: add support for querying TM nodes

 app/test-pmd/cmdline.c                      |   1 +
 app/test-pmd/cmdline_tm.c                   | 131 ++++++++++++++++++++
 app/test-pmd/cmdline_tm.h                   |   1 +
 doc/guides/testpmd_app_ug/testpmd_funcs.rst |  27 ++++
 drivers/net/ice/ice_tm.c                    |  52 ++++++++
 lib/ethdev/ethdev_trace.h                   |  16 +++
 lib/ethdev/ethdev_trace_points.c            |   3 +
 lib/ethdev/rte_tm.c                         |  22 ++++
 lib/ethdev/rte_tm.h                         |  50 ++++++++
 lib/ethdev/rte_tm_driver.h                  |  12 ++
 lib/ethdev/version.map                      |   1 +
 11 files changed, 316 insertions(+)

--
2.43.0

Reply via email to