net/mlx5: fix VXLAN without decap action for E-Switch
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Fri, 25 Jan 2019 15:29:35 +0000 (15:29 +0000)
committerShahaf Shuler <shahafs@mellanox.com>
Sun, 27 Jan 2019 11:33:47 +0000 (12:33 +0100)
commita9c94cc05015f34cd904e7903c698be1ddefbcc6
treeb90781db848c83d4db3bc8070788e14b195e25ff
parent5a88b9b3f0ca0578779c3efad2e362c8770353b4
net/mlx5: fix VXLAN without decap action for E-Switch

There is an intention to support VXLAN tunnel match without
hardware offloaded decapsulation, just to redirect ingress
tunnelled frame untouched. This small fix allows to specify
Flows with VXLAN VNI pattern and with or without following
decapsulation action.

Fixes: 251e8d02cf37 ("net/mlx5: add VXLAN to flow translate routine")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_flow_tcf.c