commit | ccce1700263d8b5b219359d04180492a726cea16 | [log] [tgz] |
---|---|---|
author | Mohamad Haj Yahia <mohamad@mellanox.com> | Wed Dec 28 14:58:37 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 28 14:36:52 2016 -0500 |
tree | d270bb86d3c14b203d623ef05ed620c25ac369ca | |
parent | 9b8c514291a83e53c073b473bdca6267f17a02c2 [diff] |
net/mlx5: Prevent setting multicast macs for VFs Need to check that VF mac address entered by the admin user is either zero or unicast mac. Multicast mac addresses are prohibited. Fixes: 77256579c6b4 ('net/mlx5: E-Switch, Introduce Vport administration functions') Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>