summaryrefslogtreecommitdiffstats
path: root/drivers/hv/hyperv_vmbus.h
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2014-02-01 19:02:20 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-07 15:22:40 -0800
commit011a7c3cc3aa60c7ea6bb49d847e80a299ba7b36 (patch)
tree97dc47f7d4d372b76ccefc50582e2abcf9489d21 /drivers/hv/hyperv_vmbus.h
parent90f3453585479d5beb75058da46eb573ced0e6ac (diff)
downloadop-kernel-dev-011a7c3cc3aa60c7ea6bb49d847e80a299ba7b36.zip
op-kernel-dev-011a7c3cc3aa60c7ea6bb49d847e80a299ba7b36.tar.gz
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 'drivers/hv/hyperv_vmbus.h')
-rw-r--r--drivers/hv/hyperv_vmbus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
index e055176..1544609 100644
--- a/drivers/hv/hyperv_vmbus.h
+++ b/drivers/hv/hyperv_vmbus.h
@@ -559,8 +559,8 @@ int hv_ringbuffer_init(struct hv_ring_buffer_info *ring_info, void *buffer,
void hv_ringbuffer_cleanup(struct hv_ring_buffer_info *ring_info);
int hv_ringbuffer_write(struct hv_ring_buffer_info *ring_info,
- struct scatterlist *sglist,
- u32 sgcount, bool *signal);
+ struct kvec *kv_list,
+ u32 kv_count, bool *signal);
int hv_ringbuffer_peek(struct hv_ring_buffer_info *ring_info, void *buffer,
u32 buflen);
OpenPOWER on IntegriCloud