On Mon, Nov 2, 2020 at 12:20 PM Ibtisam Tariq <ibtisam.ta...@emumba.com> wrote:
>
> Add "--" and remove extra spaces in l3fwd-acl commands.
>
> Fixes: d0dff9ba4 ("doc: sample application user guide")
> Cc: bernard.iremon...@intel.com
>
> Signed-off-by: Ibtisam Tariq <ibtisam.ta...@emumba.com>
> ---
>  doc/guides/sample_app_ug/l3_forward_access_ctrl.rst | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst 
> b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
> index 4a96800ec..3cdfbfb17 100644
> --- a/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
> +++ b/doc/guides/sample_app_ug/l3_forward_access_ctrl.rst
> @@ -236,7 +236,7 @@ The application has a number of command line options:
>
>  ..  code-block:: console
>
> -    ./<build_dir>/examples/dpdk-l3fwd-acl [EAL options] -- -p PORTMASK [-P] 
> --config(port,queue,lcore)[,(port,queue,lcore)] --rule_ipv4 FILENAME 
> rule_ipv6 FILENAME [--alg=<val>] [--enable-jumbo [--max-pkt-len PKTLEN]] 
> [--no-numa] [--eth-dest=X,MM:MM:MM:MM:MM:MM]
> +    ./<build_dir>/examples/dpdk-l3fwd-acl [EAL options] -- -p PORTMASK [-P] 
> --config(port,queue,lcore)[,(port,queue,lcore)] --rule_ipv4 FILENAME 
> --rule_ipv6 FILENAME [--alg=<val>] [--enable-jumbo [--max-pkt-len PKTLEN]] 
> [--no-numa] [--eth-dest=X,MM:MM:MM:MM:MM:MM]
>
>
>  where,
> @@ -271,7 +271,7 @@ To enable L3 forwarding between two ports, assuming that 
> both ports are in the s
>
>  ..  code-block:: console
>
> -    ./<build_dir>/examples/dpdk-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" --alg=scalar
> +    ./<build_dir>/examples/dpdk-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" --alg=scalar
>
>  In this command:
>
> @@ -293,9 +293,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.

No point in keeping the ./ and I would remove it in the cmdline
example above too.


> -*   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 --alg=scalar option specifies the performing of rule lookup with a 
> scalar function.
>
> --
> 2.17.1
>

Reviewed-by: David Marchand <david.march...@redhat.com>

Thanks.

-- 
David Marchand

Reply via email to