/* SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB */ /* Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #ifndef __LIB_EVENTS_H__ #define __LIB_EVENTS_H__ #include "mlx5_core.h" #define PORT_MODULE_EVENT_MODULE_STATUS_MASK … #define PORT_MODULE_EVENT_ERROR_TYPE_MASK … enum port_module_event_status_type { … }; enum port_module_event_error_type { … }; struct mlx5_pme_stats { … }; void mlx5_get_pme_stats(struct mlx5_core_dev *dev, struct mlx5_pme_stats *stats); int mlx5_notifier_call_chain(struct mlx5_events *events, unsigned int event, void *data); #endif