OSDN Git Service

RDMA/mlx4: Move flag constants to uapi header
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 13 Mar 2018 22:26:46 +0000 (16:26 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 15 Mar 2018 21:58:03 +0000 (15:58 -0600)
commit48962f5c6fffcb676dd6ebd70f7869cfc6cc8356
treebe6a998f00c595dff15cc037f47ffb5e7c8264e6
parent0c43ab371bcb07d9ed9c95ea116e6d1d703b56ca
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>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/main.c
include/linux/mlx4/device.h
include/uapi/rdma/mlx4-abi.h