diff options
author | Zhu Lingshan <lingshan.zhu@intel.com> | 2024-02-19 02:56:01 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-03-19 02:45:51 -0400 |
commit | 54fb04b02efd8f56e388443d5f9e03e68eef48e6 (patch) | |
tree | 921e41b01fdb1bbb5c91e36a80ea4e615189dc6b /include | |
parent | 81f64e1d911550832b8065631c28c87c96ffca36 (diff) | |
download | lwn-54fb04b02efd8f56e388443d5f9e03e68eef48e6.tar.gz lwn-54fb04b02efd8f56e388443d5f9e03e68eef48e6.zip |
vDPA: report virtio-block MQ info to user space
This commits allows vDPA reporting virtio-block multi-queue
configuration to user sapce.
Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20240218185606.13509-6-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/uapi/linux/vdpa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/vdpa.h b/include/uapi/linux/vdpa.h index 2dc92fca2052..3c8e3c87a864 100644 --- a/include/uapi/linux/vdpa.h +++ b/include/uapi/linux/vdpa.h @@ -60,6 +60,7 @@ enum vdpa_attr { VDPA_ATTR_DEV_BLK_CFG_SEG_SIZE, /* u32 */ VDPA_ATTR_DEV_BLK_CFG_BLK_SIZE, /* u32 */ VDPA_ATTR_DEV_BLK_CFG_SEG_MAX, /* u32 */ + VDPA_ATTR_DEV_BLK_CFG_NUM_QUEUES, /* u16 */ /* new attributes must be added above here */ VDPA_ATTR_MAX, |