All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] doc: release note for QinQ cloud filter
@ 2017-04-07 15:14 Bernard Iremonger
  2017-04-07 15:14 ` [PATCH 2/2] doc: add QinQ flow information to testpmd Bernard Iremonger
  2017-04-10  7:55 ` [PATCH 1/2] doc: release note for QinQ cloud filter Mcnamara, John
  0 siblings, 2 replies; 5+ messages in thread
From: Bernard Iremonger @ 2017-04-07 15:14 UTC (permalink / raw)
  To: dev; +Cc: beilei.xing, wenzhuo.lu, john.mcnamara, Bernard Iremonger

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
---
 doc/guides/rel_notes/release_17_05.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/guides/rel_notes/release_17_05.rst b/doc/guides/rel_notes/release_17_05.rst
index 4968b8f74..6f3f7ab36 100644
--- a/doc/guides/rel_notes/release_17_05.rst
+++ b/doc/guides/rel_notes/release_17_05.rst
@@ -265,6 +265,13 @@ New Features
 
   * DES DOCSIS BPI algorithm.
 
+* **Added Cloud Filter for QinQ steering.**
+
+  * Added a QinQ cloud filter on the i40e PMD, for steering traffic to a VM
+    using both VLAN tags.
+  * QinQ is not supported in Vector Mode on the i40e PMD.
+  * Vector Mode must be disabled when using the QinQ Cloud Filter.
+
 Resolved Issues
 ---------------
 
-- 
2.11.0

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

* [PATCH 2/2] doc: add QinQ flow information to testpmd
  2017-04-07 15:14 [PATCH 1/2] doc: release note for QinQ cloud filter Bernard Iremonger
@ 2017-04-07 15:14 ` Bernard Iremonger
  2017-04-10  7:56   ` Mcnamara, John
  2017-04-10  7:55 ` [PATCH 1/2] doc: release note for QinQ cloud filter Mcnamara, John
  1 sibling, 1 reply; 5+ messages in thread
From: Bernard Iremonger @ 2017-04-07 15:14 UTC (permalink / raw)
  To: dev; +Cc: beilei.xing, wenzhuo.lu, john.mcnamara, Bernard Iremonger

Add information on validating and creating QinQ flow rules to
the flow rules management section of the Testpmd User Guide.

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

diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index 497e2dd70..e9124f324 100644
--- a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
+++ b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
@@ -2794,3 +2794,44 @@ Output can be limited to specific groups::
    5       0       1000    i-      ETH IPV6 ICMP => QUEUE
    7       63      0       i-      ETH IPV6 UDP VXLAN => MARK QUEUE
    testpmd>
+
+Sample QinQ flow rules
+~~~~~~~~~~~~~~~~~~~~~~
+
+Validate and create a QinQ rule on port 0 to steer traffic to a VF queue in a VM.
+
+::
+
+   testpmd> flow validate 0 ingress pattern eth / vlan tpid is 0x8100 tci is 4 /
+       vlan tpid is 0x8100 tci is 5 / end actions vf id 1 / queue index 0 / end
+   Flow rule #0 validated
+
+   testpmd> flow create 0 ingress pattern eth / vlan tpid is 0x8100 tci is 4 /
+       vlan tpid is 0x8100 tci is 5 / end actions vf id 1 / queue index 0 / end
+   Flow rule #0 created
+
+   testpmd> flow list 0
+   ID      Group   Prio    Attr    Rule
+   0       0       0       i-      ETH VLAN VLAN=>VF QUEUE
+
+Validate and create a QinQ rule on port 0 to steer traffic to a queue on the host.
+
+::
+
+   testpmd> flow validate 0 ingress pattern eth / vlan tpid is 0x8100 tci is 6 /
+        vlan tpid is 0x8100 tci is 7 / end actions pf / queue index 0 / end
+   Flow rule #1 validated
+
+   testpmd> flow create 0 ingress pattern eth / vlan tpid is 0x8100 tci is 6 /
+        vlan tpid is 0x8100 tci is 7 / end actions pf / queue index 1 / end
+   Flow rule #1 created
+
+   testpmd> flow list 0
+   ID      Group   Prio    Attr    Rule
+   0       0       0       i-      ETH VLAN VLAN=>VF QUEUE
+   1       0       0       i-      ETH VLAN VLAN=>PF QUEUE
+
+After creating QinQ rule(s) the following command should be issued to enable QinQ::
+
+   testpmd> vlan set qinq on 0
+
-- 
2.11.0

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

* Re: [PATCH 1/2] doc: release note for QinQ cloud filter
  2017-04-07 15:14 [PATCH 1/2] doc: release note for QinQ cloud filter Bernard Iremonger
  2017-04-07 15:14 ` [PATCH 2/2] doc: add QinQ flow information to testpmd Bernard Iremonger
