diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2016-11-06 13:14:05 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-07 10:01:16 +0100 |
commit | fa32ff6576623616c1751562edaed8c164ca5199 (patch) | |
tree | 4a088be049aeeb9b58a915f05584ca63894a6be8 /drivers/hv/hyperv_vmbus.h | |
parent | f2303f709fda0f3c212272195519a447a59af675 (diff) | |
download | lwn-fa32ff6576623616c1751562edaed8c164ca5199.tar.gz lwn-fa32ff6576623616c1751562edaed8c164ca5199.zip |
Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (v2)
With wrap around mappings in place we can always provide drivers with
direct links to packets on the ring buffer, even when they wrap around.
Do the required updates to get_next_pkt_raw()/put_pkt_raw()
The first version of this commit was reverted (65a532f3d50a) to deal with
cross-tree merge issues which are (hopefully) resolved now.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Tested-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/hyperv_vmbus.h')
0 files changed, 0 insertions, 0 deletions