[dpdk-dev] [PATCH v7 1/3] app/testpmd: add GENEVE parsing

2020-10-08 Thread Ophir Munk
From: Ophir Munk GENEVE is a widely used tunneling protocol in modern Virtualized Networks. testpmd already supports parsing of several tunneling protocols including VXLAN, VXLAN-GPE, GRE. This commit adds GENEVE parsing of inner protocols (IPv4-0x0800, IPv6-0x86dd, Ethernet-0x6558) based on

[dpdk-dev] [PATCH v7 3/3] app/testpmd: tunnel parsing protocols cleanup

2020-10-08 Thread Ophir Munk
From: Ophir Munk This is a cleanup commit. It assembles all tunnel outer updates into one function call to avoid code duplications. It defines RTE_VXLAN_GPE_DEFAULT_PORT (4790) in accordance with all other tunnel protocol definitions. It replaces all numeric values 4789 in their corresponding

[dpdk-dev] [PATCH v7 0/3] Add GENEVE protocol parsing to testpmd

2020-10-08 Thread Ophir Munk
owing reviews: more cleanup and added documentation. v7: Updates following reviews: rename geneve-port as geneve-parsed-port + added documentation. Ophir Munk (3): app/testpmd: add GENEVE parsing app/testpmd: enable configuring GENEVE port app/testpmd: tunnel parsing protocols cleanup

[dpdk-dev] [PATCH v7 2/3] app/testpmd: enable configuring GENEVE port

2020-10-08 Thread Ophir Munk
From: Ophir Munk IANA has assigned port 6081 as the fixed well-known destination port for GENEVE. Nevertheless draft-ietf-nvo3-geneve-09 recommends that implementations make this configurable. This commit enables specifying any positive UDP destination port number for GENEVE protocol parsing

[dpdk-dev] [PATCH v1 01/13] common/mlx5: replace strsep with strtok_r

2020-08-20 Thread Ophir Munk
From: Ophir Munk strsep() is a non-standardized API (by C or POSIX) and thus it is non-portable between different operating systems. Replace it with strtok_r() which is standardized by the C standard, and hence also by POSIX. The replacement occurs in the code that extracts individual PCI class

[dpdk-dev] [PATCH v1 04/13] net/mlx5: move mlx5_get_ifname prototype under Linux

2020-08-20 Thread Ophir Munk
From: Ophir Munk mlx5_get_ifname() prototype includes 'IF_NAMESIZE' definition from Linux file net/if.h. Since this API is only used under Linux and to enable compilation under non-Linux OS - move this prototype from shared file mlx5.h to file linux/mlx5_os.h. Signed-off-by: Ophir M

[dpdk-dev] [PATCH v1 02/13] common/mlx5: replace linux __bexx types with rte

2020-08-20 Thread Ophir Munk
From: Ophir Munk Replace Linux specific int types with their corresponding rte typedefs. __be16 ==> rte_be16_t __be32 ==> rte_be32_t __be64 ==> rte_be64_t Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_prm.h | 14 +++--- 1 file changed, 7 i

[dpdk-dev] [PATCH v1 05/13] net/mlx5: fix removal of unused inclusion files

2020-08-20 Thread Ophir Munk
From: Ophir Munk Remove unused Linux included files: , from file net/mlx5/mlx5_mac.c from file net/mlx5/mlx5.c Fixes: 771fa900b73a ("mlx5: introduce new driver for Mellanox ConnectX-4 adapters") Cc: sta...@dpdk.org Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- driver

[dpdk-dev] [PATCH v1 06/13] net/mlx5: remove Netlink dependency in shared code

2020-08-20 Thread Ophir Munk
From: Ophir Munk This commit adds Linux implementation of routine mlx5_os_mac_addr_flush as wrapper to Netlink API to avoid direct calls under non-Linux operating systems. Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_os.c | 18 ++ drivers

[dpdk-dev] [PATCH v1 03/13] net/mlx5: rename mlx5 enumeration REG_NONE

2020-08-20 Thread Ophir Munk
From: Ophir Munk Enumerated variable REG_NONE (defined in mlx5_prm.h) is in conflict with Windows definition (winnt.h): #define REG_NONE ( 0ul ) // No value type To enable mlx5 PMD Windows compilation - rename REG_NONE as REG_NON. Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers

