mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07: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:
1 parent
30abc9cd9c
commit
2a014b200b
2 files changed
+454
No files matched your search
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