vdpa: add new attribute VDPA_ATTR_DEV_MIN_VQ_SIZE
authorWu Zongyong <wuzongyong@linux.alibaba.com>
Fri, 29 Oct 2021 09:14:48 +0000 (17:14 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Nov 2021 08:30:35 +0000 (04:30 -0400)
commite47be840e87ea15677bca2043ee7b696ccacf56a
tree2c7f394f8ad5e3044ff70a7e093eb8454c091adc
parent30a03dfcbbdac22ade72a38b953e0709fbf35baa
vdpa: add new attribute VDPA_ATTR_DEV_MIN_VQ_SIZE

This attribute advertises the min value of virtqueue size. The value is
1 by default.

Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com>
Link: https://lore.kernel.org/r/2bbc417355c4d22298050b1ba887cecfbde3e85d.1635493219.git.wuzongyong@linux.alibaba.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/vdpa.c
include/uapi/linux/vdpa.h