]> git.baikalelectronics.ru Git - kernel.git/commit
netvsc: remove no longer needed receive staging buffers
authorstephen hemminger <stephen@networkplumber.org>
Tue, 24 Jan 2017 21:05:58 +0000 (13:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jan 2017 21:28:57 +0000 (16:28 -0500)
commita931af1b4c2e3431fbd71a0996757ae688d15929
tree812fe9cd17a267068cf608ecc6423c9017b00eeb
parent4025ca0f82a6a37216635acef6ecca50b2e4379a
netvsc: remove no longer needed receive staging buffers

The ring buffer mapping now handles the wraparound case
inside get_next_pkt_raw. Therefore it is not necessary to have an
additional special receive staging buffer.

See commit 1562edaed8c164ca5199 ("Drivers: hv: ring_buffer: count on
wrap around mappings")

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hyperv/hyperv_net.h
drivers/net/hyperv/netvsc.c
drivers/net/hyperv/rndis_filter.c