aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2015-02-28 14:39:04 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-01 22:31:47 -0500
commite9395e3f8952110bda60b54ad03ec52c6e9c7dbd (patch)
treecb71796ed3791a6049bd3827616a45685967182c /include/linux/hyperv.h
parent87e93d61708fe2c44875d1ecdb174aad070dbd08 (diff)
Drivers: hv: vmbus: Suport an API to send packet with additional control
Implement an API that gives additional control on the what VMBUS flags will be set as well as if the host needs to be signalled. This API will be useful for clients that want to batch up requests to the host. Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r--include/linux/hyperv.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 86e1a7a46af3..80e444bfc9dc 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -867,6 +867,14 @@ extern int vmbus_sendpacket(struct vmbus_channel *channel,
867 enum vmbus_packet_type type, 867 enum vmbus_packet_type type,
868 u32 flags); 868 u32 flags);
869 869
870extern int vmbus_sendpacket_ctl(struct vmbus_channel *channel,
871 void *buffer,
872 u32 bufferLen,
873 u64 requestid,
874 enum vmbus_packet_type type,
875 u32 flags,
876 bool kick_q);
877
870extern int vmbus_sendpacket_pagebuffer(struct vmbus_channel *channel, 878extern int vmbus_sendpacket_pagebuffer(struct vmbus_channel *channel,
871 struct hv_page_buffer pagebuffers[], 879 struct hv_page_buffer pagebuffers[],
872 u32 pagecount, 880 u32 pagecount,