Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"TC classifier not found" when using tc filters

Featured Replies

Running latest armbian buster on nanopi neo plus2 (https://www.armbian.com/nanopi-neo-plus2).

 

Trying to set up a tc filter results in a "Error: TC classifier not found". The error can be reproduced by running:

 

tc qdisc add dev eth0 root handle 1:0 htb default 10
tc class add dev eth0 parent 1:0 classid 1:10 htb rate 200mbit ceil 200mbit burst 15k
tc qdisc add dev eth0 parent 1:10 sfq perturb 10
tc filter add dev eth0 parent 1:10 protocol all handle 0x310 flow hash keys nfct-src divisor 1024

According to https://stackoverflow.com/questions/61799390/enable-tc-of-iproute2-package-on-yocto, the CONFIG_NET_CLS_U32 is missing from the kernel configuration, verified with:

 

zcat /proc/config.gz | grep NET_CLS_U32
# CONFIG_NET_CLS_U32 is not set

 

The CONFIG_NET_CLS_U32 option is usually present in normal linux distributions, can you add it?

Edited by emanuele-f
Add software info

Solved by emanuele-f

25 minutes ago, emanuele-f said:

in normal linux distributions


Armbian is not lika a normal distribution, but very much a special distro for ARM single board computers dividied into (kernel) families to secure maximum performance which sadly bring way bigger maintaning expenses ... then normal - mee too - linux distribution. Its also a build system first. Like Yocto and Buildroot. A distribution is its side outcome and its supported in best effort manner.  And it is also a base for many other mee-too distros that provides some ARM images.

 

25 minutes ago, emanuele-f said:

can you add it?


Also you can save us some time and do that:
https://docs.armbian.com/Process_Contribute/

Here:
https://github.com/armbian/build/blob/master/config/kernel/linux-sunxi64-current.config

and perhaps also elsewhere:
https://github.com/armbian/build/tree/master/config/kernel

  • Author

Thanks for your prompt reply. I can see that the kernel module option is present in other families (e.g. https://github.com/armbian/build/blob/master/config/kernel/linux-rockchip64-current.config) and I assume that adding such option does not introduce a performance impact unless it is manually activated by running the "tc filter add.." command.

 

I can try to build the kernel and the image and provide a pull request but it will take some time as it is my first time building armbian.

14 hours ago, emanuele-f said:

I can see that the kernel module option is present in other families


We are to make them identical but since there so much other - more critical - issues, this is left mainly untouched and synched once per year or so.
 

14 hours ago, emanuele-f said:

I assume that adding such option does not introduce a performance impact

 

I would assume the same, yes.

 

14 hours ago, emanuele-f said:

I can try to build the kernel and the image and provide a pull request but it will take some time as it is my first time building armbian.


There is no urgency. Take your time.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.