From 9484a14923d0380d2b32d40b317c72d06fd3555c Mon Sep 17 00:00:00 2001 From: jjm2473 <1129525450@qq.com> Date: Thu, 11 Nov 2021 14:50:54 +0800 Subject: [PATCH] target/realtek: add hwnat GSO option (cherry picked from commit 4fb02db9b37a43e055943aac3dad69efc2123222) --- target/linux/realtek/modules.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/target/linux/realtek/modules.mk b/target/linux/realtek/modules.mk index 1157892070..233260c7b4 100644 --- a/target/linux/realtek/modules.mk +++ b/target/linux/realtek/modules.mk @@ -296,10 +296,18 @@ define KernelPackage/rtd1295hwnat/config config KERNEL_RTL_TSO bool "Enable HW TSO support" depends on !KERNEL_RTL_IPTABLES_FAST_PATH + select KERNEL_RTL_GSO default y help Enable HW TSO for HW NAT. + config KERNEL_RTL_GSO + bool "Enable software GSO support" + depends on !KERNEL_RTL_IPTABLES_FAST_PATH + default y + help + Enable software GSO support. + config KERNEL_RTL_IPTABLES_FAST_PATH bool "Enable fastpath support" select KERNEL_NF_CONNTRACK