diff options
author | Keiichi Watanabe <keiichiw@chromium.org> | 2021-04-08 02:53:31 +0900 |
---|---|---|
committer | Jiang Liu <gerry@linux.alibaba.com> | 2021-04-28 16:39:47 +0800 |
commit | c4cd1d375e386069d0b781174de9f62ef41812e2 (patch) | |
tree | c83cfd44e66a9d424257308851da46c9e956502a /.github/dependabot.yml | |
parent | 0e9fed2d75fe85aefb7bc8d0aea7d515b39316f0 (diff) | |
download | vmm_vhost-c4cd1d375e386069d0b781174de9f62ef41812e2.tar.gz |
vhost_user: Fix check for SET_VRING_ENABLE
We should allow to receive SET_VRING_ENABLE request with non-zero index
even if MQ protocol feature is disabled because some device can have
multiple queues without the MQ feature.
e.g. virtio-net means that it supports multiple pairs of tx/rx queues.
So, the slave must support at least one pair of queues regardless of
whether MQ is supported.
Instead, make it check if VHOST_USER_F_PROTOCOL_FEATURES has been
negotiated.
Signed-off-by: Keiichi Watanabe <keiichiw@chromium.org>
Diffstat (limited to '.github/dependabot.yml')
0 files changed, 0 insertions, 0 deletions