aboutsummaryrefslogtreecommitdiff
path: root/include/standard-headers/linux/virtio_config.h
diff options
context:
space:
mode:
authorCornelia Huck <cohuck@redhat.com>2018-08-08 16:19:49 +0200
committerCornelia Huck <cohuck@redhat.com>2018-08-20 14:18:49 +0200
commitd36f7de82995a42b749c29c5b60ba31483995a42 (patch)
treeebed858ca6764c4654e79bf1bf3cfbb56923a90c /include/standard-headers/linux/virtio_config.h
parentc61177881cbda50704207dd9fb4811659bbf913e (diff)
linux-headers: update
Update to Linux upstream commit 2ad0d5269970 ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net") Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include/standard-headers/linux/virtio_config.h')
-rw-r--r--include/standard-headers/linux/virtio_config.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/include/standard-headers/linux/virtio_config.h b/include/standard-headers/linux/virtio_config.h
index b777069699..0b194365a0 100644
--- a/include/standard-headers/linux/virtio_config.h
+++ b/include/standard-headers/linux/virtio_config.h
@@ -45,11 +45,14 @@
/* We've given up on this device. */
#define VIRTIO_CONFIG_S_FAILED 0x80
-/* Some virtio feature bits (currently bits 28 through 32) are reserved for the
- * transport being used (eg. virtio_ring), the rest are per-device feature
- * bits. */
+/*
+ * Virtio feature bits VIRTIO_TRANSPORT_F_START through
+ * VIRTIO_TRANSPORT_F_END are reserved for the transport
+ * being used (e.g. virtio_ring, virtio_pci etc.), the
+ * rest are per-device feature bits.
+ */
#define VIRTIO_TRANSPORT_F_START 28
-#define VIRTIO_TRANSPORT_F_END 34
+#define VIRTIO_TRANSPORT_F_END 38
#ifndef VIRTIO_CONFIG_NO_LEGACY
/* Do we get callbacks when the ring is completely used, even if we've
@@ -71,4 +74,9 @@
* this is for compatibility with legacy systems.
*/
#define VIRTIO_F_IOMMU_PLATFORM 33
+
+/*
+ * Does the device support Single Root I/O Virtualization?
+ */
+#define VIRTIO_F_SR_IOV 37
#endif /* _LINUX_VIRTIO_CONFIG_H */