aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2015-02-27 14:26:05 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-01 22:30:08 -0500
commit04653a009a63d6a91c60a5449ea97e3ed5e1dc29 (patch)
tree06bf2350c2f432cf2bf20f4117519bf6066e85ad
parent40384e4bbeb9f2651fe9bffc0062d9f31ef625bf (diff)
Drivers: hv: vmbus: Add support for the NetworkDirect GUID
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>
-rw-r--r--drivers/hv/channel_mgmt.c2
-rw-r--r--include/linux/hyperv.h10
2 files changed, 12 insertions, 0 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index 6be93f09f976..0ba6b5c303e6 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -413,6 +413,8 @@ static const struct hv_vmbus_device_id hp_devs[] = {
413 { HV_SCSI_GUID, }, 413 { HV_SCSI_GUID, },
414 /* Network */ 414 /* Network */
415 { HV_NIC_GUID, }, 415 { HV_NIC_GUID, },
416 /* NetworkDirect Guest RDMA */
417 { HV_ND_GUID, },
416}; 418};
417 419
418 420
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 26a32b771ee5..7d976ac01fac 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -1110,6 +1110,16 @@ void vmbus_driver_unregister(struct hv_driver *hv_driver);
1110 } 1110 }
1111 1111
1112/* 1112/*
1113 * NetworkDirect. This is the guest RDMA service.
1114 * {8c2eaf3d-32a7-4b09-ab99-bd1f1c86b501}
1115 */
1116#define HV_ND_GUID \
1117 .guid = { \
1118 0x3d, 0xaf, 0x2e, 0x8c, 0xa7, 0x32, 0x09, 0x4b, \
1119 0xab, 0x99, 0xbd, 0x1f, 0x1c, 0x86, 0xb5, 0x01 \
1120 }
1121
1122/*
1113 * Common header for Hyper-V ICs 1123 * Common header for Hyper-V ICs
1114 */ 1124 */
1115 1125