Searched refs:esw_nb (Results 1 – 1 of 1) sorted by relevance
34 struct notifier_block esw_nb; member428 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, esw_nb); in mlx5_sf_esw_event()483 table->esw_nb.notifier_call = mlx5_sf_esw_event; in mlx5_sf_table_init()484 err = mlx5_esw_event_notifier_register(dev->priv.eswitch, &table->esw_nb); in mlx5_sf_table_init()499 mlx5_esw_event_notifier_unregister(dev->priv.eswitch, &table->esw_nb); in mlx5_sf_table_init()516 mlx5_esw_event_notifier_unregister(dev->priv.eswitch, &table->esw_nb); in mlx5_sf_table_cleanup()