Engineer IRQ affinity to decouple applications from platform

This changes the kickstart kernel boot args to be consistent with sysinv
engineered value of irqaffinity.

The default IRQ affinity setting is calculated in sysinv.  The intent is
to engineer IRQs on application cores if they are configured.

Closes-Bug: 1930595
Depends-On: https://review.opendev.org/c/starlingx/config/+/794270

Signed-off-by: Jim Gauld <james.gauld@windriver.com>
Change-Id: Id21378d7a51d6c39f5f2246f4e6029a60275dcbe
This commit is contained in:
Jim Gauld 2021-06-02 12:11:43 -04:00
parent 04a31bebfe
commit 9627820620

View File

@ -34,7 +34,7 @@ then
fi
KERN_OPTS="${KERN_OPTS} rcu_nocbs=${norcu_cpulist}"
KERN_OPTS="${KERN_OPTS} kthread_cpus=${base_cpulist}"
KERN_OPTS="${KERN_OPTS} irqaffinity=${base_cpulist}"
KERN_OPTS="${KERN_OPTS} irqaffinity=${norcu_cpulist}"
# Update vswitch.conf
sed -i "s/^VSWITCH_CPU_LIST=.*/VSWITCH_CPU_LIST=\"${avp_cpulist}\"/" /etc/vswitch/vswitch.conf
fi