[dpdk-dev] [PATCH v1 11/13] net/mlx5: remove ibv_* dependency in rx/tx objects

2020-08-20 Thread Ophir Munk
From: Ophir Munk Replace pointers to ibv structs with pointers to void (file mlx5_rxtx.h). Specifically the following pointers were replaced: 'struct ibv_cq *', 'struct ibv_wq *', 'struct ibv_comp_channel *', 'struct ibv_rwq_ind_table *a', 'struct ib

[dpdk-dev] [PATCH v1 07/13] net/mlx5: fix unused utility macros

2020-08-20 Thread Ophir Munk
From: Ophir Munk Remove utility macros INFO, WARN, ERROR. They are not in use and conflict with identical definitions when compiled under Windows. Fixes: 80f2d0ed7ff9 ("net/mlx5: add hardware flow debug dump") Cc: sta...@dpdk.org Signed-off-by: Ophir Munk Acked-by: Matan Azrad --

[dpdk-dev] [PATCH v1 13/13] linux/mlx5: refactor VLAN

2020-08-20 Thread Ophir Munk
From: Ophir Munk File mlx5_vlan.c contains Netlink APIs (Linux dependent) as part of VM workaround implementation. Move this implementation to file linux/mlx5_vlan_os.c. To remove Netlink dependency in header files change pointer of type 'struct mlx5_nl_vlan_vmwa_context *' to 'v

[dpdk-dev] [PATCH v1 09/13] net/mlx5: add ICMP protocol number definition

2020-08-20 Thread Ophir Munk
From: Ophir Munk Some Windows distributions do not include ICMP protocol definitions IPPROTO_ICMP and IPPROTO_ICMPV6. This commit defines them if needed. Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_flow.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[dpdk-dev] [PATCH v1 08/13] net/mlx5: call meter detach only if DR is supported

2020-08-20 Thread Ophir Munk
From: Ophir Munk Flow metering is supported only in direct rules (DR). Currently the APIs of meter actions create and modify are under #ifdef HAVE_MLX5_DR_CREATE_ACTION_FLOW_METER, while detaching the meter action is executed unconditionally. This commit adds the same ifdef to API

[dpdk-dev] [PATCH v1 10/13] net/mlx5: remove more DV dependencies

2020-08-20 Thread Ophir Munk
From: Ophir Munk Several DV-based structs of type 'struct mlx5dv_devx_XXX' are replaced with 'void *' to enable compilation under non-Linux operating systems. New getter functions were added to retrieve the specific fields that were previously accessed directly. Repla

[dpdk-dev] [PATCH v1 12/13] net/mlx5: separate vlan strip modification

2020-08-20 Thread Ophir Munk
From: Ophir Munk When updating a queue vlan stripping offload - either the WQ is modified in Verbs or the RQ is modified in DevX. Add a vlan stripping modify callback to 'struct mlx5_obj_ops' and assign it with the specic Verbs and DevX implementations: 'rxq_obj_modify_wq_

[dpdk-dev] [PATCH v1 08/13] net/mlx5: call meter detach only if DR is supported

2020-08-24 Thread Ophir Munk
commit avoids compilation failure of non-Linux operating systems which do not support DR. Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_flow_meter.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/net/mlx5/mlx5_flow_meter.c b/drivers/net/mlx5

[dpdk-dev] [PATCH v1 10/13] net/mlx5: remove more DV dependencies

2020-08-24 Thread Ophir Munk
ruct mlx5dv_pp *' 'struct mlx5dv_devx_event_channel *' 'struct mlx5dv_devx_umem *' 'struct mlx5dv_devx_uar *' Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/common/mlx5/linux/mlx5_common_os.h | 91 ++ drivers/net/mlx5/m

[dpdk-dev] [PATCH v1 12/13] net/mlx5: separate vlan strip modification

2020-08-24 Thread Ophir Munk
vlan_strip' and 'rxq_obj_modify_rq_vlan_strip' respectively. Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_verbs.c | 28 ++ drivers/net/mlx5/mlx5.h | 6 + drivers/net/mlx5/mlx5_devx.c| 48 +

