diff options
author | Petr Machata <petrm@nvidia.com> | 2022-05-08 11:08:15 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-08 11:46:20 +0100 |
commit | 0a27cb1692dedd44516745d86e0cb8e9524004c0 (patch) | |
tree | 4913cef6883384d3b6818e1db1a8cb088f45850c /drivers/xen/gntalloc.c | |
parent | 7cf0f96df1d86a4d08ac0160931df85bc88d42e8 (diff) | |
download | linux-0a27cb1692dedd44516745d86e0cb8e9524004c0.tar.bz2 |
mlxsw: spectrum_router: Add a dedicated notifier block
Currently all netdevice events are handled in the centralized notifier
handler maintained by spectrum.c. Since a number of events are involving
router code, spectrum.c needs to dispatch them to spectrum_router.c. The
spectrum module therefore needs to know more about the router code than it
should have, and there is are several API points through which the two
modules communicate.
To simplify the notifier handlers, introduce a new notifier into the router
module.
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/gntalloc.c')
0 files changed, 0 insertions, 0 deletions