net/mlx4: fix creation of flow rule w/o ETH spec
authorDekel Peled <dekelp@mellanox.com>
Thu, 17 Jan 2019 12:12:19 +0000 (14:12 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 24 Jan 2019 09:08:31 +0000 (10:08 +0100)
commit105add6bc30e3a060c0e37decb734121af0673aa
tree9faaf1eb7a552a19e03786546143693fbd02763d
parent48006390003b81f6d5c7b78e3f02ed49d1049945
net/mlx4: fix creation of flow rule w/o ETH spec

The original commit enabled the creation of flow rule with empty
ETH address and with specific VLAN.
It works fine on PF, but such flow rule is still rejected on VF due
to kernel limitation, which blocks MAC address of all zeroes.

This patch complements the original commit.
It sets byte 0 of MAC address to 0xFF.

Fixes: c0d239263156 ("net/mlx4: support flow w/o ETH spec and with VLAN")

Signed-off-by: Dekel Peled <dekelp@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx4/mlx4_flow.c