net/mlx5: fix VLAN inner ethernet type on E-Switch
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Wed, 21 Nov 2018 17:44:38 +0000 (17:44 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 22 Nov 2018 15:17:31 +0000 (16:17 +0100)
commite71b32f172f24a8f13392ee3fefd0ed74a1a4a71
tree67e241a39169fb1c9b1d2ef1256a8d2e48dd4d03
parentff30a020bb400f04bf64a91416993862f45f9ada
net/mlx5: fix VLAN inner ethernet type on E-Switch

The TCA_FLOWER_KEY_VLAN_ETH_TYPE should be specified for the E-Switch
Flows with VLAN and L3 pattern items in the Netlink messages. The patch
adds missing flower key to the messages. This patch partially reverts to
the code smashed by http://patches.dpdk.org/patch/47781

Fixes: 251e8d02cf37 ("net/mlx5: add VXLAN to flow translate routine")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_flow_tcf.c