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>
This commit is contained in:
K. Y. Srinivasan 2014-02-01 19:02:20 -08:00 committed by Greg Kroah-Hartman
parent 90f3453585
commit 011a7c3cc3
4 changed files with 33 additions and 32 deletions

View file

@ -802,7 +802,7 @@ extern int vmbus_open(struct vmbus_channel *channel,
extern void vmbus_close(struct vmbus_channel *channel);
extern int vmbus_sendpacket(struct vmbus_channel *channel,
const void *buffer,
void *buffer,
u32 bufferLen,
u64 requestid,
enum vmbus_packet_type type,