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 +

The fact that you mixed our "ethernet" part with "uapi/rdma/mlx4-abi.h"
doesn't look good and we would like to avoid it.

Thanks

Attachment: signature.asc
Description: PGP signature


[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