summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/pci.h
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2019-01-31 13:50:56 +0000
committerDamjan Marion <dmarion@me.com>2019-02-06 17:27:44 +0000
commitb74fe32d545668938a8db7f19d94c42747ef95f6 (patch)
tree34a0470d61d5c004a91087ea99e4f74fc5db93bc /src/vnet/devices/virtio/pci.h
parent80659b4624d55e2d293198b06c5c6077b3ba816b (diff)
virtio: enable msix interrupt mode
Change-Id: Idd560f3afde1dd03bc3d6fbb2070096146865f50 Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/pci.h')
-rw-r--r--src/vnet/devices/virtio/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/devices/virtio/pci.h b/src/vnet/devices/virtio/pci.h
index b08e40e7e61..40648c85c3e 100644
--- a/src/vnet/devices/virtio/pci.h
+++ b/src/vnet/devices/virtio/pci.h
@@ -37,6 +37,7 @@
(16, RW) */
/*
+ * Vector value used to disable MSI for queue.
* define in include/linux/virtio_pci.h
* #define VIRTIO_MSI_NO_VECTOR 0xFFFF
*/
@@ -45,7 +46,6 @@
#define VIRTIO_PCI_ISR_INTR 0x1
/* The bit of the ISR which indicates a device configuration change. */
#define VIRTIO_PCI_ISR_CONFIG 0x2
-/* Vector value used to disable MSI for queue. */
/* VirtIO device IDs. */
#define VIRTIO_ID_NETWORK 0x01