On Saturday 05 January 2008 09:24:40 Anthony Liguori wrote:
Hey Rusty et al,
I've got automatic backports of the virtio modules[1] working back to
2.6.18. Everything seems okay except that for any kernel with the older
NAPI api, performance is extremely bad. I get about 1gbit on TX with
Rusty Russell wrote:
On Saturday 05 January 2008 09:24:40 Anthony Liguori wrote:
Hey Rusty et al,
I've got automatic backports of the virtio modules[1] working back to
2.6.18. Everything seems okay except that for any kernel with the older
NAPI api, performance is extremely bad. I get
On Saturday 05 January 2008 09:24:40 Anthony Liguori wrote:
@@ -215,17 +231,40 @@
struct virtnet_info *vi = rvq-vdev-priv;
/* Suppress further interrupts. */
rvq-vq_ops-disable_cb(rvq);
+#ifdef COMPAT_napi
+ vi-rvq-vq_ops-enable_cb(vi-rvq);
+ if