[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210514172157.7af29448@kicinski-fedora-PC1C0HJN>
Date: Fri, 14 May 2021 17:21:57 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: davem@...emloft.net, netdev@...r.kernel.org,
eric.dumazet@...il.com, simon.horman@...ronome.com,
oss-drivers@...ronome.com, bigeasy@...utronix.de
Subject: Re: [PATCH net-next 1/2] net: add a napi variant for
RT-well-behaved drivers
On Sat, 15 May 2021 02:17:50 +0200 Thomas Gleixner wrote:
> On Fri, May 14 2021 at 15:24, Jakub Kicinski wrote:
> >
> > +void __napi_schedule_irq(struct napi_struct *n)
> > +{
> > + ____napi_schedule(this_cpu_ptr(&softnet_data), n);
>
> Not that I have any clue, but why does this not need the
> napi_schedule_prep() check?
napi_schedule_prep() is in the non-__ version in linux/netdevice.h:
static inline void napi_schedule_irq(struct napi_struct *n)
{
if (napi_schedule_prep(n))
__napi_schedule_irq(n);
}
Powered by blists - more mailing lists