[dpdk-dev] [PATCH v2 06/13] net/mlx5: remove Netlink dependency in shared code

2020-08-25 Thread Ophir Munk
From: Ophir Munk This commit adds Linux implementation of routine mlx5_os_mac_addr_flush as wrapper to Netlink API to avoid direct calls under non-Linux operating systems. Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/net/mlx5/linux/mlx5_os.c | 18 ++ drivers

[dpdk-dev] [PATCH v2 02/13] common/mlx5: replace Linux __bexx types with rte

2020-08-25 Thread Ophir Munk
From: Ophir Munk Replace Linux specific int types with their corresponding rte typedefs. __be16 ==> rte_be16_t __be32 ==> rte_be32_t __be64 ==> rte_be64_t Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_prm.h | 14 +++--- 1 file changed, 7 i

[dpdk-dev] [PATCH v2 03/13] net/mlx5: rename mlx5 enumeration REG_NONE

2020-08-25 Thread Ophir Munk
From: Ophir Munk Enumerated variable REG_NONE (defined in mlx5_prm.h) is in conflict with Windows definition (winnt.h): #define REG_NONE ( 0ul ) // No value type To enable mlx5 PMD Windows compilation - rename REG_NONE as REG_NON. Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers

[dpdk-dev] [PATCH v2 00/13] mlx5 PMD multi OS support - part #4

2020-08-25 Thread Ophir Munk
This patch series is part of preparing mlx5 PMD to compile and run under multiple OSs. Part #4 v1: initial version v2: checkpatch fixes Ophir Munk (13): common/mlx5: replace strsep with strtok_r common/mlx5: replace Linux __bexx types with rte net/mlx5: rename mlx5 enumeration REG_NONE

[dpdk-dev] [PATCH v2 05/13] net/mlx5: fix removal of unused inclusion files

2020-08-25 Thread Ophir Munk
From: Ophir Munk Remove unused Linux included files: , from file net/mlx5/mlx5_mac.c from file net/mlx5/mlx5.c Fixes: 771fa900b73a ("mlx5: introduce new driver for Mellanox ConnectX-4 adapters") Cc: sta...@dpdk.org Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- driver

[dpdk-dev] [PATCH v2 04/13] net/mlx5: move mlx5_get_ifname prototype under Linux

2020-08-25 Thread Ophir Munk
From: Ophir Munk mlx5_get_ifname() prototype includes 'IF_NAMESIZE' definition from Linux file net/if.h. Since this API is only used under Linux and to enable compilation under non-Linux OS - move this prototype from shared file mlx5.h to file linux/mlx5_os.h. Signed-off-by: Ophir M

[dpdk-dev] [PATCH v2 01/13] common/mlx5: replace strsep with strtok_r

2020-08-25 Thread Ophir Munk
From: Ophir Munk strsep() is a non-standardized API (by C or POSIX) and thus it is non-portable between different operating systems. Replace it with strtok_r() which is standardized by the C standard, and hence also by POSIX. The replacement occurs in the code that extracts individual PCI class

[dpdk-dev] [PATCH v2 09/13] net/mlx5: add ICMP protocol number definition

2020-08-25 Thread Ophir Munk
From: Ophir Munk Some Windows distributions do not include ICMP protocol definitions IPPROTO_ICMP and IPPROTO_ICMPV6. This commit defines them if needed. Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_flow.c | 7 +++ 1 file changed, 7 insertions(+) diff --git

[dpdk-dev] [PATCH v2 08/13] net/mlx5: call meter detach only if DR is supported

2020-08-25 Thread Ophir Munk
From: Ophir Munk Flow metering is supported only in direct rules (DR). Currently the APIs of meter actions create and modify are under #ifdef HAVE_MLX5_DR_CREATE_ACTION_FLOW_METER, while detaching the meter action is executed unconditionally. This commit adds the same ifdef to API

[dpdk-dev] [PATCH v2 07/13] net/mlx5: fix unused utility macros

