[dpdk-dev] [v5 6/6] doc: update sample actions support in testpmd guide

2021-04-07 Thread Salem Sol
Update documentation for sample action usage in testpmd utilizing rte_flow_action_vxlan_encap and rte_flow_action_nvgre_encap and show the command line example. Signed-off-by: Salem Sol --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 24 + 1 file changed, 24 insertions

[dpdk-dev] [v5 5/6] app/testpmd: support NVGRE encap for sample action

2021-04-07 Thread Salem Sol
actions sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... The flow will result in all the matched egress packets will be encapsulated and sent to wire, and also mirrored the packets using NVGRE encapsulation data and sent to wire. Signed-off-by: Salem Sol --- app/test

[dpdk-dev] [v5 4/6] app/testpmd: support VXLAN encap for sample action

2021-04-07 Thread Salem Sol
sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... The flow will result in all the matched egress packets will be encapsulated and sent to wire, and also mirrored the packets using VXLAN encapsulation data and sent to wire. Signed-off-by: Salem Sol --- app/test-pmd

[dpdk-dev] [v5 3/6] net/mlx5: support NVGRE encap action in sample

2021-04-07 Thread Salem Sol
Add support for NVGRE encap as a sample action and validate it. Signed-off-by: Salem Sol --- doc/guides/nics/mlx5.rst | 2 +- doc/guides/rel_notes/release_21_05.rst | 2 +- drivers/net/mlx5/mlx5_flow_dv.c| 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git

[dpdk-dev] [v5 2/6] net/mlx5: support VXLAN encap action in sample

2021-04-07 Thread Salem Sol
Add support for VXLAN encap as a sample action and validate it. Signed-off-by: Salem Sol --- doc/guides/nics/mlx5.rst | 4 ++-- doc/guides/rel_notes/release_21_05.rst | 6 ++ drivers/net/mlx5/mlx5_flow_dv.c| 11 +++ 3 files changed, 19 insertions(+), 2

[dpdk-dev] [v5 1/6] app/testpmd: prepare storing VXLAN/NVGRE encap data globally

2021-04-07 Thread Salem Sol
From: Jiawei Wang With the current code the VXLAN/NVGRE parsing routine stored the configuration of the header on stack, this might lead to overwriting the data on the stack. Currently having VXLAN/NVGRE encap as sample actions is done using RAW_ENCAP, for example: 1. set raw_encap 1 eth src.../

Re: [dpdk-dev] [PATCH v3 1/8] app/testpmd: store VXLAN/NVGRE encap data globally

2021-04-07 Thread Salem Sol
-Original Message- From: Ferruh Yigit Sent: Wednesday, April 7, 2021 11:24 AM To: Salem Sol ; Jiawei(Jonny) Wang ; dev@dpdk.org Cc: Ori Kam ; Xiaoyun Li Subject: Re: [dpdk-dev] [PATCH v3 1/8] app/testpmd: store VXLAN/NVGRE encap data globally External email: Use caution opening

Re: [dpdk-dev] [PATCH v3 1/8] app/testpmd: store VXLAN/NVGRE encap data globally

2021-04-07 Thread Salem Sol
Hi Ferruh, -Original Message- From: Ferruh Yigit Sent: Tuesday, April 6, 2021 5:44 PM To: Jiawei(Jonny) Wang ; Salem Sol ; dev@dpdk.org Cc: Ori Kam ; Xiaoyun Li Subject: Re: [dpdk-dev] [PATCH v3 1/8] app/testpmd: store VXLAN/NVGRE encap data globally External email: Use caution

[dpdk-dev] [PATCH v4 7/7] doc: update sample actions support in mlx5 guide

2021-04-04 Thread Salem Sol
Updates the documentation with the added support for sample actions VXLAN and NVGRE encap in E-Switch steering flow. Signed-off-by: Salem Sol --- doc/guides/nics/mlx5.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst

[dpdk-dev] [PATCH v4 6/7] doc: update sample actions support in testpmd guide

2021-04-04 Thread Salem Sol
Update documentation for sample action usage in testpmd utilizing rte_flow_action_vxlan_encap and rte_flow_action_nvgre_encap and show the command line example. Signed-off-by: Salem Sol --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 24 + 1 file changed, 24 insertions

[dpdk-dev] [PATCH v4 5/7] app/testpmd: support NVGRE encap for sample action

