* [dpdk-dev] [PATCH] net/mlx5: add missing ptype for geneve tunnel
@ 2019-11-06 9:38 Wisam Monther
2019-11-06 17:49 ` Slava Ovsiienko
2019-11-07 14:28 ` Raslan Darawsheh
0 siblings, 2 replies; 3+ messages in thread
From: Wisam Monther @ 2019-11-06 9:38 UTC (permalink / raw)
To: Slava Ovsiienko; +Cc: Wisam Monther, dev, Moti Haimovsky
HW ptype are missing TUNNEL_GENEVE support
Fixes: e59a5dbcfd07 ("net/mlx5: add flow match on GENEVE item")
Cc: motih@mellanox.com
Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
---
drivers/net/mlx5/mlx5_flow.c | 4 ++++
drivers/net/mlx5/mlx5_rxtx.h | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
index b4b08f4..8f2dc57 100644
--- a/drivers/net/mlx5/mlx5_flow.c
+++ b/drivers/net/mlx5/mlx5_flow.c
@@ -287,6 +287,10 @@ static struct mlx5_flow_tunnel_info tunnels_info[] = {
.ptype = RTE_PTYPE_TUNNEL_VXLAN | RTE_PTYPE_L4_UDP,
},
{
+ .tunnel = MLX5_FLOW_LAYER_GENEVE,
+ .ptype = RTE_PTYPE_TUNNEL_GENEVE | RTE_PTYPE_L4_UDP,
+ },
+ {
.tunnel = MLX5_FLOW_LAYER_VXLAN_GPE,
.ptype = RTE_PTYPE_TUNNEL_VXLAN_GPE | RTE_PTYPE_L4_UDP,
},
diff --git a/drivers/net/mlx5/mlx5_rxtx.h b/drivers/net/mlx5/mlx5_rxtx.h
index d4ba25f..559d225 100644
--- a/drivers/net/mlx5/mlx5_rxtx.h
+++ b/drivers/net/mlx5/mlx5_rxtx.h
@@ -40,7 +40,7 @@
#include "mlx5_glue.h"
/* Support tunnel matching. */
-#define MLX5_FLOW_TUNNEL 8
+#define MLX5_FLOW_TUNNEL 9
struct mlx5_rxq_stats {
#ifdef MLX5_PMD_SOFT_COUNTERS
--
2.7.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/mlx5: add missing ptype for geneve tunnel
2019-11-06 9:38 [dpdk-dev] [PATCH] net/mlx5: add missing ptype for geneve tunnel Wisam Monther
@ 2019-11-06 17:49 ` Slava Ovsiienko
2019-11-07 14:28 ` Raslan Darawsheh
1 sibling, 0 replies; 3+ messages in thread
From: Slava Ovsiienko @ 2019-11-06 17:49 UTC (permalink / raw)
To: Wisam Monther; +Cc: dev
> -----Original Message-----
> From: Wisam Monther <wisamm@mellanox.com>
> Sent: Wednesday, November 6, 2019 11:39
> To: Slava Ovsiienko <viacheslavo@mellanox.com>
> Cc: Wisam Monther <wisamm@mellanox.com>; dev@dpdk.org; Moti
> Haimovsky <motih@mellanox.com>
> Subject: [PATCH] net/mlx5: add missing ptype for geneve tunnel
>
> HW ptype are missing TUNNEL_GENEVE support
>
> Fixes: e59a5dbcfd07 ("net/mlx5: add flow match on GENEVE item")
> Cc: motih@mellanox.com
>
> Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] net/mlx5: add missing ptype for geneve tunnel
2019-11-06 9:38 [dpdk-dev] [PATCH] net/mlx5: add missing ptype for geneve tunnel Wisam Monther
2019-11-06 17:49 ` Slava Ovsiienko
@ 2019-11-07 14:28 ` Raslan Darawsheh
1 sibling, 0 replies; 3+ messages in thread
From: Raslan Darawsheh @ 2019-11-07 14:28 UTC (permalink / raw)
To: Wisam Monther, Slava Ovsiienko; +Cc: Wisam Monther, dev, Moti Haimovsky
Hi,
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of Wisam Monther
> Sent: Wednesday, November 6, 2019 11:39 AM
> To: Slava Ovsiienko <viacheslavo@mellanox.com>
> Cc: Wisam Monther <wisamm@mellanox.com>; dev@dpdk.org; Moti
> Haimovsky <motih@mellanox.com>
> Subject: [dpdk-dev] [PATCH] net/mlx5: add missing ptype for geneve tunnel
>
> HW ptype are missing TUNNEL_GENEVE support
>
> Fixes: e59a5dbcfd07 ("net/mlx5: add flow match on GENEVE item")
> Cc: motih@mellanox.com
>
> Signed-off-by: Wisam Jaddo <wisamm@mellanox.com>
Changed author name to match Signed-off-by tag,
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-11-07 14:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-06 9:38 [dpdk-dev] [PATCH] net/mlx5: add missing ptype for geneve tunnel Wisam Monther
2019-11-06 17:49 ` Slava Ovsiienko
2019-11-07 14:28 ` Raslan Darawsheh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).