net/mlx4: support flow w/o ETH spec and with VLAN
authorDekel Peled <dekelp@mellanox.com>
Thu, 20 Dec 2018 07:15:34 +0000 (09:15 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 3 Jan 2019 11:56:43 +0000 (12:56 +0100)
commitc0d2392631563a148111e76de25a02e4668762bb
tree3594eb5433fbde25adffb554127baac324b18467
parent4bb14c83df952bdb54a735873d4a5347b38e1117
net/mlx4: support flow w/o ETH spec and with VLAN

This patch adds to MLX4 PMD the option to set flow rules
with empty ether MAC and specific VLAN ID.

Note that this fix works with
1. CX-3 FW 2.42.5016 or higher.
2. mlxconfig configuration STEER_FORCE_VLAN set to 1.

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx4/mlx4_flow.c