From f8b7a12464cebf396ec436699f8ad0dceab8ef1f Mon Sep 17 00:00:00 2001 From: sbwml <984419930@qq.com> Date: Fri, 24 Feb 2023 07:12:05 +0800 Subject: [PATCH] rockchip: enable tso for nanopi-r4s --- armv8/base-files/etc/hotplug.d/net/40-net-smp-affinity | 1 + 1 file changed, 1 insertion(+) 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 fea202a..27c024d 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 @@ -32,6 +32,7 @@ case "$(board_name)" in friendlyarm,nanopi-r4s) set_interface_core 10 "eth0" set_interface_core 20 "eth1" + ethtool -K eth1 tso on sg on tx on ;; friendlyarm,nanopi-r5c) set_interface_core 2 "eth0-0"