]> git.baikalelectronics.ru Git - kernel.git/commit
vmbus: introduce in-place packet iterator
authorstephen hemminger <stephen@networkplumber.org>
Mon, 27 Feb 2017 18:26:48 +0000 (10:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 01:13:13 +0000 (17:13 -0800)
commit6a721af25b38954059605bfa573eabab205ab04a
tree029e7602f0594a5b805828c33c40448cdb58623f
parent1c4cec492f9d3089c5b6ca98e1156c0f50d109bd
vmbus: introduce in-place packet iterator

This is mostly just a refactoring of previous functions
(get_pkt_next_raw, put_pkt_raw and commit_rd_index) to make it easier
to use for other drivers and NAPI.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/hv/ring_buffer.c
drivers/net/hyperv/netvsc.c
include/linux/hyperv.h