Expose the API to register for ANY event, mlx5_ib will be able to use this functionality for its needs.
Showing the changes to include/linux (1 of 3 files). Show all
Unified · Split
| @@ -1043,6 +1043,8 @@ int mlx5_register_interface(struct mlx5_interface *intf); · 1042 unmodified lines | ||
| 1043 | 1043 | void mlx5_unregister_interface(struct mlx5_interface *intf); |
| 1044 | 1044 | int mlx5_notifier_register(struct mlx5_core_dev *dev, struct notifier_block *nb); |
| 1045 | 1045 | int mlx5_notifier_unregister(struct mlx5_core_dev *dev, struct notifier_block *nb); |
| 1046 | +int mlx5_eq_notifier_register(struct mlx5_core_dev *dev, struct mlx5_nb *nb); | |
| 1047 | +int mlx5_eq_notifier_unregister(struct mlx5_core_dev *dev, struct mlx5_nb *nb); | |
| 1046 | 1048 | |
| 1047 | 1049 | int mlx5_core_query_vendor_id(struct mlx5_core_dev *mdev, u32 *vendor_id); |
| 1048 | 1050 | |