diff options
author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2016-11-07 00:14:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-07 12:01:16 +0300 |
commit | fa32ff6576623616c1751562edaed8c164ca5199 (patch) | |
tree | 4a088be049aeeb9b58a915f05584ca63894a6be8 /drivers/hv | |
parent | f2303f709fda0f3c212272195519a447a59af675 (diff) | |
download | linux-fa32ff6576623616c1751562edaed8c164ca5199.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions