skb_array: array based FIFO for skbs
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 13 Jun 2016 20:54:41 +0000 (23:54 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2016 20:58:27 +0000 (13:58 -0700)
commitad69f35d1dc0a79f86627ca56e01f86512602a49
tree90756022fae067ce171d440e7cbe90774f34738f
parent9fb6bc5b4a78b38049aee62686c00b0b6c5ac946
skb_array: array based FIFO for skbs

A simple array based FIFO of pointers.  Intended for net stack so uses
skbs for type safety. Implemented as a set of wrappers around ptr_ring.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Tested-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skb_array.h [new file with mode: 0644]