Jiri Pirko 4c3b54af90 virtio_pci_modern: use completion instead of busy loop to wait on admin cmd result
Currently, the code waits in a busy loop on every admin virtqueue issued
command to get a reply. That prevents callers from issuing multiple
commands in parallel.

To overcome this limitation, introduce a virtqueue event callback for
admin virtqueue. For every issued command, use completion mechanism
to wait on a reply. In the event callback, trigger the completion
is done for every incoming reply.

Alongside with that, introduce a spin lock to protect the admin
virtqueue operations.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Message-Id: <20240716113552.80599-13-jiri@resnulli.us>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2024-07-17 05:43:21 -04:00
..
2024-06-21 12:55:12 +02:00
2024-05-22 10:45:12 -07:00
2024-06-12 16:58:05 -07:00
2024-05-16 08:50:32 -07:00
2024-06-08 10:48:11 -07:00
2024-05-23 00:29:19 +02:00
2024-06-24 14:36:11 -04:00
2024-05-17 09:05:46 -07:00
2024-05-14 18:25:53 -07:00
2024-05-23 12:04:36 -07:00
2024-05-17 13:01:24 +02:00
2024-05-23 12:09:22 -07:00
2024-05-27 08:18:31 -07:00
2024-05-07 23:40:46 +02:00
2024-05-08 19:21:51 +01:00
2024-06-30 08:57:43 -07:00
2024-06-30 08:54:24 -07:00
2024-07-09 08:42:40 -04:00
2024-05-22 10:45:12 -07:00
2024-05-24 10:24:49 -07:00
2024-04-29 16:45:53 +02:00