mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-24 14:25:26 -04:00
vDPA: report virtio-block max segment size to user space
This commit allows reporting the max size of any single segment of virtio-block devices to user space. Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com> Message-Id: <20240218185606.13509-3-lingshan.zhu@intel.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
committed by
Michael S. Tsirkin
parent
c2475a9a78
commit
330b8aea69
@@ -57,6 +57,7 @@ enum vdpa_attr {
|
||||
VDPA_ATTR_DEV_FEATURES, /* u64 */
|
||||
|
||||
VDPA_ATTR_DEV_BLK_CFG_CAPACITY, /* u64 */
|
||||
VDPA_ATTR_DEV_BLK_CFG_SEG_SIZE, /* u32 */
|
||||
|
||||
/* new attributes must be added above here */
|
||||
VDPA_ATTR_MAX,
|
||||
|
||||
Reference in New Issue
Block a user