On 2024-11-11 7:53 p.m., Jakub Kicinski wrote:
On Fri,  8 Nov 2024 17:12:05 -0700 Ahmed Zaki wrote:
From: Sudheer Mogilappagari <[email protected]>

Currently the IRQ affinity settings are getting lost when interface
goes through a soft reset (due to MTU configuration, changing number
of queues etc). Use irq_set_affinity_notifier() callbacks to keep
the IRQ affinity info in sync between driver and kernel.

Could you try doing this in the core? Store the mask in napi_struct
if it has IRQ associated with it?

Barely any drivers get this right.

The napi structs are allocated/freed with open/close ndos. I don't think we should expect the user to re-set CPU affinity after link down/up.

netdev->_rx perhaps?


Reply via email to