Skip to content

Commit

Permalink
doc: fix colons in testpmd aged flow rules
Browse files Browse the repository at this point in the history
[ upstream commit ea30023 ]

In testpmd documentation, for listing aged-out flow rules there is some
boxes of examples.

In Sphinx syntax, those boxes are achieved by "::" before. However,
in two places it uses ":" instead and the example looks like a regular
text.

This patch replace the ":" with "::" to get code box.

Fixes: 0e459ff ("app/testpmd: support flow aging")

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Reviewed-by: Thomas Monjalon <thomas@monjalon.net>
  • Loading branch information
michaelbaum1 authored and kevintraynor committed Nov 23, 2022
1 parent 9f54b0a commit 24d7600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/guides/testpmd_app_ug/testpmd_funcs.rst
Expand Up @@ -4361,7 +4361,7 @@ Listing and destroying aged flow rules
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

``flow aged`` simply lists aged flow rules be get from api ``rte_flow_get_aged_flows``,
and ``destroy`` parameter can be used to destroy those flow rules in PMD.
and ``destroy`` parameter can be used to destroy those flow rules in PMD::

flow aged {port_id} [destroy]

Expand Down Expand Up @@ -4396,7 +4396,7 @@ will be ID 3, ID 1, ID 0::
1 0 0 i--
0 0 0 i--

If attach ``destroy`` parameter, the command will destroy all the list aged flow rules.
If attach ``destroy`` parameter, the command will destroy all the list aged flow rules::

testpmd> flow aged 0 destroy
Port 0 total aged flows: 4
Expand Down

0 comments on commit 24d7600

Please sign in to comment.