]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - include/linux/hyperv.h
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)
commitf3dd3f4797652c311df9c074436d420f1ad3566e
tree029e7602f0594a5b805828c33c40448cdb58623f
parent50698d80f8bb1db989b7b9fa433f588fade5e382
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