Qualcomm Fast Path For LEDE

Okay, try to apply https://github.com/dissent1/r7800/commit/28c94f5c04eb554e2fc9a6bccc628cfb9b05f758 on top
You have applied my that commit as a whole with config-4.9 changes, right?

edit: I've might have figured out why fast-classifier doesn't operate along with sfe-cm. Commit in my post should solve the issue for you, it's presumably the same source of the problem.

Sorry I've asked, but is this upstreamable? Anyone working on it?

I'm not sure at all that you 2 are talking about the repo :slight_smile:

I am trying to understand:
What builds benefit from any of the FastPath builds?
Specifically, is the FastPath patch applied to the x86_64 image\tree?

Size of 1249 went down to 6 again, so it's good (I restored bunch of browser sessions that time to see what's going on).
As someone else alredy asked: can you make a patch for the current 17.01 branch? I'm pretty sure even more people would try it out.
Of course I understand that it's more work, so feel free to say no :slight_smile:
Thanks

k4.4 and k4.9. Haven't tested if patches for k4.4 apply without errors, but it should.
Fixed a compiler bug when module didn't load. You should choose fast-classifier only. Please test.

https://github.com/dissent1/r7800/commit/02d852b51b52d2b8bbd7fb501fb37d519638a4ec

I suppose we'll get it upstream eventually after some cleanup.

Tried to compile shortcut-fe for AR71xx target(kernel 4.4):

$ git fetch https://github.com/dissent1/r7800.git sta62
$ git cherry-pick b354fad4bd240ee623e758c453a660ad962cf64b
$ make menuconfig
tmp/.config-package.in:10347:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10347:	symbol PACKAGE_kmod-fast-classifier depends on PACKAGE_kmod-shortcut-fe-cm
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:10793:	symbol PACKAGE_kmod-shortcut-fe-cm depends on PACKAGE_kmod-fast-classifier
$ make
...
/home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/sfe_cm.c: In function 'sfe_cm_sync_rule':
/home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/sfe_cm.c:825:15: error: invalid operands to binary + (have 'struct timer_list' and 'u64 {aka long long unsigned int}')
   ct->timeout += sis->delta_jiffies;
           ^
/home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/sfe_cm.c:888:19: error: 'nfct_time_stamp' undeclared (first use in this function)
     ct->timeout = nfct_time_stamp + timeouts[UDP_CT_REPLIED];
...

After delete shortcut-fe-cm related code, I can compile the image. But the fast_classifier kmod did not load:

# lsmod|grep -E 'shortcut|fast'
shortcut_fe            51225  0 
shortcut_fe_ipv6       52249  0
# dmesg | grep fast
[   16.956129] fast_classifier: Unknown symbol fast_nat_recv (err 0)
[   17.041386] fast_classifier: Unknown symbol fast_nat_recv (err 0)
[   17.056936] fast_classifier: Unknown symbol fast_nat_recv (err 0)
[   17.222917] fast_classifier: Unknown symbol fast_nat_recv (err 0)
[   17.231083] fast_classifier: Unknown symbol fast_nat_recv (err 0)
[   17.242967] kmodloader: - fast-classifier - 0

Fixed, updated the link in previous post. Sorry I have been in a hurry while adding k4.4.

Edit: cross-dependency is on purpose - it's cross-conflicts actually.

$ git cherry-pick 02d852b51b52d2b8bbd7fb501fb37d519638a4ec
$ make clean
$ make

Compile succeeded, but fast-classifier kmod did not load again, with a different error:

# dmesg | grep fast
[   17.909261] fast-classifier: starting up
[   17.993288] fast-classifier: starting up
[   18.008069] fast-classifier: starting up
[   18.173051] fast-classifier: starting up
[   18.180362] fast-classifier: starting up
[   18.190829] kmodloader: - fast-classifier - 0

Looks like the some problem as @davidzodelin described in Qualcomm Fast Path For LEDE

Interesting, are you using gcc 5.x version? Remove sfe-cm code as you did before and try again please, seems like a compiler linker problem, I cannot reproduce it in my environment.

In my case I use gcc 7.x, now I will try a new compilation with the new commit and see the results. But in the previous compilation when executing "insmod fast-classifier.ko" inside the directory /lib/modules/4.9.37/ it says: "insmod: ERROR: could not insert module fast-classifier.ko"

How do I tell?

