All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 00/15] Add Paravirtual RDMA Driver
@ 2016-07-12 19:36 Adit Ranadive
       [not found] ` <1468352205-9137-1-git-send-email-aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 45+ messages in thread
From: Adit Ranadive @ 2016-07-12 19:36 UTC (permalink / raw)
  To: dledford-H+wXaHxf7aLQT0dZR+AlfA,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA,
	pv-drivers-pghWNbHTmq7QT0dZR+AlfA
  Cc: Adit Ranadive, jhansen-pghWNbHTmq7QT0dZR+AlfA,
	asarwade-pghWNbHTmq7QT0dZR+AlfA,
	georgezhang-pghWNbHTmq7QT0dZR+AlfA,
	bryantan-pghWNbHTmq7QT0dZR+AlfA

Hi Doug, others,

This patch series adds a driver for a paravirtual RDMA device. The device
is developed for VMware's Virtual Machines and allows existing RDMA
applications to continue to use existing Verbs API when deployed in VMs on
ESX. We recently did a presentation in the OFA Workshop regarding this
device. See - https://goo.gl/pHOXJ8 for our workshop presentation. Note,
that this patch series should be applied all together. I split out the
commits so that it may be easier to review.

Description and RDMA Support
-------------------------------
The virtual device is exposed as a dual function PCIe device. One part is
a virtual network device (VMXNet3) which provides networking properties
like MAC, IP addresses to the RDMA part of the device. The networking
properties are used to register GIDs required by RDMA applications to
communicate.

These patches add support and the all required infrastructure for letting
applications use such a device. We support the mandatory Verbs API as well
as the base memory management extensions (Local Inv, Send with Inv and Fast
Register Work Requests). We currently support both Reliable Connected and
Unreliable Datagram QPs but do not support Shared Receive Queues (SRQs).
Also, we support the following types of Work Requests:
 o Send/Receive (with or without Immediate Data)
 o RDMA Write (with or without Immediate Data)
 o RDMA Read
 o Local Invalidate
 o Send with Invalidate
 o Fast Register Work Requests

This version only adds support for version 1 of RoCE. We will add RoCEv2
support in a future patch. We do support registration of both MAC-based and
IP-based GIDs. 

I have also created a git tree for our user-level driver here:
http://git.openfabrics.org/?p=~aditr/libpvrdma.git;a=summary

Testing
--------
We have tested this internally for various types of Guest OS - Red Hat,
Centos, Ubuntu 12.04/14.04/16.04, Oracle Enterprise Linux, SLES 12
using backported versions of this driver. The tests included several runs
of the performance tests (included with OFED), Intel MPI PingPong benchmark
on OpenMPI, krping for FRWRs. Mellanox has been kind enough to test the
backported version of the driver internally on their hardware using a
VMware provided ESX build. I have also applied and tested this with Doug's
master, k.o/for-4.7, k.o/for-4.8 branches.

Changes v1 -> v2: 
 Patch [07/15] - Addressed Yuval Shaia's comments and 32-bit build errors.

---

Adit Ranadive (15):
  IB/pvrdma: Add paravirtual rdma device
  IB/pvrdma: Add device command support
  IB/pvrdma: Add support for Completion Queues
  IB/pvrdma: Add the paravirtual RDMA device specification
  IB/pvrdma: Add UAR support
  IB/pvrdma: Add virtual device RDMA structures
  IB/pvrdma: Add the main driver module for PVRDMA
  IB/pvrdma: Add helper functions
  IB/pvrdma: Add support for memory regions
  IB/pvrdma: Add Queue Pair support
  IB/pvrdma: Add user-level shared functions
  IB/pvrdma: Add functions for Verbs support
  IB/pvrdma: Add Kconfig and Makefile
  IB: Add PVRDMA driver
  MAINTAINERS: Update for PVRDMA driver

 MAINTAINERS                                    |    7 +
 drivers/infiniband/Kconfig                     |    1 +
 drivers/infiniband/hw/Makefile                 |    1 +
 drivers/infiniband/hw/pvrdma/Kconfig           |    8 +
 drivers/infiniband/hw/pvrdma/Makefile          |    3 +
 drivers/infiniband/hw/pvrdma/pvrdma.h          |  459 +++++++++
 drivers/infiniband/hw/pvrdma/pvrdma_cmd.c      |  104 +++
 drivers/infiniband/hw/pvrdma/pvrdma_cq.c       |  436 +++++++++
 drivers/infiniband/hw/pvrdma/pvrdma_defs.h     |  300 ++++++
 drivers/infiniband/hw/pvrdma/pvrdma_dev_api.h  |  342 +++++++
 drivers/infiniband/hw/pvrdma/pvrdma_doorbell.c |  128 +++
 drivers/infiniband/hw/pvrdma/pvrdma_ib_verbs.h |  450 +++++++++
 drivers/infiniband/hw/pvrdma/pvrdma_main.c     | 1189 ++++++++++++++++++++++++
 drivers/infiniband/hw/pvrdma/pvrdma_misc.c     |  309 ++++++
 drivers/infiniband/hw/pvrdma/pvrdma_mr.c       |  333 +++++++
 drivers/infiniband/hw/pvrdma/pvrdma_qp.c       |  976 +++++++++++++++++++
 drivers/infiniband/hw/pvrdma/pvrdma_uapi.h     |  247 +++++
 drivers/infiniband/hw/pvrdma/pvrdma_user.h     |   99 ++
 drivers/infiniband/hw/pvrdma/pvrdma_verbs.c    |  593 ++++++++++++
 drivers/infiniband/hw/pvrdma/pvrdma_verbs.h    |  108 +++
 20 files changed, 6093 insertions(+)
 create mode 100644 drivers/infiniband/hw/pvrdma/Kconfig
 create mode 100644 drivers/infiniband/hw/pvrdma/Makefile
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma.h
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_cmd.c
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_cq.c
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_defs.h
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_dev_api.h
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_doorbell.c
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_ib_verbs.h
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_main.c
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_misc.c
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_mr.c
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_qp.c
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_uapi.h
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_user.h
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_verbs.c
 create mode 100644 drivers/infiniband/hw/pvrdma/pvrdma_verbs.h

-- 
2.7.4

--
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

^ permalink raw reply	[flat|nested] 45+ messages in thread

end of thread, other threads:[~2016-08-16 16:51 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-12 19:36 [PATCH v2 00/15] Add Paravirtual RDMA Driver Adit Ranadive
     [not found] ` <1468352205-9137-1-git-send-email-aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2016-07-12 19:36   ` [PATCH v2 01/15] IB/pvrdma: Add paravirtual rdma device Adit Ranadive
     [not found]     ` <1468352205-9137-2-git-send-email-aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2016-07-18 12:27       ` Yuval Shaia
     [not found]         ` <20160718122738.GD6165-Hxa29pjIrETlQW142y8m19+IiqhCXseY@public.gmane.org>
