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

From: Jason Wang
Date: Wed Oct 15 2014 - 20:32:07 EST

On 10/15/2014 10:32 PM, Michael S. Tsirkin wrote:
> 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.

Sure, will do some tests first.

> 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(-)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at