2020-08-25 Thread Ophir Munk
From: Ophir Munk Remove utility macros INFO, WARN, ERROR. They are not in use and conflict with identical definitions when compiled under Windows. Fixes: 80f2d0ed7ff9 ("net/mlx5: add hardware flow debug dump") Cc: sta...@dpdk.org Signed-off-by: Ophir Munk Acked-by: Matan Azrad --

[dpdk-dev] [PATCH v2 10/13] net/mlx5: remove more DV dependencies

2020-08-25 Thread Ophir Munk
From: Ophir Munk Several DV-based structs of type 'struct mlx5dv_devx_XXX' are replaced with 'void *' to enable compilation under non-Linux operating systems. New getter functions were added to retrieve the specific fields that were previously accessed directly. Repla

[dpdk-dev] [PATCH v2 12/13] net/mlx5: separate VLAN strip modification

2020-08-25 Thread Ophir Munk
From: Ophir Munk When updating a queue vlan stripping offload - either the WQ is modified in Verbs or the RQ is modified in DevX. Add a vlan stripping modify callback to 'struct mlx5_obj_ops' and assign it with the specific Verbs and DevX implementations: 'rxq_obj_modify_wq_

[dpdk-dev] [PATCH v2 13/13] linux/mlx5: refactor VLAN

2020-08-25 Thread Ophir Munk
From: Ophir Munk File mlx5_vlan.c contains Netlink APIs (Linux dependent) as part of VM workaround implementation. Move this implementation to file linux/mlx5_vlan_os.c. To remove Netlink dependency in header files change pointer of type 'struct mlx5_nl_vlan_vmwa_context *' to 'v

[dpdk-dev] [PATCH v2 11/13] net/mlx5: remove ibv_* dependency in Rx/Tx objects

2020-08-25 Thread Ophir Munk
From: Ophir Munk Replace pointers to ibv structs with pointers to void (file mlx5_rxtx.h). Specifically the following pointers were replaced: 'struct ibv_cq *', 'struct ibv_wq *', 'struct ibv_comp_channel *', 'struct ibv_rwq_ind_table *a', 'struct ib

[dpdk-dev] [PATCH v2 3/3] app/testpmd: reduce tunnel parsing code duplication

2020-08-27 Thread Ophir Munk
From: Ophir Munk This is a cleanup commit. It assembles all tunnel outer updates into one function call to avoid code duplications. It defines RTE_VXLAN_GPE_DEFAULT_PORT (4790) in accordance with all other tunnel protocol definitions. Signed-off-by: Ophir Munk --- app/test-pmd/csumonly.c

[dpdk-dev] [PATCH v2 2/3] app/testpmd: enable configuring GENEVE port

2020-08-27 Thread Ophir Munk
From: Ophir Munk IANA has assigned port 6081 as the fixed well-known destination port for GENEVE. Nevertheless draft-ietf-nvo3-geneve-09 recommends that implementations make this configurable. This commit enables specifying any positive UDP destination port number for GENEVE. Signed-off-by

[dpdk-dev] [PATCH v2 0/3] Add GENEVE protocol parsing to testpmd

2020-08-27 Thread Ophir Munk
This patchset adds GENEVE parsing of inner protocols (IPv4-0x0800, IPv6-0x86dd, Ethernet-0x6558) based on IETF draft-ietf-nvo3-geneve-09. v1: Initial version v2: Rebased + Minor update in protocol options field: char opts[0] ===> uint8_t opts[] Ophir Munk (3): app/testpmd: add GENEVE pars

[dpdk-dev] [PATCH v2 1/3] app/testpmd: add GENEVE parsing

2020-08-27 Thread Ophir Munk
From: Ophir Munk GENEVE is a widely used tunneling protocol in modern Virtualized Networks. testpmd already supports parsing of several tunneling protocols including VXLAN, VXLAN-GPE, GRE. This commit adds GENEVE parsing of inner protocols (IPv4-0x0800, IPv6-0x86dd, Ethernet-0x6558) based on

Re: [dpdk-dev] [PATCH v2 0/3] Add GENEVE protocol parsing to testpmd

2020-08-30 Thread Ophir Munk
Hello Wenzhou, Beilei, Bernard, I saw no comments regarding v1 or v2 of this patch set. Please let me know if you have any question. Otherwise - can it be merged? Regards, Ophir > -Original Message- > From: Ophir Munk > Sent: Thursday, August 27, 2020 10:03 AM > To:

