Home
last modified time | relevance | path

Searched refs:vhca_nb (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
A Dhw_table.c34 struct notifier_block vhca_nb; member
312 struct mlx5_sf_hw_table *table = container_of(nb, struct mlx5_sf_hw_table, vhca_nb); in mlx5_sf_hw_vhca_event()
345 table->vhca_nb.notifier_call = mlx5_sf_hw_vhca_event; in mlx5_sf_hw_table_create()
346 return mlx5_vhca_event_notifier_register(dev, &table->vhca_nb); in mlx5_sf_hw_table_create()
356 mlx5_vhca_event_notifier_unregister(dev, &table->vhca_nb); in mlx5_sf_hw_table_destroy()
A Ddevlink.c30 struct notifier_block vhca_nb; member
431 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, vhca_nb); in mlx5_sf_vhca_event()
542 table->vhca_nb.notifier_call = mlx5_sf_vhca_event; in mlx5_sf_table_init()
543 err = mlx5_vhca_event_notifier_register(table->dev, &table->vhca_nb); in mlx5_sf_table_init()
565 mlx5_vhca_event_notifier_unregister(table->dev, &table->vhca_nb); in mlx5_sf_table_cleanup()

Completed in 6 milliseconds