Re: [PATCH net-next] virtio_net: exploit napi_complete_done() return value

2017-02-04 Thread David Miller
From: Eric Dumazet Date: Sat, 04 Feb 2017 07:49:21 -0800 > From: Eric Dumazet > > Since commit 364b6055738b ("net: busy-poll: return busypolling status to > drivers"), napi_complete_done() returns a boolean that can be used > by drivers to

[PATCH net-next] virtio_net: exploit napi_complete_done() return value

2017-02-04 Thread Eric Dumazet
From: Eric Dumazet Since commit 364b6055738b ("net: busy-poll: return busypolling status to drivers"), napi_complete_done() returns a boolean that can be used by drivers to conditionally rearm interrupts. This patch changes virtio_net to use this boolean to avoid a bit of