diff --git a/package/fastd/Config.in b/package/fastd/Config.in index 5319d68503..97fac9362a 100644 --- a/package/fastd/Config.in +++ b/package/fastd/Config.in @@ -21,6 +21,13 @@ config BR2_PACKAGE_FASTD_STATUS_SOCKET help Enable support for a socket to get fastd's status. +config BR2_PACKAGE_FASTD_OFFLOAD_L2TP + bool "l2tp offload support" + select BR2_PACKAGE_LIBMNL + help + L2TP can be offloaded to the Linux kernel, significantly + increasing throughput. + endif comment "fastd needs a toolchain w/ threads, dynamic library" diff --git a/package/fastd/fastd.hash b/package/fastd/fastd.hash index b59085e0ee..5f7f966533 100644 --- a/package/fastd/fastd.hash +++ b/package/fastd/fastd.hash @@ -1,3 +1,3 @@ # computed locally -sha256 942f33bcd794bcb8e19da4c30c875bdfd4d0f1c24ec4dcdf51237791bbfb0d4c fastd-21.tar.xz -sha256 1f5acece57466eac89108f934a196be09b7676fa2d637e78d6657ee1a7d644ac COPYRIGHT +sha256 19750b88705d66811b7c21b672537909c19ae6b21350688cbd1a3a54d08a8951 fastd-22.tar.xz +sha256 adf08b42f1b890b89e998360a864cb4f8441a0a57c9e95e2ce1bfdfc24c49976 COPYRIGHT diff --git a/package/fastd/fastd.mk b/package/fastd/fastd.mk index c1db1cc472..5cd6a909c3 100644 --- a/package/fastd/fastd.mk +++ b/package/fastd/fastd.mk @@ -4,7 +4,7 @@ # ################################################################################ -FASTD_VERSION = 21 +FASTD_VERSION = 22 FASTD_SITE = https://github.com/NeoRaider/fastd/releases/download/v$(FASTD_VERSION) FASTD_SOURCE = fastd-$(FASTD_VERSION).tar.xz FASTD_LICENSE = BSD-2-Clause @@ -33,6 +33,13 @@ else FASTD_CONF_OPTS += -Dstatus_socket=disabled endif +ifeq ($(BR2_PACKAGE_FASTD_OFFLOAD_L2TP),y) +FASTD_CONF_OPTS += -Doffload_l2tp=enabled -Dlibmnl_builtin=false +FASTD_DEPENDENCIES += libmnl +else +FASTD_CONF_OPTS += -Doffload_l2tp=disabled +endif + ifeq ($(BR2_INIT_SYSTEMD),y) FASTD_CONF_OPTS += -Dsystemd=enabled else