]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
netvsc: Use the new in-place consumption APIs in the rx path
authorK. Y. Srinivasan <kys@microsoft.com>
Tue, 5 Jul 2016 23:52:46 +0000 (16:52 -0700)
committerTim Gardner <tim.gardner@canonical.com>
Fri, 16 Sep 2016 17:08:45 +0000 (11:08 -0600)
commit000563a6696692ab1f660875534a5b5d0a82b19f
tree2432fec660cc8312544e2138cd44414aa1d78a62
parentf47e0c02809ad8b09be146cc24840285525a0844
netvsc: Use the new in-place consumption APIs in the rx path

BugLink: http://bugs.launchpad.net/bugs/1616677
Use the new APIs for eliminating a copy on the receive path. These new APIs also
help in minimizing the number of memory barriers we end up issuing (in the
ringbuffer code) since we can better control when we want to expose the ring
state to the host.

The patch is being resent to address earlier email issues.

Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 99a50bb11cad44cd1d478256d2388e7afce982ac)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Brad Figg <brad.figg@canonical.com>
Acked-by: Kamal Mostafa <kamal@canonical.com>
drivers/net/hyperv/netvsc.c