Home
last modified time | relevance | path

Searched refs:netevent_nb (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dneigh.c206 neigh_update.netevent_nb); in mlx5e_rep_netevent_event()
291 neigh_update->netevent_nb.notifier_call = mlx5e_rep_netevent_event; in mlx5e_rep_neigh_init()
292 err = register_netevent_notifier(&neigh_update->netevent_nb); in mlx5e_rep_neigh_init()
298 neigh_update->netevent_nb.notifier_call = NULL; in mlx5e_rep_neigh_init()
312 if (!rpriv->neigh_update.netevent_nb.notifier_call) in mlx5e_rep_neigh_cleanup()
315 unregister_netevent_notifier(&neigh_update->netevent_nb); in mlx5e_rep_neigh_cleanup()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c857 ipsec = container_of(nb, struct mlx5e_ipsec, netevent_nb); in mlx5e_ipsec_netevent_event()
912 ipsec->netevent_nb.notifier_call = mlx5e_ipsec_netevent_event; in mlx5e_ipsec_init()
913 ret = register_netevent_notifier(&ipsec->netevent_nb); in mlx5e_ipsec_init()
930 unregister_netevent_notifier(&ipsec->netevent_nb); in mlx5e_ipsec_init()
950 if (ipsec->netevent_nb.notifier_call) { in mlx5e_ipsec_cleanup()
951 unregister_netevent_notifier(&ipsec->netevent_nb); in mlx5e_ipsec_cleanup()
952 ipsec->netevent_nb.notifier_call = NULL; in mlx5e_ipsec_cleanup()
H A Dipsec.h241 struct notifier_block netevent_nb; member
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c1499 router = container_of(nb, struct prestera_router, netevent_nb); in prestera_router_netevent_event()
1595 router->netevent_nb.notifier_call = prestera_router_netevent_event; in prestera_router_init()
1596 err = register_netevent_notifier(&router->netevent_nb); in prestera_router_init()
1609 unregister_netevent_notifier(&router->netevent_nb); in prestera_router_init()
1632 unregister_netevent_notifier(&sw->router->netevent_nb); in prestera_router_fini()
H A Dprestera.h324 struct notifier_block netevent_nb; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h55 struct notifier_block netevent_nb; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.h52 struct notifier_block netevent_nb; member
H A Dspectrum_router.c2901 router = container_of(nb, struct mlxsw_sp_router, netevent_nb); in mlxsw_sp_router_netevent_event()
11723 mlxsw_sp->router->netevent_nb.notifier_call = in mlxsw_sp_router_init()
11725 err = register_netevent_notifier(&mlxsw_sp->router->netevent_nb); in mlxsw_sp_router_init()
11760 unregister_netevent_notifier(&mlxsw_sp->router->netevent_nb); in mlxsw_sp_router_init()
11812 unregister_netevent_notifier(&router->netevent_nb); in mlxsw_sp_router_fini()