[PATCH] netifd: exclude 20-smp-packet-steering on bcm53xx

Rafał Miłecki zajec5 at gmail.com
Thu Feb 2 12:29:31 PST 2023


On 2.02.2023 19:56, John Crispin wrote:
> northstar could ship a uci-defaults script to populate UCI for line 37 -->
> 
> https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/network/config/netifd/files/etc/hotplug.d/net/20-smp-packet-steering;h=8a86bf75f60040e97a7779628afb0993aee87c50;hb=HEAD#l37

bcm53xx's script actually uses network. at globals[0].packet_steering on
its own. It's on purpose as it's exactly what that script does - it
steers packets across CPUs. It makes it also compatible with existing
UIs which allow setting packet_steering.

It's a matter of target specific steering which gives better results
than the generic one. I also don't think we can write a global script
that will handle perfectly all targets. That is too device specific.

For details see:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=fcbd39689ebfef20c62fe3882d51f3af765e8028



More information about the openwrt-devel mailing list