Re: [PATCH] netdev: support netdev_budget for napi thread poll
From: Eric Dumazet
Date: Sun Sep 22 2024 - 11:14:03 EST
On Sun, Sep 22, 2024 at 5:08 PM tao <wangtaowt166@xxxxxxx> wrote:
>
> For napi thread poll, we expect the net.core.netdev_budget to be available.
>
> In the loop, poll as many packets as possible to netdev_budget
>
We do not 'expect' net.core.netdev_budget to be available, we have
better cond_resched() calls.
Please provide reasoning, and keep in mind net-next is currently closed.