@@ -482,10 +482,6 @@ static bool sfe_recv_parse_l2(struct net_device *dev, struct sk_buff *skb, struc return false; }sfe_l2_parse_flag_set(l2_info, SFE_L2_PARSE_FLAGS_PPPOE_INGRESS); sfe_l2_pppoe_hdr_offset_set(l2_info, (skb->data - skb->head)); ...
#NSS support bridge acceleration [ -d /sys/kernel/debug/ecm/ecm_nss_ipv4 ] && return 0 #SFE doesn't support bridge acceleration [ -d /sys/kernel/debug/ecm/ecm_sfe_ipv4 ] && return 1 } load_sfe() { local kernel_version=$(uname -r) @@ -74,17 +67,9 @@ load_ecm() { ...
+++ b/frontends/sfe/ecm_sfe_ipv4.c @@ -562,7 +562,8 @@sync_conntrack: @@ -563,7 +563,8 @@sync_conntrack: #else timeouts = nf_ct_timeout_lookup(ct); if (!timeouts) { Expand Down 4 changes: 2 additions & 2 deletions4qca-nss-ecm/patches/0010-ecm_interface-fix-ppp-generic-...
#If SFE CM is loaded, return. if[-d/sys/module/shortcut_fe_cm ];then echo"shortcut_fe CM is loaded, unload it first" echo"cmd: /etc/init.d/shortcut_fe stop" return fi load_ecm #If the acceleration engine is NSS, enable wifi redirect. ...