summaryrefslogtreecommitdiff
path: root/drivers/net/mlx5/mlx5_rxtx.h
diff options
context:
space:
mode:
authorXiaoyu Min <jackmin@mellanox.com>2019-08-08 19:38:56 +0800
committerFerruh Yigit <ferruh.yigit@intel.com>2019-09-06 17:15:14 +0200
commit725a4284f7fc9272d929e1df63185a68597012c3 (patch)
treef381be42bd4db110c3181a869c949dcb039d6ecd /drivers/net/mlx5/mlx5_rxtx.h
parent9594db99c73b62c398310d812726cc90889297af (diff)
downloaddpdk-725a4284f7fc9272d929e1df63185a68597012c3.zip
dpdk-725a4284f7fc9272d929e1df63185a68597012c3.tar.gz
dpdk-725a4284f7fc9272d929e1df63185a68597012c3.tar.xz
net/mlx5: fix missing packet type for IP-in-IP
The hw ptype information is missed for IP-in-IP tunnel. It should be RTE_PTYPE_TUNNEL_IP ptype. Fixes: 5e33bebdd8d3 ("net/mlx5: support IP-in-IP tunnel") Cc: stable@dpdk.org Signed-off-by: Xiaoyu Min <jackmin@mellanox.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Diffstat (limited to 'drivers/net/mlx5/mlx5_rxtx.h')
-rw-r--r--drivers/net/mlx5/mlx5_rxtx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/mlx5/mlx5_rxtx.h b/drivers/net/mlx5/mlx5_rxtx.h
index bad9e9c..4f73d91 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 6
+#define MLX5_FLOW_TUNNEL 8
struct mlx5_rxq_stats {
#ifdef MLX5_PMD_SOFT_COUNTERS