testing: Make per-CPU SAs scenarios more predictable by pinning IRQs to vCPUs

This ensures that packets on sun are processed on a particular CPU and
not randomly on one, which causes expected SAs not to get created or
other weird things.
This commit is contained in:
Tobias Brunner
2025-12-03 11:42:54 +01:00
parent b0e4a7d015
commit 1454bd7bcf
9 changed files with 50 additions and 15 deletions
@@ -3,3 +3,4 @@ moon::systemctl stop strongswan
sun::systemctl stop strongswan
moon::iptables-restore < /etc/iptables.flush
sun::iptables-restore < /etc/iptables.flush
sun::set-cpu-affinity eth1 0-1