]> 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)
commit94c6b5317e3f3607226c72b75ce0d5ac58e2990c
tree812fe9cd17a267068cf608ecc6423c9017b00eeb
parent993fa7addf1f44d60ddf6ee07166e8a99ac7b4d7
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