doc: fix formatting in testpmd user guide
PATCH 1/1 doc: fix formatting in testpmd user guide
Fix formatting in testpmd user guide for hairpin operation.
--- doc/guides/testpmd_app_ug/run_app.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)
doc/guides/testpmd_app_ug/run_app.rst +7 -5
@@ -531,11 +531,13 @@ 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 - The default value is 0. Hairpin will use single port mode and implicit Tx flow mode. + 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. * ``--eth-link-speed``
Signature · 1 line
2.21.1 (Apple Git-122.3)
Quoted 23 lines · Ajit Khaparde
Fix formatting in testpmd user guide for hairpin operation.
Fixes 01817b10d27c ("app/testpmd: change hairpin queues setup")Signed-off-by Ajit Khaparde <[email protected]>Cc Bing Zhao <[email protected]>Cc Ori Kam <[email protected]>--- doc/guides/testpmd_app_ug/run_app.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)doc/guides/testpmd_app_ug/run_app.rst +0
-3@@ -531,11 +531,13 @@ 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
doc/guides/testpmd_app_ug/run_app.rst The command line options are: · line 541
Quoted 10 lines
doc/guides/testpmd_app_ug/run_app.rst +7
-2- bit 0 - two hairpin ports loop - The default value is 0. Hairpin will use single port mode and implicit Tx flow mode. + 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.
Not sure if the last line intended to be part of the list, what do you think only keep bit descriptions in the box but left the last sentences as regular paragraph. Ori please correct me if I am wrong with the original intention.
Quoted 32 lines · Ferruh Yigit
Quoted 30 lines · Ajit Khaparde
Fix formatting in testpmd user guide for hairpin operation.
Fixes 01817b10d27c ("app/testpmd: change hairpin queues setup")Signed-off-by Ajit Khaparde <[email protected]>Cc Bing Zhao <[email protected]>Cc Ori Kam <[email protected]>--- doc/guides/testpmd_app_ug/run_app.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)doc/guides/testpmd_app_ug/run_app.rst +5
-5@@ -531,11 +531,13 @@ 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 - The default value is 0. Hairpin will use single port mode and implicit Tx flow mode. + 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
Quoted 8 lines
doc/guides/testpmd_app_ug/run_app.rst The command line options are: · line 541
Quoted 3 lines
doc/guides/testpmd_app_ug/run_app.rst +2
-0+ The default value is 0. + Hairpin will use single port mode and implicit Tx flow mode.Not sure if the last line intended to be part of the list, what do you think only keep bit descriptions in the box but left the last sentences as regular paragraph.
Ori please correct me if I am wrong with the original intention.
Ori,
Not just indentation. How about this modified text as well?
- bit 0 - two hairpin ports loop - The default value is 0. - Hairpin will use single port mode and implicit Tx flow mode. + bit 0 - two hairpin ports loop (default)
+
+.. Note::
+
+ When hairpin is used in single port mode, Tx flow rule will be implicit.
Does this statement look right?
Quoted 52 lines · Ajit Khaparde
Quoted 32 lines · Ferruh Yigit
Quoted 30 lines · Ajit Khaparde
Fix formatting in testpmd user guide for hairpin operation.
Fixes 01817b10d27c ("app/testpmd: change hairpin queues setup")Signed-off-by Ajit Khaparde <[email protected]>Cc Bing Zhao <[email protected]>Cc Ori Kam <[email protected]>--- doc/guides/testpmd_app_ug/run_app.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-)doc/guides/testpmd_app_ug/run_app.rst +5
-5@@ -531,11 +531,13 @@ 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 - The default value is 0. Hairpin will use single port mode and implicit Tx flow mode. + 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 loopQuoted 8 lines
doc/guides/testpmd_app_ug/run_app.rst The command line options are: · line 541
Quoted 3 lines
doc/guides/testpmd_app_ug/run_app.rst +2
-0+ The default value is 0. + Hairpin will use single port mode and implicit Tx flow mode.Not sure if the last line intended to be part of the list, what do you think only keep bit descriptions in the box but left the last sentences as regular paragraph.
Ori please correct me if I am wrong with the original intention.Ori,
Not just indentation. How about this modified text as well?(quoted diff) +5
-3- bit 0 - two hairpin ports loop - The default value is 0. - Hairpin will use single port mode and implicit Tx flow mode. + bit 0 - two hairpin ports loop (default) + +.. Note:: + + When hairpin is used in single port mode, Tx flow rule will be implicit.
Quoted 2 lines
Does this statement look right?
Ping
Quoted 48 lines · Ferruh Yigit
Quoted 47 lines · Ajit Khaparde
Quoted 35 lines · Ferruh Yigit
Quoted 33 lines · Ajit Khaparde
Fix formatting in testpmd user guide for hairpin operation.
Fixes 01817b10d27c ("app/testpmd: change hairpin queues setup")Signed-off-by Ajit Khaparde <[email protected]>Cc Bing Zhao <[email protected]>Cc Ori Kam <[email protected]>---
doc/guides/testpmd_app_ug/run_app.rst| 12 +++++++-----1 file changed, 7 insertions(+), 5 deletions(-)doc/guides/testpmd_app_ug/run_app.rst +0
-1@@ -531,11 +531,13 @@ The command line options are: * ``--hairpin-mode=0xXX`` - Set the hairpin port mode with bitmask, only valid when hairpin queuesnumber 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.
+ 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 loopQuoted 8 lines
Quoted 3 lines
+ The default value is 0.
+ Hairpin will use single port mode and implicit Tx flow mode.Not sure if the last line intended to be part of the list, what do you think only keep bit descriptions in the box but left the last sentences as regular paragraph.
Ori please correct me if I am wrong with the original intention.Ori,
Not just indentation. How about this modified text as well?
Quoted 12 lines
Quoted 10 lines
- bit 0 - two hairpin ports loop
- The default value is 0.
- Hairpin will use single port mode and implicit Tx flow mode. + bit 0 - two hairpin ports loop (default)(quoted diff) +4
-0+ +.. Note:: + + When hairpin is used in single port mode, Tx flow rule will be implicit.Does this statement look right?
Ping
Hi Ori, can you please check the question, let's close this patch out of way.
PATCH v2 1/1 doc: fix formatting in testpmd user guide
In reply to Ajit KhapardeFrom: Ajit Khaparde <[email protected]>
Fix formatting in testpmd user guide for hairpin operation.
---
Cc: Bing Zhao <[email protected]>
Cc: Ori Kam <[email protected]>
v2:
* Fix only list formatting
--- doc/guides/testpmd_app_ug/run_app.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
doc/guides/testpmd_app_ug/run_app.rst +6 -4
@@ -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.
Signature · 1 line
2.30.2
Hi
Quoted 9 lines
-----Original Message-----
From: Yigit, Ferruh <[email protected]>
Sent: Saturday, April 24, 2021 00:30
To: Li, Xiaoyun <[email protected]>; Ori Kam <[email protected]>; Bing Zhao <[email protected]>
Cc: Yigit, Ferruh <[email protected]>; [email protected]; Ajit Khaparde <[email protected]>
Subject: [PATCH v2] doc: fix formatting in testpmd user guide
Quoted 6 lines
From: Ajit Khaparde <[email protected]>
Fix formatting in testpmd user guide for hairpin operation.
Fixes 01817b10d27c ("app/testpmd: change hairpin queues setup")
Missing a space after "Cc:" as patchwork says.
Except for this typo,
Ferruh Yigit
AppliedQuoted 15 lines · Xiaoyun
Hi
Quoted 13 lines
-----Original Message-----
From: Yigit, Ferruh <[email protected]>
Sent: Saturday, April 24, 2021 00:30
To: Li, Xiaoyun <[email protected]>; Ori Kam <[email protected]>; Bing Zhao <[email protected]>
Cc: Yigit, Ferruh <[email protected]>; [email protected]; Ajit Khaparde <[email protected]>
Subject: [PATCH v2] doc: fix formatting in testpmd user guideFrom: Ajit Khaparde <[email protected]>
Fix formatting in testpmd user guide for hairpin operation.
Quoted 8 lines
Quoted 2 lines
Fixes 01817b10d27c ("app/testpmd: change hairpin queues setup")Missing a space after "Cc:" as patchwork says.
Except for this typo,
Acked-by Xiaoyun Li <[email protected]>
Applied to dpdk-next-net/main, thanks.
Typo fixed while merging.
Hi,
Quoted 52 lines
-----Original Message-----
From: Ferruh Yigit <[email protected]>
Sent: Saturday, April 24, 2021 12:30 AM
To: Xiaoyun Li <[email protected]>; Ori Kam <[email protected]>; Bing Zhao <[email protected]>
Cc: Ferruh Yigit <[email protected]>; [email protected]; Ajit Khaparde <[email protected]>
Subject: [PATCH v2] doc: fix formatting in testpmd user guideExternal email: Use caution opening links or attachments
From: Ajit Khaparde <[email protected]>
Fix formatting in testpmd user guide for hairpin operation.
Fixes 01817b10d27c ("app/testpmd: change hairpin queues setup")Signed-off-by Ajit Khaparde <[email protected]>---
Cc: Bing Zhao <[email protected]>
Cc: Ori Kam <[email protected]>v2:
* Fix only list formatting--- doc/guides/testpmd_app_ug/run_app.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)doc/guides/testpmd_app_ug/run_app.rst +0
-1@@ -538,8 +538,10 @@ The command line options are: * ``--hairpin-mode=0xXX`` - Set the hairpin port mode with bitmask, only valid when hairpinqueues number is set.
doc/guides/testpmd_app_ug/run_app.rst +1
-3- 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 hairpinqueues number is set::
doc/guides/testpmd_app_ug/run_app.rst +5
-0+ + 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
Quoted 3 lines
implicit Tx flow mode.
--
2.30.2