summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorZhu Lingshan <lingshan.zhu@intel.com>2024-02-19 02:56:00 +0800
committerMichael S. Tsirkin <mst@redhat.com>2024-03-19 02:45:51 -0400
commit81f64e1d911550832b8065631c28c87c96ffca36 (patch)
treee8d8cd3921ec18bae92629a1b78a72e77a7cf95f /include
parent3a1d33fb7e5f96471aa7bfe97dd09afc2aa03b39 (diff)
vDPA: report virtio-block max segments in a request to user space
This commit allows vDPA reporting the maximum number of segments in a request of virtio-block devices to user space. Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com> Message-Id: <20240218185606.13509-5-lingshan.zhu@intel.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/vdpa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/vdpa.h b/include/uapi/linux/vdpa.h
index f3baf7ea7d6d..2dc92fca2052 100644
--- a/include/uapi/linux/vdpa.h
+++ b/include/uapi/linux/vdpa.h
@@ -59,6 +59,7 @@ enum vdpa_attr {
VDPA_ATTR_DEV_BLK_CFG_CAPACITY, /* u64 */
VDPA_ATTR_DEV_BLK_CFG_SEG_SIZE, /* u32 */
VDPA_ATTR_DEV_BLK_CFG_BLK_SIZE, /* u32 */
+ VDPA_ATTR_DEV_BLK_CFG_SEG_MAX, /* u32 */
/* new attributes must be added above here */
VDPA_ATTR_MAX,