2021-04-04 Thread Salem Sol
actions sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... The flow will result in all the matched egress packets will be encapsulated and sent to wire, and also mirrored the packets using NVGRE encapsulation data and sent to wire. Signed-off-by: Salem Sol --- app/test

[dpdk-dev] [PATCH v4 3/7] net/mlx5: support NVGRE encap action in sample

2021-04-04 Thread Salem Sol
Add support for NVGRE encap as a sample action and validate it. Signed-off-by: Salem Sol --- doc/guides/rel_notes/release_21_05.rst | 2 +- drivers/net/mlx5/mlx5_flow_dv.c| 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc

[dpdk-dev] [PATCH v4 1/7] app/testpmd: store VXLAN/NVGRE encap data globally

2021-04-04 Thread Salem Sol
From: Jiawei Wang With the current code the VXLAN/NVGRE parsing routine stored the configuration of the header on stack, this might lead to overwriting the data on the stack. This patch stores the external data of vxlan and nvgre encap into global data as a pre-step to supporting vxlan and nvgre

[dpdk-dev] [PATCH v4 4/7] app/testpmd: support VXLAN encap for sample action

2021-04-04 Thread Salem Sol
sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... The flow will result in all the matched egress packets will be encapsulated and sent to wire, and also mirrored the packets using VXLAN encapsulation data and sent to wire. Signed-off-by: Salem Sol --- app/test-pmd

[dpdk-dev] [PATCH v4 2/7] net/mlx5: support VXLAN encap action in sample

2021-04-04 Thread Salem Sol
Add support for VXLAN encap as a sample action and validate it. Signed-off-by: Salem Sol --- doc/guides/rel_notes/release_21_05.rst | 6 ++ drivers/net/mlx5/mlx5_flow_dv.c| 11 +++ 2 files changed, 17 insertions(+) diff --git a/doc/guides/rel_notes/release_21_05.rst b/doc

[dpdk-dev] [PATCH v4 0/7] Add support for VXLAN and NVGRE encap as a sample actions

2021-04-04 Thread Salem Sol
/project/dpdk/patch/1617244796-358287-1-git-send-email-jiaw...@nvidia.com/ Jiawei Wang (1): app/testpmd: store VXLAN/NVGRE encap data globally Salem Sol (6): net/mlx5: support VXLAN encap action in sample net/mlx5: support NVGRE encap action in sample app/testpmd: support VXLAN encap for

Re: [dpdk-dev] [PATCH v3 6/8] doc: update sample actions support in testpmd guide

2021-04-01 Thread Salem Sol
...@nvidia.com/ [2]: https://patches.dpdk.org/project/dpdk/patch/1617244796-358287-1-git-send-email-jiaw...@nvidia.com/ -Original Message- From: Ferruh Yigit Sent: Thursday, April 1, 2021 1:43 PM To: Salem Sol ; dev@dpdk.org Cc: Xiaoyun Li ; NBU-Contact-Thomas Monjalon Subject: Re: [dpdk

Re: [dpdk-dev] [PATCH v3 6/8] doc: update sample actions support in testpmd guide

2021-04-01 Thread Salem Sol
000&sdata=BB7zufQaPsAeu1l3jZ0xKOxtx86%2F0rUrUuSKQuVGn%2FE%3D&reserved=0 Thanks, -Original Message- From: Ferruh Yigit Sent: Wednesday, March 31, 2021 3:06 PM To: Salem Sol ; dev@dpdk.org Cc: Xiaoyun Li ; NBU-Contact-Thomas Monjalon Subject: Re: [dpdk-dev] [PATCH v3 6/8] doc: update sample a

[dpdk-dev] [PATCH v3 7/8] doc: update sample actions support in mlx5 guide

2021-03-17 Thread Salem Sol
Updates the documentation with the added support for sample actions VXLAN and NVGRE encap in E-Switch steering flow. Signed-off-by: Salem Sol --- doc/guides/nics/mlx5.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst

[dpdk-dev] [PATCH v3 8/8] doc: update dpdk 21.05 release notes

2021-03-17 Thread Salem Sol
Update release notes for dpdk 21.05 to include the new Mellanox driver's support for VXLAN and NVGRE encap as sample actions. Signed-off-by: Salem Sol --- doc/guides/rel_notes/release_21_05.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/guides/rel_notes/release_21_05.r

