Re: [PATCH for-next v1] RDMA/vmw_pvrdma: Add shared receive queue support

Yuval Shaia
2017-11-07T06:53:27Z

On Mon, Nov 06, 2017 at 11:48:53AM -0800, Bryan Tan wrote:
> Add the required functions needed to support SRQs. Currently, kernel
> clients are not supported. SRQs will only be available in userspace.
>
> Reviewed-by: Adit Ranadive <aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
> Reviewed-by: Aditya Sarwade <asarwade-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
> Reviewed-by: Jorgen Hansen <jhansen-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
> Reviewed-by: Nitish Bhat <bnitish-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
> Signed-off-by: Bryan Tan <bryantan-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
> ---
> v0 -> v1 Changelog:
> - Change SRQ functions to be more consistent with the QP functions
> - Move check for kernel clients to before resource initialization
> - Use refcount_t instead of atomic_t
> - Change allocation from (void *) to (struct pvrdma_srq *)
> - Remove unnecessary initialization of srq_tbl to NULL
> - Check for srq_tbl in SRQ event handler
> - Only register SRQ functions with IB/core when the underlying
> device has SRQ capabilities.
> ---
> drivers/infiniband/hw/vmw_pvrdma/Makefile | 2 +-
> drivers/infiniband/hw/vmw_pvrdma/pvrdma.h | 25 ++
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_dev_api.h | 54 ++++
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_main.c | 59 +++-
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c | 55 +++-
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c | 319 ++++++++++++++++++++++
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c | 3 +
> drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.h | 18 ++
> include/uapi/rdma/vmw_pvrdma-abi.h | 2 +
> 9 files changed, 523 insertions(+), 14 deletions(-)
> create mode 100644 drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c

Reviewed-by: Yuval Shaia <yuval.shaia-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org>

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