opnsense-src/sys/dev/virtio
John-Mark Gurney f1c5a2e3a6 virtio_random: Pipeline fetching the data
Queue an initial fetch of data during attach and after every read
rather than synchronously fetching data and polling for completion.

If data has not been returned from an previous fetch during read,
just return EAGAIN rather than blocking.

Co-authored-by: John Baldwin <jhb@FreeBSD.org>

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D41656
2023-09-05 08:59:43 -07:00
..
balloon sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
block sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
console sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
gpu Add a virtio-gpu 2D driver 2023-08-17 12:26:57 +01:00
mmio sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
network sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
pci sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
random virtio_random: Pipeline fetching the data 2023-09-05 08:59:43 -07:00
scsi sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
virtio.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
virtio.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
virtio_bus_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
virtio_config.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
virtio_endian.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
virtio_ids.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
virtio_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
virtio_ring.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
virtqueue.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
virtqueue.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00