vDPA: report virtio-block max segment size to user space
authorZhu Lingshan <lingshan.zhu@intel.com>
Sun, 18 Feb 2024 18:55:58 +0000 (02:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Mar 2024 06:45:51 +0000 (02:45 -0400)
commit330b8aea692410fbe8f0d058e01aea2986613ff7
treef822ae43be1d9981bacb1db4ea2497a17fe48eef
parentc2475a9a789721bfdcc1b16aaf61ccfecb891914
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>
drivers/vdpa/vdpa.c
include/uapi/linux/vdpa.h