|
@@ -10,16 +10,47 @@
|
|
|
$(call AddDepends/crypto)
|
|
|
endef
|
|
|
|
|
|
---- a/package/feeds/nss-packages/qca-nss-ecm/Makefile
|
|
|
-+++ b/package/feeds/nss-packages/qca-nss-ecm/Makefile
|
|
|
-@@ -160,10 +160,6 @@ ifneq ($(CONFIG_PACKAGE_kmod-bonding),)
|
|
|
- ECM_MAKE_OPTS+=ECM_INTERFACE_BOND_ENABLE=y
|
|
|
+--- a/package/feeds/kiddin9/qca-nss-ecm/Makefile
|
|
|
++++ b/package/feeds/kiddin9/qca-nss-ecm/Makefile
|
|
|
+@@ -119,10 +119,6 @@ ifneq ($(CONFIG_PACKAGE_kmod-nat46),)
|
|
|
+ ECM_MAKE_OPTS+=ECM_INTERFACE_MAP_T_ENABLE=y
|
|
|
endif
|
|
|
|
|
|
--ifneq ($(CONFIG_PACKAGE_kmod-qmi_wwan_q),)
|
|
|
--ECM_MAKE_OPTS+=ECM_INTERFACE_RAWIP_ENABLE=y
|
|
|
+-ifneq ($(CONFIG_PACKAGE_kmod-ipsec),)
|
|
|
+-ECM_MAKE_OPTS+=ECM_INTERFACE_IPSEC_ENABLE=y
|
|
|
-endif
|
|
|
-
|
|
|
- ifneq ($(CONFIG_NSS_FIRMWARE_VERSION_12_5),)
|
|
|
- EXTRA_CFLAGS+=-DNSS_FIRMWARE_VERSION_12_5
|
|
|
+ ifneq ($(CONFIG_PACKAGE_kmod-pppoe),)
|
|
|
+ ECM_MAKE_OPTS+=ECM_INTERFACE_PPPOE_ENABLE=y \
|
|
|
+ ECM_INTERFACE_PPTP_ENABLE=y \
|
|
|
+
|
|
|
+--- a/package/feeds/kiddin9/qca-nss-drv/Makefile
|
|
|
++++ b/package/feeds/kiddin9/qca-nss-drv/Makefile
|
|
|
+@@ -186,10 +186,8 @@ ifndef CONFIG_NSS_DRV_IGS_ENABLE
|
|
|
+ endif
|
|
|
+
|
|
|
+ ifndef CONFIG_NSS_DRV_IPSEC_ENABLE
|
|
|
+-ifndef CONFIG_PACKAGE_kmod-ipsec
|
|
|
+ DRV_MAKE_OPTS += NSS_DRV_IPSEC_ENABLE=n
|
|
|
endif
|
|
|
+-endif
|
|
|
+
|
|
|
+ ifndef CONFIG_NSS_DRV_IPV4_REASM_ENABLE
|
|
|
+ DRV_MAKE_OPTS += NSS_DRV_IPV4_REASM_ENABLE=n
|
|
|
+
|
|
|
+new file mode 100644
|
|
|
+index 0000000000..2456fad245
|
|
|
+--- /dev/null
|
|
|
++++ b/target/linux/qualcommax/patches-6.12/9999-fix-net_dev_struct_check.patch
|
|
|
+@@ -0,0 +1,11 @@
|
|
|
++--- a/net/core/dev.c
|
|
|
+++++ b/net/core/dev.c
|
|
|
++@@ -12105,7 +12105,7 @@ static void __init net_dev_struct_check(void)
|
|
|
++ #ifdef CONFIG_NET_XGRESS
|
|
|
++ CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_tx, tcx_egress);
|
|
|
++ #endif
|
|
|
++- CACHELINE_ASSERT_GROUP_SIZE(struct net_device, net_device_read_tx, 160);
|
|
|
+++ CACHELINE_ASSERT_GROUP_SIZE(struct net_device, net_device_read_tx, 256);
|
|
|
++
|
|
|
++ /* TXRX read-mostly hotpath */
|
|
|
++ CACHELINE_ASSERT_GROUP_MEMBER(struct net_device, net_device_read_txrx, lstats);
|