Re: [PATCH net-next v2 4/8] net: napi: add CPU affinity to napi->config

From
Jakub Kicinski <kuba@kernel.org>
Date
2024-12-20 20:51:11
Also in
intel-wired-lan
Reply to
Ahmed Zaki, 2024-12-20
On Fri, 20 Dec 2024 13:14:48 -0700 Ahmed Zaki wrote:
quoted
Then you can probably register a single unified handler, and inside
that handler check if the device wanted to have rmap or just affinity?  
This is what is in this patch already, all drivers following new 
approach will have netif_irq_cpu_rmap_notify() as their IRQ notifier.

IIUC, your goal is to have the notifier inside napi, not irq_glue. For 
this, we'll have to have our own version of irq_cpu_rmap_add() (for the 
above reason).

sounds OK?
Yes.
Thread (23 messages) 23 messages, 4 authors, last reply 2025-01-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help