app/testpmd: add command for single flow dump
authorHaifei Luo <haifeil@nvidia.com>
Wed, 14 Apr 2021 10:20:00 +0000 (13:20 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 14 Apr 2021 11:19:55 +0000 (13:19 +0200)
commitbf085dcba16c350df7ac411ca63af72b880e1188
tree0b54fef4aa25ddd05be0f51bc10d46e266ab3e24
parent50c383793b7b377ed9f733a779976447dbfd8bda
app/testpmd: add command for single flow dump

Add support for single flow dump.
The CLIs to dump one rule: flow dump PORT rule ID
to dump all: flow dump PORT all
Examples:
testpmd> flow dump 0 all
testpmd> flow dump 0 rule 0

Signed-off-by: Haifei Luo <haifeil@nvidia.com>
Acked-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
app/test-pmd/cmdline_flow.c
app/test-pmd/config.c
app/test-pmd/testpmd.h
doc/guides/rel_notes/release_21_05.rst
doc/guides/testpmd_app_ug/testpmd_funcs.rst