2016-07-22  0:11           ` Adit Ranadive
2016-07-26  5:38       ` Leon Romanovsky
     [not found]         ` <20160726053820.GE20674-2ukJVAZIZ/Y@public.gmane.org>
2016-07-28 20:56           ` Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 02/15] IB/pvrdma: Add device command support Adit Ranadive
     [not found]     ` <1468352205-9137-3-git-send-email-aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2016-07-18 12:46       ` Yuval Shaia
     [not found]         ` <20160718124652.GE6165-Hxa29pjIrETlQW142y8m19+IiqhCXseY@public.gmane.org>
2016-07-28 22:51           ` Adit Ranadive
     [not found]             ` <BLUPR0501MB8363954E94FE9D268E66CB7C5000-84Rf5TRaNBMVDhIuTCx1aJLWcSx1hRipwIZJ9u9yWa8oOQlpcoRfSA@public.gmane.org>
2016-07-29 12:37               ` Leon Romanovsky
     [not found]                 ` <20160729123711.GU4628-2ukJVAZIZ/Y@public.gmane.org>
2016-07-29 21:31                   ` Adit Ranadive
     [not found]                     ` <BLUPR0501MB8364D3CE8FF7DE654D1E045C5010-84Rf5TRaNBMVDhIuTCx1aJLWcSx1hRipwIZJ9u9yWa8oOQlpcoRfSA@public.gmane.org>
2016-07-31  6:15                       ` Leon Romanovsky
     [not found]                         ` <20160731061547.GV4628-2ukJVAZIZ/Y@public.gmane.org>
2016-08-14 11:25                           ` Yuval Shaia
2016-08-14 17:23                             ` Leon Romanovsky
     [not found]                               ` <20160814172344.GA5548-2ukJVAZIZ/Y@public.gmane.org>
