diff options
author | 2021-10-29 17:14:47 +0800 | |
---|---|---|
committer | 2021-11-01 04:30:35 -0400 | |
commit | 30a03dfcbbdac22ade72a38b953e0709fbf35baa (patch) | |
tree | 1f9d689927cefa85ac5cd508052ad52ae9404363 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | vdpa: min vq num of vdpa device cannot be greater than max vq num (diff) | |
download | wireguard-linux-30a03dfcbbdac22ade72a38b953e0709fbf35baa.tar.xz wireguard-linux-30a03dfcbbdac22ade72a38b953e0709fbf35baa.zip |
virtio_vdpa: setup correct vq size with callbacks get_vq_num_{max,min}
For the devices which implement the get_vq_num_min callback, the driver
should not negotiate with virtqueue size with the backend vdpa device if
the value returned by get_vq_num_min equals to the value returned by
get_vq_num_max.
This is useful for vdpa devices based on legacy virtio specfication.
Signed-off-by: Wu Zongyong <wuzongyong@linux.alibaba.com>
Link: https://lore.kernel.org/r/bc0551cec6c3f3dd9424b678b7c22d882aebab3a.1635493219.git.wuzongyong@linux.alibaba.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions