]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Jul 2016 03:11:20 +0000 (23:11 -0400)
commit81947bbb25d67f358ddced97ee67d2d4c0f634f6
tree208a238d8af1ccf5cd1f04c927859624e9ead078
parentbdda3fb6d31950b11e1d3e5ebc734fa8bcab16a4
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