]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe2a40b8dc768200e261ad5274a3bb20fae6ec82
tree6978c2c81e9c807a544304ea2c28ce49696d3ad4
parenta07a032e18fc5925fca7a3d91a4705e596426d4a
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