Skip to content

platform: don't listen for tc netlink messages

Beniamino Galvani requested to merge bg/tc-no-cache into main

Update nm_platform_qdisc_sync() and nm_platform_tfilter_sync() to avoid looking into the platform cache, so that we no longer require to keep tc and qdiscs in the cache.

There is no API in kernel to retrieve tc objects only for a specific interface, so NM had to receive all tc events, even for unmanaged interfaces. This could cause high CPU usage in some scenarios with any objects.

https://bugzilla.redhat.com/show_bug.cgi?id=1753677

Merge request reports