mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
RDMA/mlx5: move mlx5 clock info to common struct ib_uverbs_clock_info
Use struct ib_uverbs_clock_info from ib_user_verbs.h for clock info. Signed-off-by: Abhijit Gangurde <abhijit.gangurde@amd.com> Link: https://patch.msgid.link/20260610154216.712374-6-abhijit.gangurde@amd.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
This commit is contained in:
parent
8ba0495046
commit
63d6c2d10c
|
|
@ -472,17 +472,10 @@ struct mlx5_ib_modify_wq {
|
|||
__u32 reserved;
|
||||
};
|
||||
|
||||
struct mlx5_ib_clock_info {
|
||||
__u32 sign;
|
||||
__u32 resv;
|
||||
__aligned_u64 nsec;
|
||||
__aligned_u64 cycles;
|
||||
__aligned_u64 frac;
|
||||
__u32 mult;
|
||||
__u32 shift;
|
||||
__aligned_u64 mask;
|
||||
__aligned_u64 overflow_period;
|
||||
};
|
||||
/*
|
||||
* deprecated, see struct ib_uverbs_clock_info from ib_user_verbs.h
|
||||
*/
|
||||
#define mlx5_ib_clock_info ib_uverbs_clock_info
|
||||
|
||||
enum mlx5_ib_mmap_cmd {
|
||||
MLX5_IB_MMAP_REGULAR_PAGE = 0,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user