Skip to content

Commit

Permalink
doc: fix rule file parameters in l3fwd-acl guide
Browse files Browse the repository at this point in the history
[ upstream commit 1995c2c ]

Add "--" and remove extra spaces in l3fwd-acl commands.

Fixes: d0dff9b ("doc: sample application user guide")

Signed-off-by: Ibtisam Tariq <ibtisam.tariq@emumba.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
  • Loading branch information
ibtisam-tariq authored and bluca committed Nov 24, 2020
1 parent 37c3e8c commit 5e5d941
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ The application has a number of command line options:

.. code-block:: console
./build/l3fwd-acl [EAL options] -- -p PORTMASK [-P] --config(port,queue,lcore)[,(port,queue,lcore)] --rule_ipv4 FILENAME rule_ipv6 FILENAME [--scalar] [--enable-jumbo [--max-pkt-len PKTLEN]] [--no-numa]
./build/l3fwd-acl [EAL options] -- -p PORTMASK [-P] --config(port,queue,lcore)[,(port,queue,lcore)] --rule_ipv4 FILENAME --rule_ipv6 FILENAME [--scalar] [--enable-jumbo [--max-pkt-len PKTLEN]] [--no-numa]
where,
Expand Down Expand Up @@ -268,7 +268,7 @@ To enable L3 forwarding between two ports, assuming that both ports are in the s

.. code-block:: console
./build/l3fwd-acl -l 1,2 -n 4 -- -p 0x3 --config="(0,0,1),(1,0,2)" --rule_ipv4="./rule_ipv4.db" -- rule_ipv6="./rule_ipv6.db" --scalar
./build/l3fwd-acl -l 1,2 -n 4 -- -p 0x3 --config="(0,0,1),(1,0,2)" --rule_ipv4="./rule_ipv4.db" --rule_ipv6="./rule_ipv6.db" --scalar
In this command:

Expand All @@ -290,9 +290,9 @@ In this command:
| | | | |
+----------+------------+-----------+-------------------------------------+

* The --rule_ipv4 option specifies the reading of IPv4 rules sets from the ./ rule_ipv4.db file.
* The --rule_ipv4 option specifies the reading of IPv4 rules sets from the rule_ipv4.db file.

* The --rule_ipv6 option specifies the reading of IPv6 rules sets from the ./ rule_ipv6.db file.
* The --rule_ipv6 option specifies the reading of IPv6 rules sets from the rule_ipv6.db file.

* The --scalar option specifies the performing of rule lookup with a scalar function.

Expand Down

0 comments on commit 5e5d941

Please sign in to comment.