[dpdk-dev] [PATCH v3 3/8] net/mlx5: support NVGRE encap action in sample

2021-03-17 Thread Salem Sol
Add support for NVGRE encap as a sample action and validate it. Signed-off-by: Salem Sol --- drivers/net/mlx5/mlx5_flow_dv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index 4b2db47e39..590abdc822 100644 --- a/drivers

[dpdk-dev] [PATCH v3 6/8] doc: update sample actions support in testpmd guide

2021-03-17 Thread Salem Sol
Update documentation for sample action usage in testpmd utilizing rte_flow_action_vxlan_encap and rte_flow_action_nvgre_encap and show the command line example. Signed-off-by: Salem Sol --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 22 + 1 file changed, 22 insertions

[dpdk-dev] [PATCH v3 2/8] net/mlx5: support VXLAN encap action in sample

2021-03-17 Thread Salem Sol
Add support for VXLAN encap as a sample action and validate it. Signed-off-by: Salem Sol --- drivers/net/mlx5/mlx5_flow_dv.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index 1a74d5ac2b..4b2db47e39 100644

[dpdk-dev] [PATCH v3 4/8] app/testpmd: support VXLAN encap for sample action

2021-03-17 Thread Salem Sol
sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... The flow will result in all the matched egress packets will be encapsulated and sent to wire, and also mirrored the packets using VXLAN encapsulation data and sent to wire. Signed-off-by: Salem Sol --- app/test-pmd

[dpdk-dev] [PATCH v3 5/8] app/testpmd: support NVGRE encap for sample action

2021-03-17 Thread Salem Sol
actions sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... The flow will result in all the matched egress packets will be encapsulated and sent to wire, and also mirrored the packets using NVGRE encapsulation data and sent to wire. Signed-off-by: Salem Sol --- app/test

[dpdk-dev] [PATCH v3 0/8] Add support for VXLAN and NVGRE encap as a sample actions

2021-03-17 Thread Salem Sol
ample actions support in testpmd guide") fixing a build issue. V3: added ("doc: update dpdk 21.05 release notes"). Jiawei Wang (1): app/testpmd: store VXLAN/NVGRE encap data globally Salem Sol (7): net/mlx5: support VXLAN encap action in sample net/mlx5: support NVGRE en

[dpdk-dev] [PATCH v3 1/8] app/testpmd: store VXLAN/NVGRE encap data globally

2021-03-17 Thread Salem Sol
From: Jiawei Wang With the current code the VXLAN/NVGRE parsing routine stored the configuration of the header on stack, this might lead to overwriting the data on the stack. This patch stores the external data of vxlan and nvgre encap into global data as a pre-step to supporting vxlan and nvgre

[dpdk-dev] [PATCH v2 6/7] doc: update sample actions support in testpmd guide

2021-03-16 Thread Salem Sol
Update documentation for sample action usage in testpmd utilizing rte_flow_action_vxlan_encap and rte_flow_action_nvgre_encap and show the command line example. Signed-off-by: Salem Sol --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 22 + 1 file changed, 22 insertions

[dpdk-dev] [PATCH v2 5/7] app/testpmd: support NVGRE encap for sample action

2021-03-16 Thread Salem Sol
actions sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... The flow will result in all the matched egress packets will be encapsulated and sent to wire, and also mirrored the packets using NVGRE encapsulation data and sent to wire. Signed-off-by: Salem Sol --- app/test

[dpdk-dev] [PATCH v2 4/7] app/testpmd: support VXLAN encap for sample action

2021-03-16 Thread Salem Sol
sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... The flow will result in all the matched egress packets will be encapsulated and sent to wire, and also mirrored the packets using VXLAN encapsulation data and sent to wire. Signed-off-by: Salem Sol --- app/test-pmd

[dpdk-dev] [PATCH v2 7/7] doc: update sample actions support in mlx5 guide

2021-03-16 Thread Salem Sol
Updates the documentation with the added support for sample actions VXLAN and NVGRE encap in E-Switch steering flow. Signed-off-by: Salem Sol --- doc/guides/nics/mlx5.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst

[dpdk-dev] [PATCH v2 3/7] net/mlx5: support NVGRE encap action in sample

