mirror of
https://github.com/armbian/linux-cix.git
synced 2026-01-06 12:30:45 -08:00
mlxsw: spectrum_router: Add support for nexthop objects
Register a listener to the nexthop notification chain and parse notified nexthop objects into the existing mlxsw nexthop data structures. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
30abc9cd9c
commit
2a014b200b
File diff suppressed because it is too large
Load Diff
@@ -58,6 +58,7 @@ struct mlxsw_sp_router {
|
||||
struct list_head nexthop_neighs_list;
|
||||
struct list_head ipip_list;
|
||||
bool aborted;
|
||||
struct notifier_block nexthop_nb;
|
||||
struct notifier_block fib_nb;
|
||||
struct notifier_block netevent_nb;
|
||||
struct notifier_block inetaddr_nb;
|
||||
|
||||
Reference in New Issue
Block a user