@ 2017-04-10  7:55 ` Mcnamara, John
  2017-04-14 12:11   ` Ferruh Yigit
  1 sibling, 1 reply; 5+ messages in thread
From: Mcnamara, John @ 2017-04-10  7:55 UTC (permalink / raw)
  To: Iremonger, Bernard, dev; +Cc: Xing, Beilei, Lu, Wenzhuo



> -----Original Message-----
> From: Iremonger, Bernard
> Sent: Friday, April 7, 2017 4:15 PM
> To: dev@dpdk.org
> Cc: Xing, Beilei <beilei.xing@intel.com>; Lu, Wenzhuo
> <wenzhuo.lu@intel.com>; Mcnamara, John <john.mcnamara@intel.com>;
> Iremonger, Bernard <bernard.iremonger@intel.com>
> Subject: [PATCH 1/2] doc: release note for QinQ cloud filter
> 
> Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>

Acked-by: John McNamara <john.mcnamara@intel.com>

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

* Re: [PATCH 2/2] doc: add QinQ flow information to testpmd
  2017-04-07 15:14 ` [PATCH 2/2] doc: add QinQ flow information to testpmd Bernard Iremonger
@ 2017-04-10  7:56   ` Mcnamara, John
  0 siblings, 0 replies; 5+ messages in thread
From: Mcnamara, John @ 2017-04-10  7:56 UTC (permalink / raw)
  To: Iremonger, Bernard, dev; +Cc: Xing, Beilei, Lu, Wenzhuo



> -----Original Message-----
> From: Iremonger, Bernard
> Sent: Friday, April 7, 2017 4:15 PM
> To: dev@dpdk.org
> Cc: Xing, Beilei <beilei.xing@intel.com>; Lu, Wenzhuo
> <wenzhuo.lu@intel.com>; Mcnamara, John <john.mcnamara@intel.com>;
> Iremonger, Bernard <bernard.iremonger@intel.com>
> Subject: [PATCH 2/2] doc: add QinQ flow information to testpmd
> 
> Add information on validating and creating QinQ flow rules to the flow
> rules management section of the Testpmd User Guide.
> 
> Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>

It is good to see an example as well as the command added to the docs.

Acked-by: John McNamara <john.mcnamara@intel.com>

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

* Re: [PATCH 1/2] doc: release note for QinQ cloud filter
  2017-04-10  7:55 ` [PATCH 1/2] doc: release note for QinQ cloud filter Mcnamara, John
@ 2017-04-14 12:11   ` Ferruh Yigit
  0 siblings, 0 replies; 5+ messages in thread
From: Ferruh Yigit @ 2017-04-14 12:11 UTC (permalink / raw)
  To: Mcnamara, John, Iremonger, Bernard, dev; +Cc: Xing, Beilei, Lu, Wenzhuo

On 4/10/2017 8:55 AM, Mcnamara, John wrote:
> 
> 
>> -----Original Message-----
>> From: Iremonger, Bernard
>> Sent: Friday, April 7, 2017 4:15 PM
>> To: dev@dpdk.org
>> Cc: Xing, Beilei <beilei.xing@intel.com>; Lu, Wenzhuo
>> <wenzhuo.lu@intel.com>; Mcnamara, John <john.mcnamara@intel.com>;
>> Iremonger, Bernard <bernard.iremonger@intel.com>
>> Subject: [PATCH 1/2] doc: release note for QinQ cloud filter
>>
>> Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
> 
> Acked-by: John McNamara <john.mcnamara@intel.com>

Series applied to dpdk-next-net/master, thanks.

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

end of thread, other threads:[~2017-04-14 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-07 15:14 [PATCH 1/2] doc: release note for QinQ cloud filter Bernard Iremonger
2017-04-07 15:14 ` [PATCH 2/2] doc: add QinQ flow information to testpmd Bernard Iremonger
2017-04-10  7:56   ` Mcnamara, John
2017-04-10  7:55 ` [PATCH 1/2] doc: release note for QinQ cloud filter Mcnamara, John
2017-04-14 12:11   ` Ferruh Yigit

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.