2021-03-16 Thread Salem Sol
Add support for NVGRE encap as a sample action and validate it. Signed-off-by: Salem Sol --- drivers/net/mlx5/mlx5_flow_dv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index 4b2db47e39..590abdc822 100644 --- a/drivers

[dpdk-dev] [PATCH v2 0/7] Add support for VXLAN and NVGRE encap as a sample actions

2021-03-16 Thread Salem Sol
ample actions support in testpmd guide") fixing a build issue. Jiawei Wang (1): app/testpmd: store VXLAN/NVGRE encap data globally Salem Sol (6): net/mlx5: support VXLAN encap action in sample net/mlx5: support NVGRE encap action in sample app/testpmd: support VXLAN encap for sam

[dpdk-dev] [PATCH v2 2/7] net/mlx5: support VXLAN encap action in sample

2021-03-16 Thread Salem Sol
Add support for VXLAN encap as a sample action and validate it. Signed-off-by: Salem Sol --- drivers/net/mlx5/mlx5_flow_dv.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index 1a74d5ac2b..4b2db47e39 100644

[dpdk-dev] [PATCH v2 1/7] app/testpmd: store VXLAN/NVGRE encap data globally

2021-03-16 Thread Salem Sol
From: Jiawei Wang With the current code the VXLAN/NVGRE parsing routine stored the configuration of the header on stack, this might lead to overwriting the data on the stack. This patch stores the external data of vxlan and nvgre encap into global data as a pre-step to supporting vxlan and nvgre

[dpdk-dev] [PATCH 7/7] doc: update sample actions support in mlx5 guide

2021-03-15 Thread Salem Sol
Updates the documentation with the added support for sample actions VXLAN and NVGRE encap in E-Switch steering flow. Signed-off-by: Salem Sol --- doc/guides/nics/mlx5.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst

[dpdk-dev] [PATCH 6/7] doc: update sample actions support in testpmd guide

2021-03-15 Thread Salem Sol
Update documentation for sample action usage in testpmd utilizing rte_flow_action_vxlan_encap and rte_flow_action_nvgre_encap and show the command line example. Signed-off-by: Salem Sol --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 21 + 1 file changed, 21 insertions

[dpdk-dev] [PATCH 5/7] app/testpmd: support NVGRE encap for sample action

2021-03-15 Thread Salem Sol
actions sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... The flow will result in all the matched egress packets will be encapsulated and sent to wire, and also mirrored the packets using NVGRE encapsulation data and sent to wire. Signed-off-by: Salem Sol --- app/test

[dpdk-dev] [PATCH 3/7] net/mlx5: support NVGRE encap action in sample

2021-03-15 Thread Salem Sol
Add support for NVGRE encap as a sample action and validate it. Signed-off-by: Salem Sol --- drivers/net/mlx5/mlx5_flow_dv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index 4b2db47e39..590abdc822 100644 --- a/drivers

[dpdk-dev] [PATCH 4/7] app/testpmd: support VXLAN encap for sample action

2021-03-15 Thread Salem Sol
sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... The flow will result in all the matched egress packets will be encapsulated and sent to wire, and also mirrored the packets using VXLAN encapsulation data and sent to wire. Signed-off-by: Salem Sol --- app/test-pmd

[dpdk-dev] [PATCH 2/7] net/mlx5: support VXLAN encap action in sample

2021-03-15 Thread Salem Sol
Add support for VXLAN encap as a sample action and validate it. Signed-off-by: Salem Sol --- drivers/net/mlx5/mlx5_flow_dv.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c index 1a74d5ac2b..4b2db47e39 100644

[dpdk-dev] [PATCH 1/7] app/testpmd: store VXLAN/NVGRE encap data globally

2021-03-15 Thread Salem Sol
From: Jiawei Wang With the current code the VXLAN/NVGRE parsing routine stored the configuration of the header on stack, this might lead to overwriting the data on the stack. This patch stores the external data of vxlan and nvgre encap into global data as a pre-step to supporting vxlan and nvgre

[dpdk-dev] [PATCH 0/7] Add support for VXLAN and NVGRE encap as a sample actions

2021-03-15 Thread Salem Sol
: store VXLAN/NVGRE encap data globally Salem Sol (6): net/mlx5: support VXLAN encap action in sample net/mlx5: support NVGRE encap action in sample app/testpmd: support VXLAN encap for sample action app/testpmd: support NVGRE encap for sample action doc: update sample actions support in