2016-08-16 16:51                                 ` Adit Ranadive
2016-07-18 13:13       ` Yuval Shaia
     [not found]         ` <20160718131354.GF6165-Hxa29pjIrETlQW142y8m19+IiqhCXseY@public.gmane.org>
2016-07-27 21:57           ` Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 03/15] IB/pvrdma: Add support for Completion Queues Adit Ranadive
     [not found]     ` <1468352205-9137-4-git-send-email-aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2016-07-18 14:12       ` Yuval Shaia
     [not found]         ` <20160718141221.GA20068-Hxa29pjIrETlQW142y8m19+IiqhCXseY@public.gmane.org>
2016-07-28 20:32           ` Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 04/15] IB/pvrdma: Add the paravirtual RDMA device specification Adit Ranadive
     [not found]     ` <1468352205-9137-5-git-send-email-aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2016-07-21  8:45       ` Yuval Shaia
     [not found]         ` <20160721084508.GA8661-Hxa29pjIrETlQW142y8m19+IiqhCXseY@public.gmane.org>
2016-07-28 20:17           ` Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 05/15] IB/pvrdma: Add UAR support Adit Ranadive
     [not found]     ` <1468352205-9137-6-git-send-email-aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2016-07-18 13:25       ` Leon Romanovsky
     [not found]         ` <20160718132545.GD20674-2ukJVAZIZ/Y@public.gmane.org>
2016-07-27 17:58           ` Adit Ranadive
2016-07-27 14:06       ` Yuval Shaia
     [not found]         ` <20160727140611.GC3549-Hxa29pjIrETlQW142y8m19+IiqhCXseY@public.gmane.org>
2016-07-28 20:13           ` Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 06/15] IB/pvrdma: Add virtual device RDMA structures Adit Ranadive
     [not found]     ` <1468352205-9137-7-git-send-email-aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2016-07-26  5:46       ` Leon Romanovsky
     [not found]         ` <20160726054629.GF20674-2ukJVAZIZ/Y@public.gmane.org>
2016-07-28 20:07           ` Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 07/15] IB/pvrdma: Add the main driver module for PVRDMA Adit Ranadive
     [not found]     ` <1468352205-9137-8-git-send-email-aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2016-07-20  9:29       ` Yuval Shaia
2016-07-12 19:36   ` [PATCH v2 08/15] IB/pvrdma: Add helper functions Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 09/15] IB/pvrdma: Add support for memory regions Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 10/15] IB/pvrdma: Add Queue Pair support Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 11/15] IB/pvrdma: Add user-level shared functions Adit Ranadive
     [not found]     ` <1468352205-9137-12-git-send-email-aditr-pghWNbHTmq7QT0dZR+AlfA@public.gmane.org>
2016-07-18 13:59       ` Yuval Shaia
     [not found]         ` <20160718135906.GA21176-Hxa29pjIrETlQW142y8m19+IiqhCXseY@public.gmane.org>
2016-07-28 20:11           ` Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 12/15] IB/pvrdma: Add functions for Verbs support Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 13/15] IB/pvrdma: Add Kconfig and Makefile Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 14/15] IB: Add PVRDMA driver Adit Ranadive
2016-07-12 19:36   ` [PATCH v2 15/15] MAINTAINERS: Update for " Adit Ranadive
2016-07-12 19:50   ` [PATCH v2 00/15] Add Paravirtual RDMA Driver Leon Romanovsky
     [not found]     ` <20160712195027.GD10079-2ukJVAZIZ/Y@public.gmane.org>
2016-07-12 20:36       ` Adit Ranadive

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.