summaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2015-02-28 14:39:03 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-01 22:31:47 -0500
commit87e93d61708fe2c44875d1ecdb174aad070dbd08 (patch)
tree87cd3e9a98daa7c4b470ba11e3af230f1eb2f359 /include/linux/hyperv.h
parenta13e8bbe851a96a0e78c2bd599bc34082fa697cd (diff)
Drivers: hv: vmbus: Suport an API to send pagebuffers with additional control
Implement an API for sending pagebuffers that gives more control to the client in terms of setting the vmbus flags as well as deciding when to notify the host. This will be useful for enabling batch processing. 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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 1ca582457076..86e1a7a46af3 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -874,6 +874,15 @@ extern int vmbus_sendpacket_pagebuffer(struct vmbus_channel *channel,
874 u32 bufferlen, 874 u32 bufferlen,
875 u64 requestid); 875 u64 requestid);
876 876
877extern int vmbus_sendpacket_pagebuffer_ctl(struct vmbus_channel *channel,
878 struct hv_page_buffer pagebuffers[],
879 u32 pagecount,
880 void *buffer,
881 u32 bufferlen,
882 u64 requestid,
883 u32 flags,
884 bool kick_q);
885
877extern int vmbus_sendpacket_multipagebuffer(struct vmbus_channel *channel, 886extern int vmbus_sendpacket_multipagebuffer(struct vmbus_channel *channel,
878 struct hv_multipage_buffer *mpb, 887 struct hv_multipage_buffer *mpb,
879 void *buffer, 888 void *buffer,