net/mlx5: fix VLAN matching on switch flow rules
authorAdrien Mazarguil <adrien.mazarguil@6wind.com>
Thu, 2 Aug 2018 09:25:08 +0000 (11:25 +0200)
committerShahaf Shuler <shahafs@mellanox.com>
Thu, 2 Aug 2018 11:46:39 +0000 (13:46 +0200)
commiteb19f1f6c83b3a6a72b551ba8f8a002f4754d3f7
tree56ec67edd9ee354b6ef34eda5de85d4e6cc51252
parentdd6eaddff7ded951486929458877f43fc2873c5b
net/mlx5: fix VLAN matching on switch flow rules

VLAN ID is not properly translated to TC due to swapped byte order.

Fixes: 7ac6778d50e0 ("net/mlx5: add VLAN item and actions to switch flow rules")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
drivers/net/mlx5/mlx5_nl_flow.c