]> www.infradead.org Git - users/jedix/linux-maple.git/commit
virtio_pci_modern: create admin queue of queried size
authorJiri Pirko <jiri@nvidia.com>
Tue, 16 Jul 2024 11:35:49 +0000 (13:35 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 17 Jul 2024 09:43:21 +0000 (05:43 -0400)
commitb00c4150c435eed6e80ab302ae3a02a3d41460c3
tree2bf84e050536106f183b10b360cc25f8775a5cfa
parentaf22bbe1f4a514c80b89a27252beef033168f4e9
virtio_pci_modern: create admin queue of queried size

Don't limit the admin queue size to VIRTIO_AVQ_SGS_MAX and rather rely
on the queried queue size.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Message-Id: <20240716113552.80599-11-jiri@resnulli.us>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_modern.c