diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2014-02-01 22:02:20 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 18:22:40 -0500 |
commit | 011a7c3cc3aa60c7ea6bb49d847e80a299ba7b36 (patch) | |
tree | 97dc47f7d4d372b76ccefc50582e2abcf9489d21 /include | |
parent | 90f3453585479d5beb75058da46eb573ced0e6ac (diff) |
Drivers: hv: vmbus: Cleanup the packet send path
The current channel code is using scatterlist abstraction to pass data to the
ringbuffer API on the send path. This causes unnecessary translations
between virtual and physical addresses. Fix this.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/hyperv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 6b862dadbb7a..9b07e1f070ac 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h | |||
@@ -802,7 +802,7 @@ extern int vmbus_open(struct vmbus_channel *channel, | |||
802 | extern void vmbus_close(struct vmbus_channel *channel); | 802 | extern void vmbus_close(struct vmbus_channel *channel); |
803 | 803 | ||
804 | extern int vmbus_sendpacket(struct vmbus_channel *channel, | 804 | extern int vmbus_sendpacket(struct vmbus_channel *channel, |
805 | const void *buffer, | 805 | void *buffer, |
806 | u32 bufferLen, | 806 | u32 bufferLen, |
807 | u64 requestid, | 807 | u64 requestid, |
808 | enum vmbus_packet_type type, | 808 | enum vmbus_packet_type type, |