[PATCH v6] app/testpmd: add Host Shaper command
Spike Du
spiked at nvidia.com
Mon Jun 13 04:50:05 CEST 2022
this patch is taken out from series of "introduce per-queue available descriptor threshold and host shaper"
to simplify the review, and it's the last one for non-PMD change.
However it depends on a PMD commit for host shaper config API, should be merged after PMD patches.
--
v6:
- add 'static' keyword for cmdline structs
- in AVAIL_THRESH event callback, add check to ensure it's mlx5 port
Spike Du (1):
app/testpmd: add Host Shaper command
app/test-pmd/testpmd.c | 11 +++
doc/guides/nics/mlx5.rst | 46 +++++++++
drivers/net/mlx5/meson.build | 4 +
drivers/net/mlx5/mlx5_testpmd.c | 206 ++++++++++++++++++++++++++++++++++++++++
drivers/net/mlx5/mlx5_testpmd.h | 26 +++++
5 files changed, 293 insertions(+)
create mode 100644 drivers/net/mlx5/mlx5_testpmd.c
create mode 100644 drivers/net/mlx5/mlx5_testpmd.h
--
1.8.3.1
More information about the dev
mailing list