]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Drivers: hv: vmbus: Add support for the NetworkDirect GUID
authorK. Y. Srinivasan <kys@microsoft.com>
Fri, 27 Feb 2015 19:26:05 +0000 (11:26 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 03:30:08 +0000 (19:30 -0800)
NetworkDirect is a service that supports guest RDMA.
Define the GUID for this service.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c
include/linux/hyperv.h

index 6be93f09f976793d6ae90386366cc6b5a3234e99..0ba6b5c303e68a636ce07887abef6a3b93ebe536 100644 (file)
@@ -413,6 +413,8 @@ static const struct hv_vmbus_device_id hp_devs[] = {
        { HV_SCSI_GUID, },
        /* Network */
        { HV_NIC_GUID, },
+       /* NetworkDirect Guest RDMA */
+       { HV_ND_GUID, },
 };
 
 
index 26a32b771ee58effb756fde23bedf18e73e7a896..7d976ac01facdf3e90bd2bada458078345cbfe8e 100644 (file)
@@ -1109,6 +1109,16 @@ void vmbus_driver_unregister(struct hv_driver *hv_driver);
                        0x9A, 0xE7, 0x6B, 0x17, 0x49, 0x77, 0xC1, 0x92 \
                }
 
+/*
+ * NetworkDirect. This is the guest RDMA service.
+ * {8c2eaf3d-32a7-4b09-ab99-bd1f1c86b501}
+ */
+#define HV_ND_GUID \
+       .guid = { \
+                       0x3d, 0xaf, 0x2e, 0x8c, 0xa7, 0x32, 0x09, 0x4b, \
+                       0xab, 0x99, 0xbd, 0x1f, 0x1c, 0x86, 0xb5, 0x01 \
+               }
+
 /*
  * Common header for Hyper-V ICs
  */