vDPA: report virtio-block write zeroes configuration to user space
authorZhu Lingshan <lingshan.zhu@intel.com>
Sun, 18 Feb 2024 18:56:04 +0000 (02:56 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 19 Mar 2024 06:45:51 +0000 (02:45 -0400)
commit6bdc7846e627ec21fc79a6d2554f69546a7b4985
treef794c5d7d50449c3268fcb51305470a590e24ecb
parent65848f46e1d6c01fbd0d79a1c051d978a6e6002e
vDPA: report virtio-block write zeroes configuration to user space

This commits reports write zeroes configuration of
virtio-block devices to user space, includes:
1)maximum write zeroes sectors size
2)maximum write zeroes segment number

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Message-Id: <20240218185606.13509-9-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa.c
include/uapi/linux/vdpa.h