Drivers: hv: vmbus: Enable interrupt driven flow control
authorK. Y. Srinivasan <kys@microsoft.com>
Sat, 6 Sep 2014 00:29:12 +0000 (17:29 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 06:31:22 +0000 (23:31 -0700)
commit046c7911b224267062ab1caeabbf11bc46e9c152
treef898990ae637ade8df913090aa45a34752f52801
parentbc5a5b02331a3175a5fca20a4beba249e573b672
Drivers: hv: vmbus: Enable interrupt driven flow control

In win8 we have a feature that allows for interrupt driven flow management
for host/guest communication. For instance, if the host were blocked because
there was no space available in the ringbuffer, the host could request that the
guest send an interrupt when space becomes available in the ringbuffer (when
the guest drains the ringbuffer).

While this feature was implemented in the guest a while ago, we had not
advertised that the guest supported this feature. This patch advertises
the support to the host.

For pre-win8 hosts, this has no effect since the size of the ringbuffer
control structure has not changed and all changes have been backward
compatible - unused/reserved space has been used to implement this
feature.

In this version of the patch I have cleaned up the commit log based on
feedback from Greg KH.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/ring_buffer.c
This page took 0.03722 seconds and 5 git commands to generate.