Commit f67ffb7
Maxim Levitsky
net: mana: Allow irq_setup() to skip cpus for affinity
JIRA: https://issues.redhat.com/browse/RHEL-109580
commit 845c62c
Author: Shradha Gupta <shradhagupta@linux.microsoft.com>
Date: Wed Jun 11 07:10:42 2025 -0700
net: mana: Allow irq_setup() to skip cpus for affinity
In order to prepare the MANA driver to allocate the MSI-X IRQs
dynamically, we need to enhance irq_setup() to allow skipping
affinitizing IRQs to the first CPU sibling group.
This would be for cases when the number of IRQs is less than or equal
to the number of online CPUs. In such cases for dynamically added IRQs
the first CPU sibling group would already be affinitized with HWC IRQ.
Signed-off-by: Shradha Gupta <shradhagupta@linux.microsoft.com>
Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com>
Reviewed-by: Yury Norov [NVIDIA] <yury.norov@gmail.com>
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>1 parent 08657a4 commit f67ffb7
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1408 | 1408 | | |
1409 | 1409 | | |
1410 | 1410 | | |
1411 | | - | |
| 1411 | + | |
| 1412 | + | |
1412 | 1413 | | |
1413 | 1414 | | |
1414 | 1415 | | |
| |||
1423 | 1424 | | |
1424 | 1425 | | |
1425 | 1426 | | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
1426 | 1435 | | |
1427 | 1436 | | |
| 1437 | + | |
1428 | 1438 | | |
1429 | | - | |
1430 | | - | |
1431 | 1439 | | |
1432 | 1440 | | |
1433 | 1441 | | |
| |||
1523 | 1531 | | |
1524 | 1532 | | |
1525 | 1533 | | |
1526 | | - | |
| 1534 | + | |
1527 | 1535 | | |
1528 | 1536 | | |
1529 | 1537 | | |
| |||
0 commit comments