]> 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)
commit331611c1377a93f32431a620da604651d727045f
tree208a238d8af1ccf5cd1f04c927859624e9ead078
parentc3f6fbf306ab83f4669e0ed8a7fdcd08575cf687
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