[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANn89iKGRuHpHJwWe3FYB9km2=V5S3g3a_-SxMmf5pkPNCUjeQ@mail.gmail.com>
Date: Tue, 14 May 2024 13:07:00 +0200
From: Eric Dumazet <edumazet@...gle.com>
To: Heiner Kallweit <hkallweit1@...il.com>
Cc: Paolo Abeni <pabeni@...hat.com>, Jakub Kicinski <kuba@...nel.org>,
David Miller <davem@...emloft.net>, Realtek linux nic maintainers <nic_swsd@...ltek.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>, Ken Milmore <ken.milmore@...il.com>
Subject: Re: [PATCH net 1/2] net: add napi_schedule_prep variant with more
granular return value
On Tue, May 14, 2024 at 8:50 AM Heiner Kallweit <hkallweit1@...il.com> wrote:
>
> For deciding whether to disable device interrupts, drivers may need the
> information whether NAPIF_STATE_DISABLE or NAPIF_STATE_SCHED was set.
> Therefore add a __napi_schedule_prep() which returns -1 in case
> NAPIF_STATE_DISABLE was set.
>
> Signed-off-by: Heiner Kallweit <hkallweit1@...il.com>
> ---
net-next is closed.
See my feedback on the other patch.
Powered by blists - more mailing lists