diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2012-12-01 09:46:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-17 13:46:39 -0500 |
commit | 98fa8cf4bcc79cb14de8fd815bbcd00dcbd7b20e (patch) | |
tree | 0d48abd179e49709cdac7e28eb853a653df7fbe2 /drivers/hv/hyperv_vmbus.h | |
parent | f878f3d59ed26f489add852ed6d5c8e5f3bbb1aa (diff) |
Drivers: hv: Optimize the signaling on the write path
The host has already implemented the "read" side optimizations.
Leverage that to optimize "write" side signaling.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 3184f6ff4e74..895c898812bd 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h | |||
@@ -555,7 +555,7 @@ void hv_ringbuffer_cleanup(struct hv_ring_buffer_info *ring_info); | |||
555 | 555 | ||
556 | int hv_ringbuffer_write(struct hv_ring_buffer_info *ring_info, | 556 | int hv_ringbuffer_write(struct hv_ring_buffer_info *ring_info, |
557 | struct scatterlist *sglist, | 557 | struct scatterlist *sglist, |
558 | u32 sgcount); | 558 | u32 sgcount, bool *signal); |
559 | 559 | ||
560 | int hv_ringbuffer_peek(struct hv_ring_buffer_info *ring_info, void *buffer, | 560 | int hv_ringbuffer_peek(struct hv_ring_buffer_info *ring_info, void *buffer, |
561 | u32 buflen); | 561 | u32 buflen); |