commit | 363f15149cfba67d29f1e6a6103dda079f27f3fa | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Sun Jun 08 20:51:55 2008 +1000 |
committer | Jeff Garzik <jgarzik@redhat.com> | Tue Jun 10 18:20:32 2008 -0400 |
tree | ba1bfb698d5d0ff7590f2dfca3961d40bb2f199c | |
parent | 14c998f034bdc9a5bfa53bca18fbd0738cbc65e8 [diff] |
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 <rusty@rustcorp.com.au> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>