doc: add flow dump command in testpmd guide

Explanation of flow dump command is added into testpmd functions.

Fixes: 1e8a4e97b0 ("app/testpmd: add flow dump command")

Signed-off-by: Xiaoyu Min <jackmin@mellanox.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Xiaoyu Min 2020-01-20 06:01:45 +02:00 committed by Ferruh Yigit
parent 024e95759c
commit a69c335d56

View File

@ -3604,6 +3604,10 @@ following sections.
flow isolate {port_id} {boolean}
- Dump internal representation information of all flows in hardware::
flow dump {port_id} {output_file}
Validating flow rules
~~~~~~~~~~~~~~~~~~~~~
@ -4466,6 +4470,22 @@ Disabling isolated mode::
Ingress traffic on port 0 is not restricted anymore to the defined flow rules
testpmd>
Dumping HW internal information
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``flow dump`` dumps the hardware's internal representation information of
all flows. It is bound to ``rte_flow_dev_dump()``::
flow dump {port_id} {output_file}
If successful, it will show::
Flow dump finished
Otherwise, it will complain error occurred::
Caught error type [...] ([...]): [...]
Sample QinQ flow rules
~~~~~~~~~~~~~~~~~~~~~~