virtio: use callback on empty in virtio_net
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 8 Jun 2008 10:51:55 +0000 (20:51 +1000)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 10 Jun 2008 22:20:32 +0000 (18:20 -0400)
virtio_net uses a timer to free old transmitted packets, rather than
leaving callbacks enabled all the time.  If the host promises to
always notify us when the transmit ring is empty, we can free packets
at that point and avoid the timer.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found