target/rk35xx: fix smp_affinity of rtl8111h on rk3528 boards

This commit is contained in:
Liangbin Lian 2024-07-19 15:45:28 +08:00
parent df0032d89a
commit e4baf19633

View File

@ -298,7 +298,12 @@ board_set_iface_smp_affinity() {
mangopi,m28k|\
hlink,h28k)
set_iface_cpumask 5 eth0
# eth1 is rtl8111h, driven by r8169 or r8168
if ethtool -i eth1 | grep -Fq 'driver: r8169'; then
set_iface_cpumask b eth1
else
set_iface_cpumask 5 eth1 eth1-0 a
fi
;;
ynn,nas|\
le,hes30|\