Searched hist:"4 c3b54af907e709609d3d8beca92d65e2f0cfd83" (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/virtio/ |
H A D | virtio_pci_common.h | diff 4c3b54af907e709609d3d8beca92d65e2f0cfd83 Tue Jul 16 13:35:51 CEST 2024 Jiri Pirko <jiri@nvidia.com> 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>
|
H A D | virtio_pci_modern.c | diff 4c3b54af907e709609d3d8beca92d65e2f0cfd83 Tue Jul 16 13:35:51 CEST 2024 Jiri Pirko <jiri@nvidia.com> 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>
|
H A D | virtio_pci_common.c | diff 4c3b54af907e709609d3d8beca92d65e2f0cfd83 Tue Jul 16 13:35:51 CEST 2024 Jiri Pirko <jiri@nvidia.com> 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>
|
/linux/include/linux/ |
H A D | virtio.h | diff 4c3b54af907e709609d3d8beca92d65e2f0cfd83 Tue Jul 16 13:35:51 CEST 2024 Jiri Pirko <jiri@nvidia.com> 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>
|