Skip to content

Commit

Permalink
doc: fix formatting in testpmd guide
Browse files Browse the repository at this point in the history
[ upstream commit ea2066b ]

Fix formatting in testpmd user guide for hairpin operation.

Fixes: 01817b1 ("app/testpmd: change hairpin queues setup")

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
Reviewed-by: Bing Zhao <bingz@nvidia.com>
  • Loading branch information
ajitkhaparde authored and steevenlee committed Jun 8, 2021
1 parent 9886a1a commit 8d04d02
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/guides/testpmd_app_ug/run_app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,10 @@ The command line options are:

* ``--hairpin-mode=0xXX``

Set the hairpin port mode with bitmask, only valid when hairpin queues number is set.
bit 4 - explicit Tx flow rule
bit 1 - two hairpin ports paired
bit 0 - two hairpin ports loop
Set the hairpin port mode with bitmask, only valid when hairpin queues number is set::

bit 4 - explicit Tx flow rule
bit 1 - two hairpin ports paired
bit 0 - two hairpin ports loop

The default value is 0. Hairpin will use single port mode and implicit Tx flow mode.

0 comments on commit 8d04d02

Please sign in to comment.