ptr_ring: support resizing multiple queues
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 30 Jun 2016 06:45:33 +0000 (14:45 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2016 09:32:17 +0000 (05:32 -0400)
commit59e6ae53248a72d83cec77dd704b6990b2394479
tree6978c2c81e9c807a544304ea2c28ce49696d3ad4
parentfd68adec9de3104c236ffbcb3bd829d3e635a444
ptr_ring: support resizing multiple queues

Sometimes, we need support resizing multiple queues at once. This is
because it was not easy to recover to recover from a partial failure
of multiple queues resizing.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/ptr_ring.h
tools/virtio/ringtest/ptr_ring.c