DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: fix testpmd sample qinq flow rules
@ 2021-01-14 11:19 Bernard Iremonger
  2021-01-15  3:18 ` [dpdk-dev] [dpdk-stable] " Li, Xiaoyun
  0 siblings, 1 reply; 4+ messages in thread
From: Bernard Iremonger @ 2021-01-14 11:19 UTC (permalink / raw)
  To: dev; +Cc: Bernard Iremonger, stable

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")
Cc: stable@dpdk.org

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
 doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index 9be4500..e0020d6 100644
--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
@@ -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.
-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [dpdk-stable] [PATCH] doc: fix testpmd sample qinq flow rules
  2021-01-14 11:19 [dpdk-dev] [PATCH] doc: fix testpmd sample qinq flow rules Bernard Iremonger
@ 2021-01-15  3:18 ` Li, Xiaoyun
  2021-01-19  9:22   ` Iremonger, Bernard
  0 siblings, 1 reply; 4+ messages in thread
From: Li, Xiaoyun @ 2021-01-15  3:18 UTC (permalink / raw)
  To: Iremonger, Bernard, dev; +Cc: Iremonger, Bernard, stable

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

> -----Original Message-----
> From: stable <stable-bounces@dpdk.org> On Behalf Of Bernard Iremonger
> Sent: Thursday, January 14, 2021 19:20
> To: dev@dpdk.org
> Cc: Iremonger, Bernard <bernard.iremonger@intel.com>; stable@dpdk.org
> 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")
> Cc: stable@dpdk.org
> 
> Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> ---
>  doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> index 9be4500..e0020d6 100644
> --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> @@ -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.
> --
> 2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [dpdk-stable] [PATCH] doc: fix testpmd sample qinq flow rules
  2021-01-15  3:18 ` [dpdk-dev] [dpdk-stable] " Li, Xiaoyun
@ 2021-01-19  9:22   ` Iremonger, Bernard
  2021-01-19 12:23     ` Iremonger, Bernard
  0 siblings, 1 reply; 4+ messages in thread
From: Iremonger, Bernard @ 2021-01-19  9:22 UTC (permalink / raw)
  To: Li, Xiaoyun, dev; +Cc: stable

Hi Xiaoyun,

> -----Original Message-----
> From: Li, Xiaoyun <xiaoyun.li@intel.com>
> Sent: Friday, January 15, 2021 3:19 AM
> To: Iremonger, Bernard <bernard.iremonger@intel.com>; dev@dpdk.org
> Cc: Iremonger, Bernard <bernard.iremonger@intel.com>; stable@dpdk.org
> 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 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
> 
> > -----Original Message-----
> > From: stable <stable-bounces@dpdk.org> On Behalf Of Bernard Iremonger
> > Sent: Thursday, January 14, 2021 19:20
> > To: dev@dpdk.org
> > Cc: Iremonger, Bernard <bernard.iremonger@intel.com>;
> stable@dpdk.org
> > 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")
> > Cc: stable@dpdk.org
> >
> > Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> > ---
> >  doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> > b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> > index 9be4500..e0020d6 100644
> > --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> > +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> > @@ -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.
> > --
> > 2.7.4

I will correct the other mistakes too.

Regards,

Bernard.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-dev] [dpdk-stable] [PATCH] doc: fix testpmd sample qinq flow rules
  2021-01-19  9:22   ` Iremonger, Bernard
@ 2021-01-19 12:23     ` Iremonger, Bernard
  0 siblings, 0 replies; 4+ messages in thread
From: Iremonger, Bernard @ 2021-01-19 12:23 UTC (permalink / raw)
  To: Iremonger, Bernard, Li, Xiaoyun, dev; +Cc: stable

Hi Xiaoyun,

> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Iremonger, Bernard
> Sent: Tuesday, January 19, 2021 9:23 AM
> To: Li, Xiaoyun <xiaoyun.li@intel.com>; dev@dpdk.org
> Cc: stable@dpdk.org
> Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] doc: fix testpmd sample qinq
> flow rules
> 
> Hi Xiaoyun,
> 
> > -----Original Message-----
> > From: Li, Xiaoyun <xiaoyun.li@intel.com>
> > Sent: Friday, January 15, 2021 3:19 AM
> > To: Iremonger, Bernard <bernard.iremonger@intel.com>; dev@dpdk.org
> > Cc: Iremonger, Bernard <bernard.iremonger@intel.com>;
> stable@dpdk.org
> > 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 set qinq_strip on 0
> > Creating QinQ rule(s) command line should be "vlan set extend on 0".

You are correct. 

> > Qinq_strip is not relevant to qinq flow rules.

You are correct.

> > 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).

> > Should be "The following command sets the inner TPID to 0x8100 and
> > sets the outer TPID to 0x88A8".
> >
> > Best Regards
> > Xiaoyun Li
> >
> > > -----Original Message-----
> > > From: stable <stable-bounces@dpdk.org> On Behalf Of Bernard
> > > Iremonger
> > > Sent: Thursday, January 14, 2021 19:20
> > > To: dev@dpdk.org
> > > Cc: Iremonger, Bernard <bernard.iremonger@intel.com>;
> > stable@dpdk.org
> > > 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")
> > > Cc: stable@dpdk.org
> > >
> > > Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> > > ---
> > >  doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 ++--
> > >  1 file changed, 2 insertions(+), 2 deletions(-)
> > >
> > > diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> > > b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> > > index 9be4500..e0020d6 100644
> > > --- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> > > +++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
> > > @@ -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.
> > > --
> > > 2.7.4
> 
> I will correct the other mistakes too.
> 
> Regards,
> 
> Bernard.

My replies are inline above.

Regards,

Bernard.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-19 12:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-14 11:19 [dpdk-dev] [PATCH] doc: fix testpmd sample qinq flow rules Bernard Iremonger
2021-01-15  3:18 ` [dpdk-dev] [dpdk-stable] " Li, Xiaoyun
2021-01-19  9:22   ` Iremonger, Bernard
2021-01-19 12:23     ` Iremonger, Bernard

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git