net/mlx5: fix flows when VXLAN tunnel is 0
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 31 Oct 2017 15:51:11 +0000 (16:51 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 1 Nov 2017 21:17:06 +0000 (22:17 +0100)
commit92a67a70fd8aa54213abe21424d0259d65cae2cd
tree25c85486fbfd8a2320e01c2426d8a317ee1df4ab
parentc4814b22274b1c0770c890e3f7bfdc75da406b66
net/mlx5: fix flows when VXLAN tunnel is 0

Fix a strange behavior from the NIC, when the flow starts with a VXLAN
layer with a VNI equals to zero all the traffic will match within this
rule.

Fixes: 2e709b6aa0f5 ("net/mlx5: support VXLAN flow item")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/mlx5_flow.c