Searched refs:vhca_nb (Results 1 – 2 of 2) sorted by relevance
33 struct notifier_block vhca_nb; member308 struct mlx5_sf_hw_table *table = container_of(nb, struct mlx5_sf_hw_table, vhca_nb); in mlx5_sf_hw_vhca_event()341 table->vhca_nb.notifier_call = mlx5_sf_hw_vhca_event; in mlx5_sf_hw_table_create()342 return mlx5_vhca_event_notifier_register(dev, &table->vhca_nb); in mlx5_sf_hw_table_create()352 mlx5_vhca_event_notifier_unregister(dev, &table->vhca_nb); in mlx5_sf_hw_table_destroy()
28 struct notifier_block vhca_nb; member425 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, vhca_nb); in mlx5_sf_vhca_event()534 table->vhca_nb.notifier_call = mlx5_sf_vhca_event; in mlx5_sf_table_init()535 err = mlx5_vhca_event_notifier_register(table->dev, &table->vhca_nb); in mlx5_sf_table_init()557 mlx5_vhca_event_notifier_unregister(table->dev, &table->vhca_nb); in mlx5_sf_table_cleanup()