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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2016 03:11:20 +0000 (23:11 -0400)
commit99a50bb11cad44cd1d478256d2388e7afce982ac
tree208a238d8af1ccf5cd1f04c927859624e9ead078
parentbba7eb5d9b4ebccacd30331121ee29764212a29d
netvsc: Use the new in-place consumption APIs in the rx path

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>
drivers/net/hyperv/netvsc.c