]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit0b307ebd6834012c483b8ee9801164123a54f79a
tree812fe9cd17a267068cf608ecc6423c9017b00eeb
parentf2ceab0bafb97ec4cf895fda31fa2e0b1657870e
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