]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5e: Allow MAC invalidation while spoofchk is ON
authorAya Levin <ayal@mellanox.com>
Mon, 24 Dec 2018 07:48:42 +0000 (09:48 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 25 Jan 2019 20:00:29 +0000 (12:00 -0800)
commit9d2cbdc5d334967c35b5f58c7bf3208e17325647
tree639460fd47a204cd37e8588f037677e87b41ffc8
parent33814e5d127e21f53b52e17b0722c1b57d4f4d29
net/mlx5e: Allow MAC invalidation while spoofchk is ON

Prior to this patch the driver prohibited spoof checking on invalid MAC.
Now the user can set this configuration if it wishes to.

This is required since libvirt might invalidate the VF Mac by setting it
to zero, while spoofcheck is ON.

Fixes: 1ab2068a4c66 ("net/mlx5: Implement vports admin state backup/restore")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c