[dpdk-dev] [PATCH v2] doc: fix formatting in testpmd user guide

Bing Zhao bingz at nvidia.com
Sun Apr 25 08:12:42 CEST 2021


Hi,

> -----Original Message-----
> From: Ferruh Yigit <ferruh.yigit at intel.com>
> Sent: Saturday, April 24, 2021 12:30 AM
> To: Xiaoyun Li <xiaoyun.li at intel.com>; Ori Kam <orika at nvidia.com>;
> Bing Zhao <bingz at nvidia.com>
> Cc: Ferruh Yigit <ferruh.yigit at intel.com>; dev at dpdk.org; Ajit
> Khaparde <ajit.khaparde at broadcom.com>
> Subject: [PATCH v2] doc: fix formatting in testpmd user guide
> 
> External email: Use caution opening links or attachments
> 
> 
> From: Ajit Khaparde <ajit.khaparde at broadcom.com>
> 
> Fix formatting in testpmd user guide for hairpin operation.
> 
> Fixes: 01817b10d27c ("app/testpmd: change hairpin queues setup")
> Cc:stable at dpdk.org
> 
> Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
> ---
> Cc: Bing Zhao <bingz at nvidia.com>
> Cc: Ori Kam <orika at nvidia.com>
> 
> v2:
> * Fix only list formatting
> ---
>  doc/guides/testpmd_app_ug/run_app.rst | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
> diff --git a/doc/guides/testpmd_app_ug/run_app.rst
> b/doc/guides/testpmd_app_ug/run_app.rst
> index d0621658ae64..eb4831835322 100644
> --- a/doc/guides/testpmd_app_ug/run_app.rst
> +++ b/doc/guides/testpmd_app_ug/run_app.rst
> @@ -538,8 +538,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.
> --
> 2.30.2

Reviewed-by: Bing Zhao <bingz at nvidia.com>


More information about the dev mailing list