virtio: add packed ring types and macros

Add types and macros for packed ring.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Tiwei Bie 2018-11-21 18:03:18 +08:00 committed by David S. Miller
parent 4afe60a97b
commit 89a9157e12
2 changed files with 55 additions and 0 deletions

View file

@ -75,6 +75,9 @@
*/
#define VIRTIO_F_IOMMU_PLATFORM 33
/* This feature indicates support for the packed virtqueue layout. */
#define VIRTIO_F_RING_PACKED 34
/*
* Does the device support Single Root I/O Virtualization?
*/