diff options
author | Or Gerlitz <ogerlitz@mellanox.com> | 2019-01-01 13:44:52 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-01-25 23:00:29 +0300 |
commit | 6ce966fd2671899a48037abe7bf1df80a5adf029 (patch) | |
tree | 24a27d24deff7eefc676a33912e0c2f3075705c6 /drivers/scsi/csiostor/csio_attr.c | |
parent | c12ecc2305648822970002871230979359edb2c0 (diff) | |
download | linux-6ce966fd2671899a48037abe7bf1df80a5adf029.tar.xz |
net/mlx5e: Unblock setting vid 0 for VFs through the uplink rep
It turns out that libvirt uses 0-vid as a default if no vlan was
set for the guest (which is the case for switchdev mode) and errs
if we disallow that:
error: Failed to start domain vm75
error: Cannot set interface MAC/vlanid to 6a:66:2d:48:92:c2/0 \
for ifname enp59s0f0 vf 0: Operation not supported
So allow this in order not to break existing systems.
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reported-by: Maor Dickman <maord@mellanox.com>
Reviewed-by: Gavi Teitz <gavi@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/scsi/csiostor/csio_attr.c')
0 files changed, 0 insertions, 0 deletions