Re: [PATCH v2] virtio_net: bulk free tx skbs

2019-01-19 Thread David Miller
From: "Michael S. Tsirkin" Date: Thu, 17 Jan 2019 23:20:07 -0500 > Use napi_consume_skb() to get bulk free. Note that napi_consume_skb is > safe to call in a non-napi context as long as the napi_budget flag is > correct. > > Signed-off-by: Michael S. Tsirkin Applied, thanks.

Re: [PATCH v2] virtio_net: bulk free tx skbs

2019-01-18 Thread Jason Wang
On 2019/1/18 下午12:20, Michael S. Tsirkin wrote: Use napi_consume_skb() to get bulk free. Note that napi_consume_skb is safe to call in a non-napi context as long as the napi_budget flag is correct. Signed-off-by: Michael S. Tsirkin --- Changes from v1: rebase on master. lightly

[PATCH v2] virtio_net: bulk free tx skbs

2019-01-17 Thread Michael S. Tsirkin
Use napi_consume_skb() to get bulk free. Note that napi_consume_skb is safe to call in a non-napi context as long as the napi_budget flag is correct. Signed-off-by: Michael S. Tsirkin --- Changes from v1: rebase on master. lightly tested on developer's box. drivers/net/virtio_net.c