From a211b4e6f8ef8421b1611bb81181a654fae00793 Mon Sep 17 00:00:00 2001 From: Bard L <984419930@qq.com> Date: Tue, 7 Feb 2023 22:48:48 +0800 Subject: [PATCH] rockchip: turn on tso for rk3568 https://github.com/coolsnowwolf/lede/pull/10879/commits/85579681a4cd4876e7570a1f5ea87a6977e77e31 --- armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity | 2 ++ 1 file changed, 2 insertions(+) diff --git a/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity b/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity index 1d6f277..cb2db6f 100644 --- a/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity +++ b/armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity @@ -44,5 +44,7 @@ friendlyarm,nanopi-r5s) set_interface_core 2 "eth2-16" set_interface_core 2 "eth2-18" echo d > /sys/class/net/eth2/queues/rx-0/rps_cpus + ethtool -K eth1 tso on sg on tx on + ethtool -K eth2 tso on sg on tx on ;; esac