Fixed errors and warnings found in journald

This commit is contained in:
Milivoje Legenovic
2025-03-25 11:26:56 +01:00
committed by Igor
parent 885fb7f49f
commit 8f1b441dfc
2 changed files with 4 additions and 1 deletions

View File

@@ -235,7 +235,10 @@ prepare_board() {
sleep 1
done
echo 8 > /proc/irq/$(awk -F":" "/${_rockchip64_ethernet_interface_name}/ {print \$1}" < /proc/interrupts | sed 's/\ //g')/smp_affinity
for i in $(awk -F":" "/${_rockchip64_ethernet_interface_name}/ {print \$1}" < /proc/interrupts | sed 's/\ //g'); do
echo 8 > /proc/irq/$i/smp_affinity
done
echo 7 > /sys/class/net/${_rockchip64_ethernet_interface_name}/queues/rx-0/rps_cpus
echo 32768 > /proc/sys/net/core/rps_sock_flow_entries
echo 32768 > /sys/class/net/${_rockchip64_ethernet_interface_name}/queues/rx-0/rps_flow_cnt