]> git.baikalelectronics.ru Git - kernel.git/commit
ptr_ring: array based FIFO for pointers
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 13 Jun 2016 20:54:31 +0000 (23:54 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jun 2016 20:57:21 +0000 (13:57 -0700)
commit82b55824e3a1cfecded1ea7473425f2d3f335488
tree6feb905e24c58660a11ed93aa1117bf3fc82b62e
parent6b3d0a6e33c1302885b6aeb86e57cbfc293bdf40
ptr_ring: array based FIFO for pointers

A simple array based FIFO of pointers.  Intended for net stack which
commonly has a single consumer/producer.

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