]> git.ipfire.org Git - thirdparty/linux.git/commit
net: mana: explain irq_setup() algorithm
authorYury Norov <yury.norov@gmail.com>
Wed, 11 Jun 2025 14:10:29 +0000 (07:10 -0700)
committerShradha Gupta <shradhagupta@linux.microsoft.com>
Tue, 17 Jun 2025 06:15:14 +0000 (06:15 +0000)
commit4607617af1b4747df0284ea8c1ddcecb21cae528
treea249f3d2516be1d52e967f38965aa593cda4c3cc
parentad518f2557b971976fc9d99a6a8cd2b453742bf9
net: mana: explain irq_setup() algorithm

Commit 91bfe210e196 ("net: mana: add a function to spread IRQs per CPUs")
added the irq_setup() function that distributes IRQs on CPUs according
to a tricky heuristic. The corresponding commit message explains the
heuristic.

Duplicate it in the source code to make available for readers without
digging git in history. Also, add more detailed explanation about how
the heuristics is implemented.

Signed-off-by: Yury Norov <yury.norov@gmail.com>
Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
drivers/net/ethernet/microsoft/mana/gdma_main.c