From: Rusty Russell Date: Sun, 8 Jun 2008 10:51:55 +0000 (+1000) Subject: virtio: use callback on empty in virtio_net X-Git-Tag: firefly_0821_release~19941^2~9^2~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=363f15149cfba67d29f1e6a6103dda079f27f3fa;hp=363f15149cfba67d29f1e6a6103dda079f27f3fa;p=firefly-linux-kernel-4.4.55.git virtio: use callback on empty in virtio_net 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 Signed-off-by: Jeff Garzik ---