$ make package/shortcut-fe/{clean,compile} V=s
...
... LDFLAGS="-L/home/azuwis/src/lede/staging_dir/target-mips_24kc_musl/usr/lib -L/home/azuwis/src/lede/staging_dir/target-mips_24kc_musl/lib -L/home/azuwis/src/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/usr/lib -L/home/azuwis/src/lede/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl/lib -znow -zrelro " ...
...

Does this mean i'm using gcc 5.x? I'm using LEDE git 1ab227d as the base with the shortcut-fe cherry pick.

Yes, but @davidzodelin uses 7.x as do I. While I don't encounter any problem he does, so it's not compiler. Remove the sfe_cm.o and shortcut-fe-cm.o from makefile and try again please to narrow the issue.

edit: 1 of devs has tested it on mips34kc target - works as intended. Do you guys both have mips24kc?

That's pretty good news, thanks! I'll try out during the weekend on Archer C5 v1.2, using current 17.01 branch(is kernel version 4.71 in it?)
Btw, what does that bridge setting do in real world? is it have to be enabled by default?

Remove the sfe_cm.o and shortcut-fe-cm.o from makefile, but the problem still exists.

SoC is AR9344, compiling target is mipsel_24kc.

# cat /proc/cpuinfo 
system type		: Atheros AR9344 rev 2
machine			: TP-LINK TL-WDR3600/4300/4310
processor		: 0
cpu model		: MIPS 74Kc V4.12
BogoMIPS		: 339.14
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp dsp2
shadow register sets	: 1
kscratch registers	: 0
package			: 0
core			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

The command "zcat /proc/config.gz" but the symbol "SHORTCUT_FE" is not present. I think the cause of not loading the fast-classifier module can be because of this? What do you think?

PD: This is in a previous compilation. In this moment i am compile with commit 02d852b51b52d2b8bbd7fb501fb37d519638a4ec, but when I run make defconfig it shows 2 messages of dependency problems

No, that should be so.
Could you apply a debug commit on top of my main commit to see at what function in breaks? And please provide a syslog
https://github.com/dissent1/r7800/commit/a95d793069ad18cd8d88e0163249de36939d140a

Found a typo here, The last : in line 683 of fast-classifier.c should be replaced with ,

Edit: Got the debug log:

[   17.523150] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1675]: INFO:hash initialized
[   17.536514] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1686]: INFO:initializing sysfs
[   17.550049] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1697]: INFO:setting notifier device
[   17.564014] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1711]: INFO:registering netfilter hooks
[   17.578313] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1733]: INFO:registering notifier hook
[   17.592422] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1737]: ERROR:can't register nf notifier hook: -16
[   17.751829] fast-classifier: starting up

Hmm, what packages do you have installed apart from default? And could you provide diffconfig?

