mlx5: Use common ib_uverbs_clock_info for clock info page Migrate to the common ib_uverbs_clock_info struct introduced in the kernel headers. Signed-off-by: Abhijit Gangurde <abhijit.gangurde@amd.com>
diff --git a/providers/mlx5/mlx5.c b/providers/mlx5/mlx5.c index ad107ed..8d189f5 100644 --- a/providers/mlx5/mlx5.c +++ b/providers/mlx5/mlx5.c
@@ -2254,7 +2254,7 @@ struct mlx5dv_clock_info *clock_info) { struct mlx5_context *ctx = to_mctx(ctx_in); - const struct mlx5_ib_clock_info *ci; + const struct ib_uverbs_clock_info *ci; uint32_t retry, tmp_sig; atomic_uint32_t *sig;
diff --git a/providers/mlx5/mlx5.h b/providers/mlx5/mlx5.h index b24ef79..57ee696 100644 --- a/providers/mlx5/mlx5.h +++ b/providers/mlx5/mlx5.h
@@ -380,7 +380,7 @@ uint64_t mask; } core_clock; void *hca_core_clock; - const struct mlx5_ib_clock_info *clock_info_page; + const struct ib_uverbs_clock_info *clock_info_page; struct mlx5_ib_tso_caps cached_tso_caps; int cmds_supp_uhw; uint32_t uar_size;