Re: [PATCH] RDMA/mlx4: Move flag constants to uapi header

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 13, 2018 at 04:26:46PM -0600, Jason Gunthorpe wrote:
> 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@xxxxxxxxxxxx>
>  drivers/infiniband/hw/mlx4/main.c         | 2 +-
>  drivers/infiniband/hw/mlx4/mlx4_ib.h      | 4 ----
>  drivers/net/ethernet/mellanox/mlx4/fw.c   | 1 +
>  drivers/net/ethernet/mellanox/mlx4/main.c | 1 +
>  include/linux/mlx4/device.h               | 4 ----
>  include/uapi/rdma/mlx4-abi.h              | 8 ++++++++
>  6 files changed, 11 insertions(+), 9 deletions(-)

Applied to for-next, we can rework the weird caps.userspace_caps thing
some other day

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux