Re: [net-next PATCH v2 6/8] net: Commonize busy polling code to focus on napi_id instead of socket

From: Eric Dumazet
Date: Thu Mar 23 2017 - 18:25:27 EST


On Thu, 2017-03-23 at 14:37 -0700, Alexander Duyck wrote:
> From: Sridhar Samudrala <sridhar.samudrala@xxxxxxxxx>
>
> Move the core functionality in sk_busy_loop() to napi_busy_loop() and
> make it independent of sk.
>
> This enables re-using this function in epoll busy loop implementation.
>
> Signed-off-by: Sridhar Samudrala <sridhar.samudrala@xxxxxxxxx>
> Signed-off-by: Alexander Duyck <alexander.h.duyck@xxxxxxxxx>
> ---

Acked-by: Eric Dumazet <edumazet@xxxxxxxxxx>