$ ./scripts/diffconfig.sh
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_DEVICE_mw4530r-v1=y
CONFIG_FREERADIUS3_OPENSSL=y
CONFIG_KERNEL_BUILD_DOMAIN="builds"
CONFIG_KERNEL_BUILD_USER="buildbot"
CONFIG_LIBCURL_COOKIES=y
CONFIG_LIBCURL_FILE=y
CONFIG_LIBCURL_FTP=y
CONFIG_LIBCURL_HTTP=y
CONFIG_LIBCURL_MBEDTLS=y
CONFIG_LIBCURL_NO_SMB="!"
CONFIG_LIBCURL_PROXY=y
CONFIG_LIBSODIUM_MINIMAL=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_EC=y
CONFIG_OPENSSL_WITH_NPN=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_PACKAGE_adblock=y
CONFIG_PACKAGE_ca-bundle=y
CONFIG_PACKAGE_curl=y
CONFIG_PACKAGE_ddns-scripts=y
CONFIG_PACKAGE_diffutils=y
# CONFIG_PACKAGE_dnsmasq is not set
CONFIG_PACKAGE_dnsmasq-full=y
CONFIG_PACKAGE_dnsmasq_full_ipset=y
CONFIG_PACKAGE_dnsmasq_full_noid=y
CONFIG_PACKAGE_freeradius3=y
CONFIG_PACKAGE_freeradius3-common=y
CONFIG_PACKAGE_freeradius3-mod-always=y
CONFIG_PACKAGE_freeradius3-mod-attr-filter=y
CONFIG_PACKAGE_freeradius3-mod-eap=y
CONFIG_PACKAGE_freeradius3-mod-eap-mschapv2=y
CONFIG_PACKAGE_freeradius3-mod-eap-peap=y
CONFIG_PACKAGE_freeradius3-mod-eap-tls=y
CONFIG_PACKAGE_freeradius3-mod-files=y
CONFIG_PACKAGE_freeradius3-mod-mschap=y
CONFIG_PACKAGE_ip-tiny=y
CONFIG_PACKAGE_ipset=y
CONFIG_PACKAGE_iptables-mod-conntrack-extra=y
CONFIG_PACKAGE_iptables-mod-ipopt=y
CONFIG_PACKAGE_iptables-mod-tproxy=y
CONFIG_PACKAGE_kmod-fast-classifier=y
CONFIG_PACKAGE_kmod-ifb=y
CONFIG_PACKAGE_kmod-ipt-conntrack-extra=y
CONFIG_PACKAGE_kmod-ipt-ipopt=y
CONFIG_PACKAGE_kmod-ipt-ipset=y
CONFIG_PACKAGE_kmod-ipt-tproxy=y
CONFIG_PACKAGE_kmod-macvlan=y
CONFIG_PACKAGE_kmod-nf-conntrack-netlink=y
CONFIG_PACKAGE_kmod-nfnetlink=y
CONFIG_PACKAGE_kmod-sched-cake=y
CONFIG_PACKAGE_kmod-sched-core=y
CONFIG_PACKAGE_kmod-shortcut-fe=y
CONFIG_PACKAGE_libattr=y
CONFIG_PACKAGE_libcap=y
CONFIG_PACKAGE_libcurl=y
CONFIG_PACKAGE_libev=y
CONFIG_PACKAGE_libmbedtls=y
CONFIG_PACKAGE_libmnl=y
CONFIG_PACKAGE_libncurses=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libpcap=y
CONFIG_PACKAGE_libpcre=y
CONFIG_PACKAGE_libreadline=y
CONFIG_PACKAGE_librt=y
CONFIG_PACKAGE_libsodium=y
CONFIG_PACKAGE_libtalloc=y
CONFIG_PACKAGE_libudns=y
CONFIG_PACKAGE_libunbound=y
CONFIG_PACKAGE_libustream-openssl=y
CONFIG_PACKAGE_libuuid=y
CONFIG_PACKAGE_mac-telnet-client=y
CONFIG_PACKAGE_mac-telnet-discover=y
CONFIG_PACKAGE_miniupnpd=y
CONFIG_PACKAGE_mwan3=y
CONFIG_PACKAGE_nlbwmon=y
CONFIG_PACKAGE_sqm-scripts=y
CONFIG_PACKAGE_tc=y
CONFIG_PACKAGE_tcpdump=y
CONFIG_PACKAGE_terminfo=y
CONFIG_PACKAGE_unbound=y
CONFIG_PACKAGE_watchcat=y
CONFIG_PACKAGE_wpa-cli=y
CONFIG_PACKAGE_wpad=y
# CONFIG_PACKAGE_wpad-mini is not set
CONFIG_PACKAGE_zlib=y
CONFIG_WPA_MSG_MIN_PRIORITY=1
CONFIG_WPA_SUPPLICANT_OPENSSL=y
# CONFIG_PACKAGE_dnsmasq_full_auth is not set
# CONFIG_PACKAGE_dnsmasq_full_conntrack is not set
# CONFIG_PACKAGE_dnsmasq_full_dhcpv6 is not set
# CONFIG_PACKAGE_dnsmasq_full_dnssec is not set
# CONFIG_PACKAGE_libgmp is not set
# CONFIG_PACKAGE_libnetfilter-conntrack is not set
# CONFIG_PACKAGE_libnettle is not set
# CONFIG_PACKAGE_libnfnetlink is not set

Looks like nlbwmon conflicts with shortcut-fe, after:

# /etc/init.d/nlbwmon stop
# modprobe fast-classifier
1 module could not be probed
- fast-classifier

Fast-classifier worked for a moment according to dmesg:

