[Intel-wired-lan] [PATCH v5 07/14] enic: Use irq_update_affinity_hint

Christian Benvenuti (benve) benve at cisco.com
Mon Aug 16 17:53:25 UTC 2021

> -----Original Message-----
> From: Nitesh Narayan Lal <nitesh at redhat.com>
> Sent: Tuesday, July 20, 2021 4:26 PM
> To: linux-kernel at vger.kernel.org; linux-scsi at vger.kernel.org; intel-wired-
> lan at lists.osuosl.org; netdev at vger.kernel.org; linux-api at vger.kernel.org;
> linux-pci at vger.kernel.org; tglx at linutronix.de; jesse.brandeburg at intel.com;
> robin.murphy at arm.com; mtosatti at redhat.com; mingo at kernel.org;
> jbrandeb at kernel.org; frederic at kernel.org; juri.lelli at redhat.com;
> abelits at marvell.com; bhelgaas at google.com; rostedt at goodmis.org;
> peterz at infradead.org; davem at davemloft.net; akpm at linux-foundation.org;
> sfr at canb.auug.org.au; stephen at networkplumber.org;
> rppt at linux.vnet.ibm.com; chris.friesen at windriver.com; maz at kernel.org;
> nhorman at tuxdriver.com; pjwaskiewicz at gmail.com;
> sassmann at redhat.com; thenzl at redhat.com;
> kashyap.desai at broadcom.com; sumit.saxena at broadcom.com;
> shivasharan.srikanteshwara at broadcom.com;
> sathya.prakash at broadcom.com; sreekanth.reddy at broadcom.com;
> suganath-prabu.subramani at broadcom.com; james.smart at broadcom.com;
> dick.kennedy at broadcom.com; jkc at redhat.com; faisal.latif at intel.com;
> shiraz.saleem at intel.com; tariqt at nvidia.com; ahleihel at redhat.com;
> kheib at redhat.com; borisp at nvidia.com; saeedm at nvidia.com; Christian
> Benvenuti (benve) <benve at cisco.com>; govind at gmx.com;
> jassisinghbrar at gmail.com; ajit.khaparde at broadcom.com;
> sriharsha.basavapatna at broadcom.com; somnath.kotur at broadcom.com;
> nilal at redhat.com; tatyana.e.nikolova at intel.com; mustafa.ismail at intel.com;
> ahs3 at redhat.com; leonro at nvidia.com; chandrakanth.patil at broadcom.com;
> bjorn.andersson at linaro.org; chunkuang.hu at kernel.org;
> yongqiang.niu at mediatek.com; baolin.wang7 at gmail.com;
> poros at redhat.com; minlei at redhat.com; emilne at redhat.com;
> jejb at linux.ibm.com; martin.petersen at oracle.com; _govind at gmx.com;
> kabel at kernel.org; viresh.kumar at linaro.org; Tushar.Khandelwal at arm.com;
> kuba at kernel.org
> Subject: [PATCH v5 07/14] enic: Use irq_update_affinity_hint
> The driver uses irq_set_affinity_hint() to update the affinity_hint mask that
> is consumed by the userspace to distribute the interrupts. However, under
> the hood irq_set_affinity_hint() also applies the provided cpumask (if not
> NULL) as the affinity for the given interrupt which is an undocumented side
> effect.
> To remove this side effect irq_set_affinity_hint() has been marked as
> deprecated and new interfaces have been introduced. Hence, replace the
> irq_set_affinity_hint() with the new interface irq_update_affinity_hint() that
> only updates the affinity_hint pointer.
> Signed-off-by: Nitesh Narayan Lal <nitesh at redhat.com>

Thanks Nitesh for the patch.

Reviewed-by: Christian Benvenuti <benve at cisco.com>

More information about the Intel-wired-lan mailing list