[PATCH 1/1] Drivers: infiniband: hw: vmbus-nd: NetworkDirect driver for Linux

Leon Romanovsky leon at kernel.org
Wed Jul 27 04:25:21 UTC 2016


On Tue, Jul 26, 2016 at 07:05:37PM -0700, kys at exchange.microsoft.com wrote:
> From: K. Y. Srinivasan <kys at microsoft.com>
> 
> This driver is a bridge driver that surfaces a Mellanox device in the Linux guest and plugs into
> the "NetworkDirect" RDMA infrastructure on the Windows host. Only a subset of the ibverbs are
> implemented (this decision is based on the verbs supported by the Windows host).
> The control path is implemented over the vmbus using the NetworkDirect protocol for
> virtualized environments. The data path bypasses the guest and host kernel and the NIC is able to RDMA
> into guest addresses.
> 
> Signed-off-by: K. Y. Srinivasan <kys at microsoft.com>
> ---
>  drivers/infiniband/Kconfig                  |    1 +
>  drivers/infiniband/hw/Makefile              |    1 +
>  drivers/infiniband/hw/vmbus-nd/Kconfig      |    5 +
>  drivers/infiniband/hw/vmbus-nd/Makefile     |    3 +
>  drivers/infiniband/hw/vmbus-nd/hvnd_addr.c  |  292 +++
>  drivers/infiniband/hw/vmbus-nd/mx_abi.h     |  232 ++
>  drivers/infiniband/hw/vmbus-nd/provider.c   | 2844 ++++++++++++++++++++++++
>  drivers/infiniband/hw/vmbus-nd/vmbus_rdma.c | 3086 +++++++++++++++++++++++++++
>  drivers/infiniband/hw/vmbus-nd/vmbus_rdma.h | 2205 +++++++++++++++++++
>  9 files changed, 8669 insertions(+), 0 deletions(-)

If your final goal is to merge this driver into Linux kernel, so I will
ask from you to do the following actions:

1. Split this patch to smaller patches to allow review.
You can see as an example - latest submission of "Add Paravirtual RDMA Driver" [1].
2. Fix licenses, magic numbers, remove creepy comments and learn about
MAINTAINERS file.
3. Use preferred for this susbsystem title format.
4. Find the relevant mailing list and maintainer for this submission and
don't add unrelated people.

Thanks.

[1] http://marc.info/?l=linux-rdma&m=146835226218818&w=2

>  create mode 100644 drivers/infiniband/hw/vmbus-nd/Kconfig
>  create mode 100644 drivers/infiniband/hw/vmbus-nd/Makefile
>  create mode 100644 drivers/infiniband/hw/vmbus-nd/hvnd_addr.c
>  create mode 100644 drivers/infiniband/hw/vmbus-nd/mx_abi.h
>  create mode 100644 drivers/infiniband/hw/vmbus-nd/provider.c
>  create mode 100644 drivers/infiniband/hw/vmbus-nd/vmbus_rdma.c
>  create mode 100644 drivers/infiniband/hw/vmbus-nd/vmbus_rdma.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20160727/3467e174/attachment.asc>


More information about the devel mailing list