Searched refs:fib_nb (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
D | mp.c | 98 struct lag_mp *mp = container_of(nb, struct lag_mp, fib_nb); in mlx5_lag_fib_event_flush() 265 struct lag_mp *mp = container_of(nb, struct lag_mp, fib_nb); in mlx5_lag_fib_event() 339 if (mp->fib_nb.notifier_call) in mlx5_lag_mp_init() 346 mp->fib_nb.notifier_call = mlx5_lag_fib_event; in mlx5_lag_mp_init() 347 err = register_fib_notifier(&init_net, &mp->fib_nb, in mlx5_lag_mp_init() 351 mp->fib_nb.notifier_call = NULL; in mlx5_lag_mp_init() 361 if (!mp->fib_nb.notifier_call) in mlx5_lag_mp_cleanup() 364 unregister_fib_notifier(&init_net, &mp->fib_nb); in mlx5_lag_mp_cleanup() 366 mp->fib_nb.notifier_call = NULL; in mlx5_lag_mp_cleanup()
|
D | mp.h | 17 struct notifier_block fib_nb; member
|
/Linux-v6.1/drivers/net/netdevsim/ |
D | fib.c | 46 struct notifier_block fib_nb; member 1030 fib_nb); in nsim_fib_event_nb() 1093 fib_nb); in nsim_fib_dump_inconsistent() 1594 data->fib_nb.notifier_call = nsim_fib_event_nb; in nsim_fib_create() 1595 err = register_fib_notifier(devlink_net(devlink), &data->fib_nb, in nsim_fib_create() 1655 unregister_fib_notifier(devlink_net(devlink), &data->fib_nb); in nsim_fib_destroy()
|
/Linux-v6.1/drivers/net/ethernet/rocker/ |
D | rocker.h | 69 struct notifier_block fib_nb; member
|
D | rocker_main.c | 2153 struct rocker *rocker = container_of(nb, struct rocker, fib_nb); in rocker_router_fib_event() 2947 rocker->fib_nb.notifier_call = rocker_router_fib_event; in rocker_probe() 2948 err = register_fib_notifier(&init_net, &rocker->fib_nb, NULL, NULL); in rocker_probe() 2975 unregister_fib_notifier(&init_net, &rocker->fib_nb); in rocker_probe() 3011 unregister_fib_notifier(&init_net, &rocker->fib_nb); in rocker_remove()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_router.h | 46 struct notifier_block fib_nb; member
|
D | spectrum_router.c | 7638 router = container_of(nb, struct mlxsw_sp_router, fib_nb); in mlxsw_sp_router_fib_event() 10043 router = container_of(nb, struct mlxsw_sp_router, fib_nb); in mlxsw_sp_router_fib_dump_flush() 10519 mlxsw_sp->router->fib_nb.notifier_call = mlxsw_sp_router_fib_event; in mlxsw_sp_router_init() 10521 &mlxsw_sp->router->fib_nb, in mlxsw_sp_router_init() 10537 &mlxsw_sp->router->fib_nb); in mlxsw_sp_router_init() 10583 &mlxsw_sp->router->fib_nb); in mlxsw_sp_router_fini()
|
/Linux-v6.1/drivers/net/ethernet/marvell/prestera/ |
D | prestera_router.c | 1441 router = container_of(nb, struct prestera_router, fib_nb); in __prestera_router_fib_event() 1600 router->fib_nb.notifier_call = __prestera_router_fib_event; in prestera_router_init() 1601 err = register_fib_notifier(&init_net, &router->fib_nb, in prestera_router_init() 1631 unregister_fib_notifier(&init_net, &sw->router->fib_nb); in prestera_router_fini()
|
D | prestera.h | 323 struct notifier_block fib_nb; member
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | tc_tun_encap.c | 61 struct notifier_block fib_nb; member 1695 encap = container_of(nb, struct mlx5e_tc_tun_encap, fib_nb); in mlx5e_tc_tun_fib_event() 1736 encap->fib_nb.notifier_call = mlx5e_tc_tun_fib_event; in mlx5e_tc_tun_init() 1739 err = register_fib_notifier(dev_net(priv->netdev), &encap->fib_nb, in mlx5e_tc_tun_init() 1754 unregister_fib_notifier(dev_net(encap->priv->netdev), &encap->fib_nb); in mlx5e_tc_tun_cleanup()
|