net/mlx5: validate tunnel inner items on E-Switch
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Thu, 27 Dec 2018 15:34:42 +0000 (15:34 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 Jan 2019 16:44:29 +0000 (17:44 +0100)
commit9f4eb98f8267e344f7c9b590045863a998ea069a
treef2e6156547fe8c31b78c41e8795b303e7998bfe9
parent6b1a9b65be37a3cb352e246c354aeb2d4ff8755e
net/mlx5: validate tunnel inner items on E-Switch

This patch updates the validation routine for the E-Switch Flows.
The inner/outer item flags are added and set correctly, the
validation routine will accept and check the inner items
which follow the tunnel item (like VNI).

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