[ 1036.086252] fast-classifier: starting up
[ 1036.090346] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1671]: INFO:SFE CM init
[ 1036.103333] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1675]: INFO:hash initialized
[ 1036.116733] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1686]: INFO:initializing sysfs
[ 1036.130280] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1697]: INFO:setting notifier device
[ 1036.144246] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1711]: INFO:registering netfilter hooks
[ 1036.158557] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1733]: INFO:registering notifier hook
[ 1036.172692] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1737]: ERROR:can't register nf notifier hook: -16
[ 1036.188575] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[929]: TRACE:POST_ROUTE: checking new connection: 17 src_ip: (invalid address) dst_ip: (invalid address), src_port: 56289, dst_port: 60903
[ 1036.211562] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[573]: TRACE:connection not found
[ 1036.225285] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1055]: TRACE:SKB MARK NON ZERO 100
[ 1036.239141] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1068]: TRACE:Source MAC=xx:xx:xx:xx:xx:xx
[ 1036.253607] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[573]: TRACE:connection not found
[ 1036.267282] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[661]: TRACE: -> adding item to sfe_connections, new size: 1
[ 1036.283353] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[664]: TRACE:new offloadable: key: 1345872703 proto: 17 src_ip: (invalid address) dst_ip: (invalid address), src_port: 56289, dst_port: 60903
[ 1036.306712] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[929]: TRACE:POST_ROUTE: checking new connection: 17 src_ip: (invalid address) dst_ip: (invalid address), src_port: 59832, dst_port: 60900
[ 1036.329677] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[573]: TRACE:connection not found
[ 1036.343379] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1055]: TRACE:SKB MARK NON ZERO 100
[ 1036.357236] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1068]: TRACE:Source MAC=xx:xx:xx:xx:xx:xx
[ 1036.371708] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[573]: TRACE:connection not found
[ 1036.385378] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[661]: TRACE: -> adding item to sfe_connections, new size: 2
[ 1036.401433] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[664]: TRACE:new offloadable: key: 2597369207 proto: 17 src_ip: (invalid address) dst_ip: (invalid address), src_port: 59832, dst_port: 60900
[ 1036.424785] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[929]: TRACE:POST_ROUTE: checking new connection: 17 src_ip: (invalid address) dst_ip: (invalid address), src_port: 55304, dst_port: 60904
[ 1036.447746] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[573]: TRACE:connection not found
[ 1036.461451] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1055]: TRACE:SKB MARK NON ZERO 100
[ 1036.475306] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1068]: TRACE:Source MAC=xx:xx:xx:xx:xx:xx
[ 1036.489789] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[573]: TRACE:connection not found
[ 1036.503466] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[661]: TRACE: -> adding item to sfe_connections, new size: 3
[ 1036.519522] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[664]: TRACE:new offloadable: key: 1345806875 proto: 17 src_ip: (invalid address) dst_ip: (invalid address), src_port: 55304, dst_port: 60904
[ 1036.542864] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[929]: TRACE:POST_ROUTE: checking new connection: 17 src_ip: (invalid address) dst_ip: (invalid address), src_port: 33575, dst_port: 60902
[ 1036.565825] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[573]: TRACE:connection not found
[ 1036.579548] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1055]: TRACE:SKB MARK NON ZERO ff00
[ 1036.593498] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1068]: TRACE:Source MAC=xx:xx:xx:xx:xx:xx
[ 1036.607966] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[573]: TRACE:connection not found
[ 1036.621641] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[661]: TRACE: -> adding item to sfe_connections, new size: 4
[ 1036.637690] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[664]: TRACE:new offloadable: key: 1345910229 proto: 17 src_ip: (invalid address) dst_ip: (invalid address), src_port: 33575, dst_port: 60902
[ 1036.661035] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[929]: TRACE:POST_ROUTE: checking new connection: 17 src_ip: (invalid address) dst_ip: (invalid address), src_port: 45043, dst_port: 60901
[ 1036.684000] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[573]: TRACE:connection not found
[ 1036.697712] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1055]: TRACE:SKB MARK NON ZERO 100
[ 1036.711568] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1068]: TRACE:Source MAC=xx:xx:xx:xx:xx:xx
[ 1036.726037] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[573]: TRACE:connection not found
[ 1036.739716] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[661]: TRACE: -> adding item to sfe_connections, new size: 5
[ 1036.755760] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[664]: TRACE:new offloadable: key: 2597146387 proto: 17 src_ip: (invalid address) dst_ip: (invalid address), src_port: 45043, dst_port: 60901

But it unload itself:

# lsmod | grep fast

Modprobe again:

# modprobe fast-classifier

1 module could not be probed

  • fast-classifier

Dmesg:

[ 1289.859250] fast-classifier: starting up
[ 1289.863290] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1671]: INFO:SFE CM init
[ 1289.876301] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1675]: INFO:hash initialized
[ 1289.889678] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1686]: INFO:initializing sysfs
[ 1289.903207] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1697]: INFO:setting notifier device
[ 1289.917180] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1711]: INFO:registering netfilter hooks
[ 1289.931480] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1733]: INFO:registering notifier hook
[ 1289.945600] /home/azuwis/src/lede/build_dir/target-mips_24kc_musl/linux-ar71xx_generic/shortcut-fe/fast-classifier.c[1737]: ERROR:can't register nf notifier hook: -16