summaryrefslogtreecommitdiff
path: root/rust/helpers/build_bug.c
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2024-11-04 00:28:54 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-11-07 20:05:07 +0300
commit1d4d0ef84a7f386205ad141ff8727e027b0581e4 (patch)
tree1bc20377b909d42e08c88e38283a1eac85cfb4fa /rust/helpers/build_bug.c
parentd85deadc17ee7e7154271cf1082bc0bb7aba3308 (diff)
downloadlinux-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