|
@@ -40,6 +40,7 @@
|
|
#define VIRTIO_BLK_F_WCE 9 /* Writeback mode enabled after reset */
|
|
#define VIRTIO_BLK_F_WCE 9 /* Writeback mode enabled after reset */
|
|
#define VIRTIO_BLK_F_TOPOLOGY 10 /* Topology information is available */
|
|
#define VIRTIO_BLK_F_TOPOLOGY 10 /* Topology information is available */
|
|
#define VIRTIO_BLK_F_CONFIG_WCE 11 /* Writeback mode available in config */
|
|
#define VIRTIO_BLK_F_CONFIG_WCE 11 /* Writeback mode available in config */
|
|
|
|
+#define VIRTIO_BLK_F_MQ 12 /* support more than one vq */
|
|
|
|
|
|
#ifndef __KERNEL__
|
|
#ifndef __KERNEL__
|
|
/* Old (deprecated) name for VIRTIO_BLK_F_WCE. */
|
|
/* Old (deprecated) name for VIRTIO_BLK_F_WCE. */
|
|
@@ -77,6 +78,10 @@ struct virtio_blk_config {
|
|
|
|
|
|
/* writeback mode (if VIRTIO_BLK_F_CONFIG_WCE) */
|
|
/* writeback mode (if VIRTIO_BLK_F_CONFIG_WCE) */
|
|
__u8 wce;
|
|
__u8 wce;
|
|
|
|
+ __u8 unused;
|
|
|
|
+
|
|
|
|
+ /* number of vqs, only available when VIRTIO_BLK_F_MQ is set */
|
|
|
|
+ __u16 num_queues;
|
|
} __attribute__((packed));
|
|
} __attribute__((packed));
|
|
|
|
|
|
/*
|
|
/*
|