Commit 5fc111a
Maxim Levitsky
net: mana: Allow irq_setup() to skip cpus for affinity
JIRA: https://issues.redhat.com/browse/RHEL-109583
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 7ad8135 commit 5fc111a
1 file changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | | - | |
| 1412 | + | |
| 1413 | + | |
1413 | 1414 | | |
1414 | 1415 | | |
1415 | 1416 | | |
| |||
1424 | 1425 | | |
1425 | 1426 | | |
1426 | 1427 | | |
| 1428 | + | |
| 1429 | + | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
1427 | 1436 | | |
1428 | 1437 | | |
| 1438 | + | |
1429 | 1439 | | |
1430 | | - | |
1431 | | - | |
1432 | 1440 | | |
1433 | 1441 | | |
1434 | 1442 | | |
| |||
1524 | 1532 | | |
1525 | 1533 | | |
1526 | 1534 | | |
1527 | | - | |
| 1535 | + | |
1528 | 1536 | | |
1529 | 1537 | | |
1530 | 1538 | | |
| |||
0 commit comments