RE: [PATCH 00/11] Reduce uverbs_cmd_mask and remove uverbs_ex_cmd_mask

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

 



> Subject: [PATCH 00/11] Reduce uverbs_cmd_mask and remove
> uverbs_ex_cmd_mask
> 
> These have become increasingly redundant as the uverbs core layer has got better
> at not invoking drivers in situations they are not supporting.
> 
> The remaining uses are only in rxe and rvt for kernel datapath commands these
> drivers expose to userspace.
> 
> There are many, many weird and wrong things in the drivers related to these
> masks. This closes a number of troublesome cases.
> 
> Jason Gunthorpe (11):
>   RDMA/cxgb4: Remove MW support
>   RDMA: Remove uverbs_ex_cmd_mask values that are linked to functions
>   RDMA: Remove elements in uverbs_cmd_mask that all drivers set
>   RDMA: Move more uverbs_cmd_mask settings to the core
>   RDMA: Check srq_type during create_srq
>   RDMA: Check attr_mask during modify_qp
>   RDMA: Check flags during create_cq
>   RDMA: Check create_flags during create_qp
>   RDMA/core Remove uverbs_ex_cmd_mask
>   RDMA: Remove uverbs cmds from drivers that don't use them
>   RDMA: Remove AH from uverbs_cmd_mask
> 
>  drivers/infiniband/core/device.c              | 33 ++++++++
>  drivers/infiniband/core/uverbs_cmd.c          | 26 +++---
>  drivers/infiniband/core/uverbs_uapi.c         |  5 +-
>  drivers/infiniband/core/verbs.c               |  5 +-
>  drivers/infiniband/hw/bnxt_re/ib_verbs.c      | 10 ++-
>  drivers/infiniband/hw/bnxt_re/main.c          | 30 +------
>  drivers/infiniband/hw/cxgb4/cq.c              |  2 +-
>  drivers/infiniband/hw/cxgb4/iw_cxgb4.h        |  2 -
>  drivers/infiniband/hw/cxgb4/mem.c             | 84 -------------------
>  drivers/infiniband/hw/cxgb4/provider.c        | 24 ------
>  drivers/infiniband/hw/cxgb4/qp.c              |  8 +-
>  drivers/infiniband/hw/efa/efa_main.c          | 22 +----
>  drivers/infiniband/hw/efa/efa_verbs.c         |  6 ++
>  drivers/infiniband/hw/hns/hns_roce_cq.c       |  3 +
>  drivers/infiniband/hw/hns/hns_roce_hw_v1.c    |  9 +-
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c    |  3 +
>  drivers/infiniband/hw/hns/hns_roce_main.c     | 35 +-------
>  drivers/infiniband/hw/hns/hns_roce_qp.c       | 14 +---
>  drivers/infiniband/hw/hns/hns_roce_srq.c      |  4 +
>  drivers/infiniband/hw/i40iw/i40iw_verbs.c     | 29 ++-----

i40iw bit looks ok to me.
Reviewed-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx>



[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