Re: [dpdk-dev] [PATCH v4 3/3] eal/windows: librte_net build on Windows

2020-09-08 Thread Ophir Munk
Please add IPPROTO_ICMP and IPPROTO_ICMPV6 definitions: #define IPPROTO_IP 0 +#define IPPROTO_ICMP 1 /* Internet Ctrl Message Protocol */ #define IPPROTO_HOPOPTS 0 @@ -17,6 +18,7 @@ #define IPPROTO_AH 51 /* IP6 Auth Header */ +#define IPPROTO_ICMPV6 58 /* Interne

[dpdk-dev] [PATCH v1] common/mlx5: fix mlx5 aligned malloc

2020-09-09 Thread Ophir Munk
("common/mlx5: add memory management functions") Cc: sta...@dpdk.org Signed-off-by: Ophir Munk Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_malloc.c | 13 + drivers/common/mlx5/mlx5_malloc.h | 8 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/driv

Re: [dpdk-dev] [PATCH v2 2/3] app/testpmd: enable configuring GENEVE port

2020-09-15 Thread Ophir Munk
ber 14, 2020 8:31 PM > To: Ophir Munk ; dev@dpdk.org; Wenzhuo Lu > ; Beilei Xing ; Bernard > Iremonger > Cc: Ophir Munk > Subject: Re: [dpdk-dev] [PATCH v2 2/3] app/testpmd: enable configuring > GENEVE port > > On 8/27/2020 8:02 AM, Ophir Munk wrote: > > From: Ophir

[dpdk-dev] [PATCH v3 3/3] app/testpmd: reduce tunnel parsing code duplication

2020-09-15 Thread Ophir Munk
From: Ophir Munk This is a cleanup commit. It assembles all tunnel outer updates into one function call to avoid code duplications. It defines RTE_VXLAN_GPE_DEFAULT_PORT (4790) in accordance with all other tunnel protocol definitions. Signed-off-by: Ophir Munk --- app/test-pmd/csumonly.c

[dpdk-dev] [PATCH v3 2/3] app/testpmd: enable configuring GENEVE port

2020-09-15 Thread Ophir Munk
From: Ophir Munk IANA has assigned port 6081 as the fixed well-known destination port for GENEVE. Nevertheless draft-ietf-nvo3-geneve-09 recommends that implementations make this configurable. This commit enables specifying any positive UDP destination port number for GENEVE. Signed-off-by

[dpdk-dev] [PATCH v3 1/3] app/testpmd: add GENEVE parsing

2020-09-15 Thread Ophir Munk
From: Ophir Munk GENEVE is a widely used tunneling protocol in modern Virtualized Networks. testpmd already supports parsing of several tunneling protocols including VXLAN, VXLAN-GPE, GRE. This commit adds GENEVE parsing of inner protocols (IPv4-0x0800, IPv6-0x86dd, Ethernet-0x6558) based on

[dpdk-dev] [PATCH v3 0/3] Add GENEVE protocol parsing to testpmd

2020-09-15 Thread Ophir Munk
v1: Initial version v2: Rebased + Minor update in protocol options field: char opts[0] ===> uint8_t opts[] v3: Rebase document "geneve-port=N" parameter Ophir Munk (3): app/testpmd: add GENEVE parsing app/testpmd: enable configuring GENEVE port app/testpmd: reduce tunnel

Re: [dpdk-dev] [PATCH v2 2/3] app/testpmd: enable configuring GENEVE port

2020-09-15 Thread Ophir Munk
Hi Ferruh, I added to documentation the new parameter "--geneve-port=N" (second patch in the series). I also rebased the series and sent v3. Regards, Ophir > -Original Message- > From: Ferruh Yigit > > I don't think that having the flexibility to specify the Geneve protocol in > > the

[dpdk-dev] [PATCH v4 3/3] app/testpmd: reduce tunnel parsing code duplication

2020-09-15 Thread Ophir Munk
From: Ophir Munk This is a cleanup commit. It assembles all tunnel outer updates into one function call to avoid code duplications. It defines RTE_VXLAN_GPE_DEFAULT_PORT (4790) in accordance with all other tunnel protocol definitions. Signed-off-by: Ophir Munk --- app/test-pmd/csumonly.c

