Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Ddevlink.c36 struct notifier_block mdev_nb; member
443 struct mlx5_sf_table *table = container_of(nb, struct mlx5_sf_table, mdev_nb); in mlx5_sf_mdev_event()
492 table->mdev_nb.notifier_call = mlx5_sf_mdev_event; in mlx5_sf_table_init()
493 mlx5_blocking_notifier_register(dev, &table->mdev_nb); in mlx5_sf_table_init()
513 mlx5_blocking_notifier_unregister(dev, &table->mdev_nb); in mlx5_sf_table_cleanup()
/linux/drivers/infiniband/hw/mlx5/
H A Dmain.c3335 struct mlx5_roce *roce = container_of(nb, struct mlx5_roce, mdev_nb); in mlx5e_mdev_notifier_event()
3356 roce->mdev_nb.notifier_call = mlx5e_mdev_notifier_event; in mlx5_mdev_netdev_track()
3357 mlx5_blocking_notifier_register(dev->mdev, &roce->mdev_nb); in mlx5_mdev_netdev_track()
3365 mlx5_blocking_notifier_unregister(dev->mdev, &roce->mdev_nb); in mlx5_mdev_netdev_untrack()