net/mlx5: Add header file for events
authorJuhee Kang <claudiajkang@gmail.com>
Mon, 5 Jun 2023 07:51:36 +0000 (16:51 +0900)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 16 Jun 2023 19:02:08 +0000 (12:02 -0700)
commit2bd3b292955fe0a7eb2f768f36a767eddaedd6da
tree531f0e20b1fd2c7e5ed5f6b1e63a36874efd57cf
parent8bbe544e03809514e441994b4b849fdbeadd0068
net/mlx5: Add header file for events

Separate the event API defined in the generic mlx5.h header into
a dedicated header. And remove the TODO comment in commit
69c1280b1f3b ("net/mlx5: Device events, Use async events chain").

Signed-off-by: Juhee Kang <claudiajkang@gmail.com>
Reviewed-by: Larysa Zaremba <larysa.zaremba@intel.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_stats.c
drivers/net/ethernet/mellanox/mlx5/core/events.c
drivers/net/ethernet/mellanox/mlx5/core/health.c
drivers/net/ethernet/mellanox/mlx5/core/lag/mp.c
drivers/net/ethernet/mellanox/mlx5/core/lag/mpesw.c
drivers/net/ethernet/mellanox/mlx5/core/lib/events.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h