[dpdk-dev] [PATCH v4 0/3] Add GENEVE protocol parsing to testpmd

2020-09-15 Thread Ophir Munk
v1: Initial version v2: Rebased + Minor update in protocol options field: char opts[0] ===> uint8_t opts[] v3: Rebase document "geneve-port=N" parameter v4: Mispelling corrections Ophir Munk (3): app/testpmd: add GENEVE parsing app/testpmd: enable configuring GENEVE port app/te

[dpdk-dev] [PATCH v4 1/3] app/testpmd: add GENEVE parsing

2020-09-15 Thread Ophir Munk
From: Ophir Munk GENEVE is a widely used tunneling protocol in modern Virtualized Networks. testpmd already supports parsing of several tunneling protocols including VXLAN, VXLAN-GPE, GRE. This commit adds GENEVE parsing of inner protocols (IPv4-0x0800, IPv6-0x86dd, Ethernet-0x6558) based on

[dpdk-dev] [PATCH v4 2/3] app/testpmd: enable configuring GENEVE port

2020-09-15 Thread Ophir Munk
From: Ophir Munk IANA has assigned port 6081 as the fixed well-known destination port for GENEVE. Nevertheless draft-ietf-nvo3-geneve-09 recommends that implementations make this configurable. This commit enables specifying any positive UDP destination port number for GENEVE. Signed-off-by

Re: [dpdk-dev] [PATCH v2 2/3] app/testpmd: enable configuring GENEVE port

2020-09-15 Thread Ophir Munk
Hi, V4 sent with misspelling corrections. Regards, Ophir > -Original Message- > From: Ophir Munk > Sent: Tuesday, September 15, 2020 3:59 PM > To: Ferruh Yigit ; dev@dpdk.org; Wenzhuo Lu > ; Beilei Xing ; Bernard > Iremonger > Cc: Ophir Munk ; Raslan Darawsheh &g

Re: [dpdk-dev] [PATCH v4 1/3] app/testpmd: add GENEVE parsing

2020-09-15 Thread Ophir Munk
Adding Olivier who is the maintainer of the Network headers (lib/librte_net/rte_geneve.h). > -Original Message- > From: Ophir Munk > Sent: Tuesday, September 15, 2020 4:17 PM > To: dev@dpdk.org; Wenzhuo Lu ; Beilei Xing > ; Bernard Iremonger > ; Ferruh Yigit > C

[dpdk-dev] [PATCH v5 1/3] app/testpmd: add GENEVE parsing

2020-09-18 Thread Ophir Munk
From: Ophir Munk GENEVE is a widely used tunneling protocol in modern Virtualized Networks. testpmd already supports parsing of several tunneling protocols including VXLAN, VXLAN-GPE, GRE. This commit adds GENEVE parsing of inner protocols (IPv4-0x0800, IPv6-0x86dd, Ethernet-0x6558) based on

[dpdk-dev] [PATCH v5 3/3] app/testpmd: reduce tunnel parsing code duplication

2020-09-18 Thread Ophir Munk
From: Ophir Munk This is a cleanup commit. It assembles all tunnel outer updates into one function call to avoid code duplications. It defines RTE_VXLAN_GPE_DEFAULT_PORT (4790) in accordance with all other tunnel protocol definitions. Signed-off-by: Ophir Munk --- app/test-pmd/csumonly.c

[dpdk-dev] [PATCH v5 0/3] Add GENEVE protocol parsing to testpmd

2020-09-18 Thread Ophir Munk
v1: Initial version v2: Rebased + Minor update in protocol options field: char opts[0] ===> uint8_t opts[] v3: Rebase document "geneve-port=N" parameter v4: Mispelling corrections v5: Rebase + Updates following review http://patches.dpdk.org/patch/77734/ Ophir Munk (3): app/testpm

[dpdk-dev] [PATCH v5 2/3] app/testpmd: enable configuring GENEVE port

