]> 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)
commite6eacd5889a8f1514d8bf590598be13c51b8bbaa
tree029e7602f0594a5b805828c33c40448cdb58623f
parentfbfc0118e32ad13b7c1cb9221cf60d42f549f89a
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