summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianling Shen2025-11-10 09:09:43 +0000
committerHauke Mehrtens2025-11-10 23:11:16 +0000
commitd720ad52543a5ead7e7e9a3f201bea3ae2619f75 (patch)
treedd11820c66886825efc3151cca00c15942ee9ee2
parent14d3ea43abb3b40d95309c107d18feafa6bf7a9e (diff)
downloadblocktrron-d720ad52543a5ead7e7e9a3f201bea3ae2619f75.tar.gz
rockchip: fix assign IRQ SMP affinity for Radxa E52C
The ifname was renamed to `lan`/`wan` in commit 1f1db7543220 ("rockchip: make NIC name predictable for Radxa E52C/ROCK 5 ITX/ROCK 5T"), update accordingly. Fixes: 1f1db7543220 ("rockchip: make NIC name predictable for Radxa E52C/ROCK 5 ITX/ROCK 5T") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/20722 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity b/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
index 9e46f6bf0b..86fd721c81 100644
--- a/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
+++ b/target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity
@@ -53,7 +53,6 @@ friendlyarm,nanopi-r4s-enterprise|\
friendlyarm,nanopi-r6c|\
friendlyarm,nanopi-r76s|\
friendlyarm,nanopc-t6|\
-radxa,e52c|\
radxa,rock-5-itx|\
radxa,rock-5t)
set_interface_core 10 "eth0"
@@ -74,5 +73,9 @@ radxa,rock-5c)
set_interface_core 10 "eth1"
set_interface_core 20 "eth2"
;;
+radxa,e52c)
+ set_interface_core 10 "lan"
+ set_interface_core 20 "wan"
+ ;;
esac