Re: [PATCH 01/10] IB/uverbs: Have the core code create the uverbs_root_spec

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

 



On Fri, Aug 03, 2018 at 01:31:34PM -0600, Jason Gunthorpe wrote:
> From: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
>
> There is no reason for drivers to do this, the core code should take of
> everything. The drivers will provide their information from rodata to
> describe their modifications to the core's base uapi specification.
>
> The core uses this to build up the runtime uapi for each device.
>
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/core/uverbs_ioctl_merge.c |  2 -
>  drivers/infiniband/core/uverbs_main.c        | 50 +++++++++++++-------
>  drivers/infiniband/core/uverbs_std_types.c   |  1 -
>  drivers/infiniband/hw/mlx5/main.c            | 45 +++++++-----------
>  drivers/infiniband/hw/mlx5/mlx5_ib.h         |  1 +
>  include/rdma/ib_verbs.h                      |  2 +-
>  6 files changed, 51 insertions(+), 50 deletions(-)
>

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

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