Re: [PATCH net-next] virtio_net: bulk free tx skbs

2019-01-17 Thread Michael S. Tsirkin
On Wed, Jan 16, 2019 at 03:31:58PM -0800, David Miller wrote: > From: "Michael S. Tsirkin" > Date: Mon, 14 Jan 2019 20:34:26 -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. >

Re: [PATCH net-next] virtio_net: bulk free tx skbs

2019-01-16 Thread David Miller
From: "Michael S. Tsirkin" Date: Mon, 14 Jan 2019 20:34:26 -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 > --- > > My perf testing setup is

[PATCH net-next] virtio_net: bulk free tx skbs

2019-01-16 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 --- My perf testing setup is down but it works fine on my devel box and should be fairly uncontroversial. dri