]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4a6fbf54cf6cdd0882624201bfefc4b1a033571b
tree53c69fcadfa2629f2a0f6c9d555af88e4ead75ca
parent06ba0a0c970370afef6ddcf168d2c78d2e295411
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