diff options
author | Wu Zongyong <wuzongyong@linux.alibaba.com> | 2021-10-29 17:14:48 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-11-01 04:30:35 -0400 |
commit | e47be840e87ea15677bca2043ee7b696ccacf56a (patch) | |
tree | 2c7f394f8ad5e3044ff70a7e093eb8454c091adc /include/uapi/linux/vdpa.h | |
parent | 30a03dfcbbdac22ade72a38b953e0709fbf35baa (diff) | |
download | linux-e47be840e87ea15677bca2043ee7b696ccacf56a.tar.gz linux-e47be840e87ea15677bca2043ee7b696ccacf56a.tar.bz2 linux-e47be840e87ea15677bca2043ee7b696ccacf56a.zip |
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>
Diffstat (limited to 'include/uapi/linux/vdpa.h')
-rw-r--r-- | include/uapi/linux/vdpa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/vdpa.h b/include/uapi/linux/vdpa.h index 66a41e4ec163..e3b87879514c 100644 --- a/include/uapi/linux/vdpa.h +++ b/include/uapi/linux/vdpa.h @@ -32,6 +32,7 @@ enum vdpa_attr { VDPA_ATTR_DEV_VENDOR_ID, /* u32 */ VDPA_ATTR_DEV_MAX_VQS, /* u32 */ VDPA_ATTR_DEV_MAX_VQ_SIZE, /* u16 */ + VDPA_ATTR_DEV_MIN_VQ_SIZE, /* u16 */ /* new attributes must be added above here */ VDPA_ATTR_MAX, |