1
linux/drivers/virtio
Rusty Russell b4f68be6c5 virtio: force callback on empty.
virtio allows drivers to suppress callbacks (ie. interrupts) for
efficiency (no locking, it's just an optimization).

There's a similar mechanism for the host to suppress notifications
coming from the guest: in that case, we ignore the suppression if the
ring is completely full.

It turns out that life is simpler if the host similarly ignores
callback suppression when the ring is completely empty: the network
driver wants to free up old packets in a timely manner, and otherwise
has to use a timer to poll.

We have to remove the code which ignores interrupts when the driver
has disabled them (again, it had no locking and hence was unreliable
anyway).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2008-05-30 15:09:46 +10:00
..
config.c
Kconfig virtio: balloon driver 2008-02-04 23:50:13 +11:00
Makefile virtio: balloon driver 2008-02-04 23:50:13 +11:00
virtio_balloon.c virtio: explicit advertisement of driver features 2008-05-02 21:50:50 +10:00
virtio_pci.c virtio: set device index in common code. 2008-05-30 15:09:42 +10:00
virtio_ring.c virtio: force callback on empty. 2008-05-30 15:09:46 +10:00
virtio.c virtio: set device index in common code. 2008-05-30 15:09:42 +10:00