Re: [PATCH net-next v2] net: napi: Skip last poll when arming gro timer in busy poll
From: Martin Karsten
Date: Fri May 15 2026 - 16:44:36 EST
On 2026-05-15 15:46, Martin Karsten wrote:
Skip the extra call to napi->poll(), if the gro timer is armed at the
end of busy polling. This removes the need for having a separate
__busy_poll_stop() routine and its code is moved directly into the
relevant places in busy_poll_stop(). Remove obsolete comment about
ndo_busy_poll_stop().
This is a follow-up to commit 58e2330bd455 ("net: napi: Avoid gro timer
misfiring at end of busypoll"), which has deferred arming the gro timer
to the end of __busy_poll_stop() to eliminate a race condition between
a short timer and long poll that could leave the queue stuck with
interrupts disabled and no timer armed.
Please ignore this submission. My mail client decided at the last moment to replace empty lines with space characters and I didn't catch it. Truly sorry for the spam!
Best,
Martin