]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx4: Spoofcheck and zero MAC can't coexist
authorEugenia Emantayev <eugenia@mellanox.com>
Thu, 23 Feb 2017 10:02:42 +0000 (12:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Feb 2017 15:57:56 +0000 (10:57 -0500)
commit745d8ae4622c6808b22e33a944c7decb30074be4
tree56b55f8e44f2678025ad8551d0e8d8e983f31ab1
parent423b3aecf29085a52530d4f9167c56a84b081042
net/mlx4: Spoofcheck and zero MAC can't coexist

Spoofcheck can't be enabled if VF MAC is zero.
Vice versa, can't zero MAC if spoofcheck is on.

Fixes: 8f7ba3ca12f6 ('net/mlx4: Add set VF mac address support')
Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/cmd.c
drivers/net/ethernet/mellanox/mlx4/en_netdev.c
include/linux/mlx4/cmd.h
include/linux/mlx4/driver.h