Thread (12 messages) flat view 12 messages, 5 authors, 2021-05-21

Re: [PATCH net-next 1/2] net: add a napi variant for RT-well-behaved drivers

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-05-15 00:22:00

On Sat, 15 May 2021 02:17:50 +0200 Thomas Gleixner wrote:
On Fri, May 14 2021 at 15:24, Jakub Kicinski wrote:
quoted
 
+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);
}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help