Searched refs:fib_nb (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
D | lag_mp.c | 93 struct lag_mp *mp = container_of(nb, struct lag_mp, fib_nb); in mlx5_lag_fib_event_flush() 242 struct lag_mp *mp = container_of(nb, struct lag_mp, fib_nb); in mlx5_lag_fib_event() 310 if (mp->fib_nb.notifier_call) in mlx5_lag_mp_init() 313 mp->fib_nb.notifier_call = mlx5_lag_fib_event; in mlx5_lag_mp_init() 314 err = register_fib_notifier(&mp->fib_nb, in mlx5_lag_mp_init() 317 mp->fib_nb.notifier_call = NULL; in mlx5_lag_mp_init() 326 if (!mp->fib_nb.notifier_call) in mlx5_lag_mp_cleanup() 329 unregister_fib_notifier(&mp->fib_nb); in mlx5_lag_mp_cleanup() 330 mp->fib_nb.notifier_call = NULL; in mlx5_lag_mp_cleanup()
|
D | lag_mp.h | 11 struct notifier_block fib_nb; member
|
/Linux-v5.4/drivers/net/ethernet/rocker/ |
D | rocker.h | 69 struct notifier_block fib_nb; member
|
D | rocker_main.c | 2188 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(&rocker->fib_nb, NULL); in rocker_probe() 3024 unregister_fib_notifier(&rocker->fib_nb); in rocker_probe() 3060 unregister_fib_notifier(&rocker->fib_nb); in rocker_remove()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.c | 73 struct notifier_block fib_nb; member 6242 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() 8140 mlxsw_sp->router->fib_nb.notifier_call = mlxsw_sp_router_fib_event; in mlxsw_sp_router_init() 8141 err = register_fib_notifier(&mlxsw_sp->router->fib_nb, in mlxsw_sp_router_init() 8181 unregister_fib_notifier(&mlxsw_sp->router->fib_nb); in mlxsw_sp_router_fini()
|