History

Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost

Pull virtio updates from Michael Tsirkin: "virtio, vhost: features, fixes - PCI virtual function support for virtio - DMA barriers for virtio strong barriers - bugfixes" * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: virtio: update the comments for transport features virtio_pci: support enabling VFs vhost: fix info leak due to uninitialized memory virtio_ring: switch to dma_XX barriers for rpmsg

Linus Torvalds committed 8 years ago

Commit 2f3f0562 parents 4c5e8fc 2eb98105 files · +61 −6Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/virtio_config.h+12−4
@@ -45,11 +45,14 @@ · 44 unmodified lines
4545 /* We've given up on this device. */
4646 #define VIRTIO_CONFIG_S_FAILED 0x80
4747
48−/* Some virtio feature bits (currently bits 28 through 32) are reserved for the
49− * transport being used (eg. virtio_ring), the rest are per-device feature
50− * bits. */
48+/*
49+ * Virtio feature bits VIRTIO_TRANSPORT_F_START through
50+ * VIRTIO_TRANSPORT_F_END are reserved for the transport
51+ * being used (e.g. virtio_ring, virtio_pci etc.), the
52+ * rest are per-device feature bits.
53+ */
5154 #define VIRTIO_TRANSPORT_F_START 28
52−#define VIRTIO_TRANSPORT_F_END 34
55+#define VIRTIO_TRANSPORT_F_END 38
5356
5457 #ifndef VIRTIO_CONFIG_NO_LEGACY
5558 /* Do we get callbacks when the ring is completely used, even if we've
@@ -71,4 +74,9 @@ · 15 unmodified lines
7174 * this is for compatibility with legacy systems.
7275 */
7376 #define VIRTIO_F_IOMMU_PLATFORM 33
77+
78+/*
79+ * Does the device support Single Root I/O Virtualization?
80+ */
81+#define VIRTIO_F_SR_IOV 37
7482 #endif /* _UAPI_LINUX_VIRTIO_CONFIG_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t