diff options
author | Petr Machata <petrm@nvidia.com> | 2023-07-19 13:01:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-07-21 08:54:06 +0100 |
commit | 4560cf408ecae4824a2bbdcef83cf91b2db5d268 (patch) | |
tree | 9ec84daf7b7f12ae69c58c4ee3670173a3b6c2cd /Documentation/PCI | |
parent | 31618b22f2c4c0a4491554a2d879141efdffe88f (diff) |
mlxsw: spectrum_router: Replay IP NETDEV_UP on device deslavement
When a netdevice is removed from a bridge or a LAG, and it has an IP
address, it should join the router and gain a RIF. Do that by replaying
address addition event on the netdevice.
When handling deslavement of LAG or its upper from a bridge device, the
replay should be done after all the lowers of the LAG have left the bridge.
Thus these scenarios are handled by passing replay_deslavement of false,
and by invoking, after the lowers have been processed, a new helper,
mlxsw_sp_netdevice_post_lag_event(), which does the per-LAG / -upper
handling, and in particular invokes the replay.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Danielle Ratson <danieller@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/PCI')
0 files changed, 0 insertions, 0 deletions