rockchip: distribute net interrupts
authorDavid Bauer <mail@david-bauer.net>
Mon, 27 Jul 2020 21:13:02 +0000 (23:13 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 28 Jul 2020 13:52:44 +0000 (15:52 +0200)
commit7a4fc8906cd2256e7381d1c043e19872eeb06883
treef85408b758b4dfede12ba232976b421fb5c13a9f
parent5a57a1ac1faaa8920ec36f070963b0a976a29525
rockchip: distribute net interrupts

This adds a hotplug script for distributing interrupts of eth0 and eth1
across different cores. Otherwise the forwarding performance between
eth0 and eth1 is severely affected.

The existing SMP distribution mechanic in OpenWrt can't be used here, as
the actual device IRQ has to be moved to dedicated cores. In case of
eth1, this is in fact the USB3 controller.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/rockchip/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity [new file with mode: 0644]