doc: fix testpmd sample qinq flow rules
PATCH 1/1 doc: fix testpmd sample qinq flow rules
In the Testpmd Flow rules management section, correct the TPID values in the Sample QinQ flow rules sub section.
--- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
doc/guides/testpmd_app_ug/testpmd_funcs.rst +2 -2
@@ -4432,8 +4432,8 @@ The above command sets the inner and outer TPID's to 0x8100. To change the TPID's the following commands should be used:: - testpmd> vlan set outer tpid 0xa100 0 - testpmd> vlan set inner tpid 0x9100 0 + testpmd> vlan set outer tpid 0x88A8 0 + testpmd> vlan set inner tpid 0x8100 0 testpmd> port start 0 Validate and create a QinQ rule on port 0 to steer traffic to a VF queue in a VM.
Signature · 1 line
2.7.4
Hi
There are two other mistakes in this section "Sample QinQ flow rules". Can you help to correct those too?
1. testpmd> vlan set qinq_strip on 0
Creating QinQ rule(s) command line should be "vlan set extend on 0". Qinq_strip is not relevant to qinq flow rules.
2. The sentence "The above command sets the inner and outer TPID's to 0x8100."
Should be "The following command sets the inner TPID to 0x8100 and sets the outer TPID to 0x88A8".
Best Regards
Xiaoyun Li
Quoted 37 lines
-----Original Message-----
From: stable <[email protected]> On Behalf Of Bernard Iremonger
Sent: Thursday, January 14, 2021 19:20
To: [email protected]
Cc: Iremonger, Bernard <[email protected]>; [email protected]
Subject: [dpdk-stable] [PATCH] doc: fix testpmd sample qinq flow rulesIn the Testpmd Flow rules management section, correct the TPID values in the Sample QinQ flow rules sub section.
Fixes bef3bfe7d5f4 ("doc: revise sample testpmd flow commands")Signed-off-by Bernard Iremonger <[email protected]>--- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)doc/guides/testpmd_app_ug/testpmd_funcs.rst +0
-0@@ -4432,8 +4432,8 @@ The above command sets the inner and outer TPID'sto
0x8100.To change the TPID's the following commands should be used::
doc/guides/testpmd_app_ug/testpmd_funcs.rst +2
-3- testpmd> vlan set outer tpid 0xa100 0 - testpmd> vlan set inner tpid 0x9100 0 + testpmd> vlan set outer tpid 0x88A8 0 + testpmd> vlan set inner tpid 0x8100 0 testpmd> port start 0 Validate and create a QinQ rule on port 0 to steer traffic to a VF queue in a VM. --2.7.4
Hi Xiaoyun,
Quoted 50 lines
-----Original Message-----
From: Li, Xiaoyun <[email protected]>
Sent: Friday, January 15, 2021 3:19 AM
To: Iremonger, Bernard <[email protected]>; [email protected]
Cc: Iremonger, Bernard <[email protected]>; [email protected]
Subject: RE: [dpdk-stable] [PATCH] doc: fix testpmd sample qinq flow rulesHi
There are two other mistakes in this section "Sample QinQ flow rules". Can you help to correct those too?
1. testpmd> vlan setqinq_stripon 0
Creating QinQ rule(s) command line should be "vlan set extend on 0".Qinq_stripis not relevant to qinq flow rules.
2. The sentence "The above command sets the inner and outer TPID's to0x8100."
Should be "The following command sets the inner TPID to0x8100and sets the outer TPID to0x88A8".Best Regards
Xiaoyun LiQuoted 5 lines
-----Original Message-----
From: stable <[email protected]> On Behalf Of Bernard Iremonger
Sent: Thursday, January 14, 2021 19:20
To: [email protected]
Cc: Iremonger, Bernard <[email protected]>;Quoted 23 lines
Subject: [dpdk-stable] [PATCH] doc: fix testpmd sample qinq flow rules
In the Testpmd Flow rules management section, correct the TPID values in the Sample QinQ flow rules sub section.
Fixes bef3bfe7d5f4 ("doc: revise sample testpmd flow commands")Signed-off-by Bernard Iremonger <[email protected]>--- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)doc/guides/testpmd_app_ug/testpmd_funcs.rst +0
-0@@ -4432,8 +4432,8 @@ The above command sets the inner and outerTPID's to
0x8100.To change the TPID's the following commands should be used::
Quoted 10 lines
doc/guides/testpmd_app_ug/testpmd_funcs.rst The above command sets the inner and outer TPID's to 0x8100.
Quoted 7 lines
doc/guides/testpmd_app_ug/testpmd_funcs.rst +2
-2- testpmd> vlan set outer tpid 0xa100 0 - testpmd> vlan set inner tpid 0x9100 0 + testpmd> vlan set outer tpid 0x88A8 0 + testpmd> vlan set inner tpid 0x8100 0 testpmd> port start 0 Validate and create a QinQ rule on port 0 to steer traffic to a VF queue in aVM.
Quoted 2 lines
--
2.7.4
I will correct the other mistakes too.
Regards,
Bernard.
Hi Xiaoyun,
Quoted 8 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Iremonger, Bernard
Sent: Tuesday, January 19, 2021 9:23 AM
To: Li, Xiaoyun <[email protected]>; [email protected]
Cc: [email protected]
Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] doc: fix testpmd sample qinq flow rules
Quoted 16 lines
Hi Xiaoyun,
Quoted 5 lines
-----Original Message-----
From: Li, Xiaoyun <[email protected]>
Sent: Friday, January 15, 2021 3:19 AM
To: Iremonger, Bernard <[email protected]>; [email protected]
Cc: Iremonger, Bernard <[email protected]>;Quoted 8 lines
Subject: RE: [dpdk-stable] [PATCH] doc: fix testpmd sample qinq flow rules
Hi
There are two other mistakes in this section "Sample QinQ flow rules". Can you help to correct those too?
1. testpmd> vlan setqinq_stripon 0
Creating QinQ rule(s) command line should be "vlan set extend on 0".
You are correct.
Quoted 1 line
Quoted 1 line
Qinq_stripis not relevant to qinq flow rules.
You are correct.
Quoted 2 lines
Quoted 2 lines
2. The sentence "The above command sets the inner and outer TPID's to
0x8100."
This sentence is correct. Please see lines 4068 to 4076 in i40e_ethdev.c where both inner and outer TPID's are set to RTE_ETHER_TYPE_VLAN (0x8100).
Quoted 46 lines
Quoted 46 lines
Should be "The following command sets the inner TPID to
0x8100and sets the outer TPID to0x88A8".Best Regards
Xiaoyun LiQuoted 6 lines
-----Original Message-----
From: stable <[email protected]> On Behalf Of Bernard Iremonger
Sent: Thursday, January 14, 2021 19:20
To: [email protected]
Cc: Iremonger, Bernard <[email protected]>;Quoted 31 lines
Subject: [dpdk-stable] [PATCH] doc: fix testpmd sample qinq flow rules
In the Testpmd Flow rules management section, correct the TPID values in the Sample QinQ flow rules sub section.
Fixes bef3bfe7d5f4 ("doc: revise sample testpmd flow commands")Signed-off-by Bernard Iremonger <[email protected]>--- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)doc/guides/testpmd_app_ug/testpmd_funcs.rst +0
-0@@ -4432,8 +4432,8 @@ The above command sets the inner and outerTPID's to
0x8100.To change the TPID's the following commands should be used::
doc/guides/testpmd_app_ug/testpmd_funcs.rst +2
-2- testpmd> vlan set outer tpid 0xa100 0 - testpmd> vlan set inner tpid 0x9100 0 + testpmd> vlan set outer tpid 0x88A8 0 + testpmd> vlan set inner tpid 0x8100 0 testpmd> port start 0 Validate and create a QinQ rule on port 0 to steer traffic to a VFQuoted 1 line
queue in a
VM.
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
--
2.7.4I will correct the other mistakes too.
Regards,
Bernard.
My replies are inline above.
Regards,
Bernard.