[][openwrt][mt7988][crypto][Change ESP offload config to default]
[Description]
Change ESP offload config to default.
This config will affect the throughput of IPSec SW path decryption.
After enabling this setting, the processing of IPSec decryption can be
accelerated through esp4_gro_receive, increasing the decryption
throughput from 400 Mbps to approximately 800 Mbps.
[Release-log]
N/A
Change-Id: Ib559f27e61d1174666064b718b3e3672fff9912a
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9651008
diff --git a/feed/kernel/crypto-eip/crypto-eip.mk b/feed/kernel/crypto-eip/crypto-eip.mk
index 4b48240..f27008a 100644
--- a/feed/kernel/crypto-eip/crypto-eip.mk
+++ b/feed/kernel/crypto-eip/crypto-eip.mk
@@ -50,7 +50,8 @@
CONFIG_CRYPTO_SHA512=y \
CONFIG_CRYPTO_SHA3=y \
CONFIG_CRYPTO_HMAC=y \
- CONFIG_INET_ESP=y
+ CONFIG_INET_ESP=y \
+ CONFIG_INET_ESP_OFFLOAD=y
DEPENDS:= \
@TARGET_mediatek \
+strongswan \
@@ -73,8 +74,7 @@
CATEGORY:=MTK Properties
SUBMENU:=Drivers
TITLE:= EIP-197 Crypto Engine Inline Driver
- KCONFIG:= \
- CONFIG_INET_ESP_OFFLOAD=y
+ KCONFIG:=
DEPENDS:= \
@CRYPTO_OFFLOAD_INLINE \
kmod-crypto-eip \