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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Tiwei Bie authored and David S. Miller committed 2018-11-26 22:17:39 -08:00
1 parent fb3fba6b16
commit 1ce9e6055f
1 file changed
+870 -30
File diff suppressed because it is too large. Load diff