virtio_ring: introduce packed ring support
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 21 Nov 2018 10:03:27 +0000 (18:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Nov 2018 06:17:39 +0000 (22:17 -0800)
commit1ce9e6055fa0a9043405c5604cf19169ec5379ff
tree53c69fcadfa2629f2a0f6c9d555af88e4ead75ca
parentfb3fba6b162aaa42aeba6e9034f3e92716c2a749
virtio_ring: introduce packed ring support

Introduce the packed ring support. Packed ring can only be
created by vring_create_virtqueue() and each chunk of packed
ring will be allocated individually. Packed ring can not be
created on preallocated memory by vring_new_virtqueue() or
the likes currently.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/virtio/virtio_ring.c