2020-09-18 Thread Ophir Munk
From: Ophir Munk IANA has assigned port 6081 as the fixed well-known destination port for GENEVE. Nevertheless draft-ietf-nvo3-geneve-09 recommends that implementations make this configurable. This commit enables specifying any positive UDP destination port number for GENEVE. Signed-off-by

Re: [dpdk-dev] [PATCH v4 1/3] app/testpmd: add GENEVE parsing

2020-09-18 Thread Ophir Munk
Hi Olivier, Please find comments inline. I sent v5 based on your review. http://patches.dpdk.org/project/dpdk/list/?series=12354 > -Original Message- > From: Olivier Matz > Sent: Thursday, September 17, 2020 3:23 PM > To: Ophir Munk > Cc: dev@dpdk.org; Wenzhuo L

[PATCH V2 0/4] mlx5 unified fdb

2025-02-26 Thread Ophir Munk
V1: initial version V2: rebase + determine unified fdb based on FW capability Bing Zhao (1): net/mlx5: remove unneeded FDB flag on representor action Ophir Munk (3): common/mlx5: support FDB unified capability query net/mlx5: support FDB unified domain net/mlx5/hws: allow different types

[PATCH V2 1/4] common/mlx5: support FDB unified capability query

2025-02-26 Thread Ophir Munk
This commit queries the FW for the new unified FDB mode and saves it in mlx5 shared device as fdb_unified_en bit. Signed-off-by: Ophir Munk --- drivers/common/mlx5/mlx5_devx_cmds.c | 3 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/common

[PATCH V2 2/4] net/mlx5: support FDB unified domain

2025-02-26 Thread Ophir Munk
| | 1 | 0 | FDB_RX | ++-+--+ There can be no two groups which only differ in their fdb sub domain. A table must be created in a group which has the same fdb sub domain. Signed-off-by: Ophir Munk --- drivers/net/mlx5/linux/mlx5_os.c

[PATCH V2 3/4] net/mlx5: remove unneeded FDB flag on representor action

2025-02-26 Thread Ophir Munk
From: Bing Zhao The "send_to_kernel" action is shared and created during the HWS configuration stage. By default, the NIC Rx and Tx flags are needed. There is only one case that the FDB* flags are needed when creating the action, the same as other shared actions. Only the transfer proxy port nee

[PATCH V2 4/4] net/mlx5/hws: allow different types in miss validation

2025-02-26 Thread Ophir Munk
t;net/mlx5/hws: support default miss table") Signed-off-by: Ophir Munk --- drivers/net/mlx5/hws/mlx5dr_table.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_table.c b/drivers/net/mlx5/hws/mlx5dr_table.c index b371f42..c1c6

[PATCH V1 1/4] common/mlx5: support FDB unified capability query

2025-02-25 Thread Ophir Munk
This commit queries the FW for the new unified FDB mode and saves it in mlx5 shared device as fdb_unified_en bit. Signed-off-by: Ophir Munk --- drivers/common/mlx5/mlx5_devx_cmds.c | 3 +++ drivers/common/mlx5/mlx5_devx_cmds.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/common

[PATCH V1 2/4] net/mlx5: support FDB unified domain

2025-02-25 Thread Ophir Munk
| | 1 | 0 | FDB_RX | ++-+--+ There can be no two groups which only differ in their fdb sub domain. A table must be created in a group which has the same fdb sub domain. Signed-off-by: Ophir Munk --- drivers/net/mlx5/linux/mlx5_os.c

[PATCH V1 3/4] net/mlx5: remove unneeded FDB flag on representor action

2025-02-25 Thread Ophir Munk
From: Bing Zhao The "send_to_kernel" action is shared and created during the HWS configuration stage. By default, the NIC Rx and Tx flags are needed. There is only one case that the FDB* flags are needed when creating the action, the same as other shared actions. Only the transfer proxy port nee

[PATCH V1 4/4] net/mlx5/hws: allow different types in miss validation

2025-02-25 Thread Ophir Munk
t;net/mlx5/hws: support default miss table") Signed-off-by: Ophir Munk --- drivers/net/mlx5/hws/mlx5dr_table.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_table.c b/drivers/net/mlx5/hws/mlx5dr_table.c index b371f42..c1c6

<    1   2   3   4   5   6