Re: [PATCH v3 2/2] IB/uverbs: Move part of enum ib_device_cap_flags to uapi

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

 



On Mon, Mar 28, 2022 at 11:45:11PM +0800, Xiao Yang wrote:
> 1) Part of enum ib_device_cap_flags are used by ibv_query_device(3)
>    or ibv_query_device_ex(3), so we define them in
>    include/uapi/rdma/ib_user_verbs.h and only expose them to userspace.
> 
> 2) Reformat enum ib_device_cap_flags by removing the indent before '='.
> 
> Signed-off-by: Xiao Yang <yangx.jy@xxxxxxxxxxx>
> ---
>  drivers/infiniband/core/uverbs_cmd.c |   6 +-
>  include/rdma/ib_verbs.h              | 104 +++++++++++++++++----------
>  include/uapi/rdma/ib_user_verbs.h    |  31 ++++++++
>  3 files changed, 101 insertions(+), 40 deletions(-)
> 

Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>



[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