Re: [RFC PATCH net-next 6/6] virtio-net: enable tx interrupt only for the final skb in the chain

2014-10-15 Thread Michael S. Tsirkin
On Wed, Oct 15, 2014 at 06:31:19PM +0800, Jason Wang wrote: > On 10/15/2014 06:22 PM, Michael S. Tsirkin wrote: > > On Wed, Oct 15, 2014 at 03:25:30PM +0800, Jason Wang wrote: > >> With the help of xmit_more and virtqueue_enable_cb_avail(), this patch > >> enable tx interrupt only for the final skb

Re: [RFC PATCH net-next 6/6] virtio-net: enable tx interrupt only for the final skb in the chain

2014-10-15 Thread Jason Wang
On 10/15/2014 06:22 PM, Michael S. Tsirkin wrote: > On Wed, Oct 15, 2014 at 03:25:30PM +0800, Jason Wang wrote: >> With the help of xmit_more and virtqueue_enable_cb_avail(), this patch >> enable tx interrupt only for the final skb in the chain if >> needed. This will help to mitigate tx interrupts

Re: [RFC PATCH net-next 6/6] virtio-net: enable tx interrupt only for the final skb in the chain

2014-10-15 Thread Michael S. Tsirkin
On Wed, Oct 15, 2014 at 03:25:30PM +0800, Jason Wang wrote: > With the help of xmit_more and virtqueue_enable_cb_avail(), this patch > enable tx interrupt only for the final skb in the chain if > needed. This will help to mitigate tx interrupts. > > Cc: Rusty Russell > Cc: Michael S. Tsirkin > S

[RFC PATCH net-next 6/6] virtio-net: enable tx interrupt only for the final skb in the chain

2014-10-15 Thread Jason Wang
With the help of xmit_more and virtqueue_enable_cb_avail(), this patch enable tx interrupt only for the final skb in the chain if needed. This will help to mitigate tx interrupts. Cc: Rusty Russell Cc: Michael S. Tsirkin Signed-off-by: Jason Wang --- drivers/net/virtio_net.c | 10 +++---