diff options
author | Benjamin Berg <benjamin.berg@intel.com> | 2024-11-04 00:28:54 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-11-07 20:05:07 +0300 |
commit | 1d4d0ef84a7f386205ad141ff8727e027b0581e4 (patch) | |
tree | 1bc20377b909d42e08c88e38283a1eac85cfb4fa /rust/helpers/build_bug.c | |
parent | d85deadc17ee7e7154271cf1082bc0bb7aba3308 (diff) | |
download | linux-1d4d0ef84a7f386205ad141ff8727e027b0581e4.tar.xz |
um: virtio_uml: query the number of vqs if supported
When the VHOST_USER_PROTOCOL_F_MQ protocol feature flag is set, we can
query the maximum number of virtual queues. Do so when supported and
extend the check to verify that we are not trying to allocate more
queues.
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20241103212854.1436046-5-benjamin@sipsolutions.net
[add a message to the WARN_ON]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions