Home
last modified time | relevance | path

Searched refs:fib_nb (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dlag_mp.c95 struct lag_mp *mp = container_of(nb, struct lag_mp, fib_nb); in mlx5_lag_fib_event_flush()
252 struct lag_mp *mp = container_of(nb, struct lag_mp, fib_nb); in mlx5_lag_fib_event()
318 if (mp->fib_nb.notifier_call) in mlx5_lag_mp_init()
325 mp->fib_nb.notifier_call = mlx5_lag_fib_event; in mlx5_lag_mp_init()
326 err = register_fib_notifier(&init_net, &mp->fib_nb, in mlx5_lag_mp_init()
330 mp->fib_nb.notifier_call = NULL; in mlx5_lag_mp_init()
340 if (!mp->fib_nb.notifier_call) in mlx5_lag_mp_cleanup()
343 unregister_fib_notifier(&init_net, &mp->fib_nb); in mlx5_lag_mp_cleanup()
345 mp->fib_nb.notifier_call = NULL; in mlx5_lag_mp_cleanup()
Dlag_mp.h17 struct notifier_block fib_nb; member
/kernel/linux/linux-5.10/drivers/net/netdevsim/
Dfib.c42 struct notifier_block fib_nb; member
755 fib_nb); in nsim_fib_event_nb()
825 fib_nb); in nsim_fib_dump_inconsistent()
908 data->fib_nb.notifier_call = nsim_fib_event_nb; in nsim_fib_create()
909 err = register_fib_notifier(devlink_net(devlink), &data->fib_nb, in nsim_fib_create()
952 unregister_fib_notifier(devlink_net(devlink), &data->fib_nb); in nsim_fib_destroy()
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
Drocker.h69 struct notifier_block fib_nb; member
Drocker_main.c2191 struct rocker *rocker = container_of(nb, struct rocker, fib_nb); in rocker_router_fib_event()
2996 rocker->fib_nb.notifier_call = rocker_router_fib_event; in rocker_probe()
2997 err = register_fib_notifier(&init_net, &rocker->fib_nb, NULL, NULL); in rocker_probe()
3024 unregister_fib_notifier(&init_net, &rocker->fib_nb); in rocker_probe()
3060 unregister_fib_notifier(&init_net, &rocker->fib_nb); in rocker_remove()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.h41 struct notifier_block fib_nb; member
Dspectrum_router.c6218 router = container_of(nb, struct mlxsw_sp_router, fib_nb); in mlxsw_sp_router_fib_event()
7945 router = container_of(nb, struct mlxsw_sp_router, fib_nb); in mlxsw_sp_router_fib_dump_flush()
8141 mlxsw_sp->router->fib_nb.notifier_call = mlxsw_sp_router_fib_event; in mlxsw_sp_router_init()
8143 &mlxsw_sp->router->fib_nb, in mlxsw_sp_router_init()
8186 &mlxsw_sp->router->fib_nb); in mlxsw_sp_router_fini()