summaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorK. Y. Srinivasan2015-02-28 20:39:03 +0100
committerGreg Kroah-Hartman2015-03-02 04:31:47 +0100
commit87e93d61708fe2c44875d1ecdb174aad070dbd08 (patch)
tree87cd3e9a98daa7c4b470ba11e3af230f1eb2f359 /include/linux/hyperv.h
parentDrivers: hv: vmbus: Use a round-robin algorithm for picking the outgoing channel (diff)
downloadkernel-qcow2-linux-87e93d61708fe2c44875d1ecdb174aad070dbd08.tar.gz
kernel-qcow2-linux-87e93d61708fe2c44875d1ecdb174aad070dbd08.tar.xz
kernel-qcow2-linux-87e93d61708fe2c44875d1ecdb174aad070dbd08.zip
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,
u32 bufferlen,
u64 requestid);
+extern int vmbus_sendpacket_pagebuffer_ctl(struct vmbus_channel *channel,
+ struct hv_page_buffer pagebuffers[],
+ u32 pagecount,
+ void *buffer,
+ u32 bufferlen,
+ u64 requestid,
+ u32 flags,
+ bool kick_q);
+
extern int vmbus_sendpacket_multipagebuffer(struct vmbus_channel *channel,
struct hv_multipage_buffer *mpb,
void *buffer,