diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-13 23:26:46 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-15 22:58:03 +0100 |
commit | 48962f5c6fffcb676dd6ebd70f7869cfc6cc8356 (patch) | |
tree | be6a998f00c595dff15cc037f47ffb5e7c8264e6 /drivers/infiniband/hw/mlx4/mlx4_ib.h | |
parent | RDMA/rxe: Use structs to describe the uABI instead of opencoding (diff) | |
download | linux-48962f5c6fffcb676dd6ebd70f7869cfc6cc8356.tar.xz linux-48962f5c6fffcb676dd6ebd70f7869cfc6cc8356.zip |
RDMA/mlx4: Move flag constants to uapi header
MLX4_USER_DEV_CAP_LARGE_CQE (via mlx4_ib_alloc_ucontext_resp.dev_caps)
and MLX4_IB_QUERY_DEV_RESP_MASK_CORE_CLOCK_OFFSET (via
mlx4_uverbs_ex_query_device_resp.comp_mask) are copied directly to
userspace and form part of the uAPI.
Move them to the uapi header where they belong.
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mlx4_ib.h')
-rw-r--r-- | drivers/infiniband/hw/mlx4/mlx4_ib.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/mlx4/mlx4_ib.h b/drivers/infiniband/hw/mlx4/mlx4_ib.h index d0640bd79679..87c47b1dd870 100644 --- a/drivers/infiniband/hw/mlx4/mlx4_ib.h +++ b/drivers/infiniband/hw/mlx4/mlx4_ib.h @@ -641,10 +641,6 @@ struct mlx4_uverbs_ex_query_device { __u32 reserved; }; -enum query_device_resp_mask { - QUERY_DEVICE_RESP_MASK_TIMESTAMP = 1UL << 0, -}; - static inline struct mlx4_ib_dev *to_mdev(struct ib_device *ibdev) { return container_of(ibdev, struct mlx4_ib_dev, ib_dev); |