[PATCH RFC v2 0/3] virtio_net: enabling tx interrupts

From: Michael S. Tsirkin
Date: Wed Oct 15 2014 - 10:28:30 EST


RFC patches to enable tx interrupts.
This is to demonstrate how this can be done without
core virtio changes, and to make sure I understand
the new APIs correctly.

Testing TBD: I'm going offline for several days, will only be able to
test afterwards (unless someone beats me to this).
So I thought I'd post this early.

Applies on top of patch: "virtio_net: fix use after free"
that I recently sent.

Changes:
address comments by Jason Wang, use delayed cb everywhere
rebased Jason's patch on top of mine and include it (with some tweaks)

Jason, feel free to either use this, try it out, or take ideas out
of this patchset and reuse in any other way you see fit.

Jason Wang (1):
virtio-net: optimize free_old_xmit_skbs stats

Michael S. Tsirkin (2):
virtio_net: enable tx interrupt
virtio_net: bql

drivers/net/virtio_net.c | 153 ++++++++++++++++++++++++++++++++++-------------
1 file changed, 111 insertions(+), 42 deletions(-)

--
MST

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/