summaryrefslogtreecommitdiffstats
path: root/drivers/xen/privcmd.h
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2022-05-08 11:08:14 +0300
committerDavid S. Miller <davem@davemloft.net>2022-05-08 11:46:20 +0100
commit7cf0f96df1d86a4d08ac0160931df85bc88d42e8 (patch)
tree9829aa1732334d49adaaf78b4391171f5c5d2485 /drivers/xen/privcmd.h
parent9f88af22521db8602c68dc7b38b3b1189a6ec0ba (diff)
downloadlinux-7cf0f96df1d86a4d08ac0160931df85bc88d42e8.tar.bz2
mlxsw: spectrum: Tolerate enslaving of various devices to VRF
Enslaving netdevices to VRF is currently handled through an mlxsw_sp_is_vrf_event() conditional in mlxsw_sp_netdevice_event(). In the following patch sets, VRF enslavement will be handled purely in the router code. Therefore make handlers of NETDEV_PRECHANGEUPPER tolerant of enslaving to VRF, so that they do not bounce the change. For NETDEV_CHANGEUPPER, drop the WARN_ON(1) and bounce from mlxsw_sp_netdevice_port_vlan_event(). This is the only handler that warned and bounces even in the CHANGEUPPER code, other handler quietly do nothing when they encounter an unfamiliar upper. Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/xen/privcmd.h')
0 files changed, 0 insertions, 0 deletions