On Wed, Feb 7, 2024 at 8:04 PM Jakub Kicinski <kuba@xxxxxxxxxx> wrote: > > On Mon, 5 Feb 2024 21:04:47 +0000 Joe Damato wrote: > > When using epoll-based busy poll, the packet budget is hardcoded to > > BUSY_POLL_BUDGET (8). Users may desire larger busy poll budgets, which > > can potentially increase throughput when busy polling under high network > > load. > > > > Other busy poll methods allow setting the busy poll budget via > > SO_BUSY_POLL_BUDGET, but epoll-based busy polling uses a hardcoded > > value. > > > > Fix this edge case by adding support for a per-epoll context busy poll > > packet budget. If not specified, the default value (BUSY_POLL_BUDGET) is > > used. > > Reviewed-by: Jakub Kicinski <kuba@xxxxxxxxxx> Reviewed-by: Eric Dumazet <edumazet@xxxxxxxxxx>