Commit 4f903e3
committed
sriov: add scan-cycle fallback for verify_irqbalance on managed-IRQ VMs
On v6 SKUs with MANA NICs, all network IRQs use managed mode where the
kernel controls affinity. With 32+ cores distributing IRQs evenly across
cache domains, irqbalance correctly determines no rebalancing is needed
and never prints 'Selecting irq X for rebalancing'. This causes
verify_irqbalance to fail even though irqbalance is working correctly.
Add a fallback assertion: when no active rebalancing is detected, verify
that irqbalance completed at least one scan cycle by checking for
separator lines and 'Interrupt N node_num' messages in its debug output.
This confirms irqbalance ran and scanned the interrupt topology, even if
it decided nothing needed moving.
Tested on:
- RHEL 9.0 / Standard_E32ds_v6 (previously failing): PASSED 2/2
- Ubuntu 22.04 / Standard_D8ds_v5 (regression check): PASSED 1/11 parent 3cdfc37 commit 4f903e3
1 file changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
772 | 772 | | |
773 | 773 | | |
774 | 774 | | |
775 | | - | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
776 | 778 | | |
777 | 779 | | |
778 | | - | |
779 | | - | |
780 | 780 | | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
781 | 798 | | |
782 | 799 | | |
783 | 800 | | |
| |||
0 commit comments