From: Rafał Miłecki <ra...@milecki.pl> bcm53xx comes with custom (more optimized) packet steering. A race between two scripts was resulting in varying network performance.
Ref: fcbd39689ebf ("bcm53xx: enable & setup packet steering") Signed-off-by: Rafał Miłecki <ra...@milecki.pl> --- Is this an acceptable method to handle this? --- package/network/config/netifd/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/network/config/netifd/Makefile b/package/network/config/netifd/Makefile index 500daaa152..dac325004c 100644 --- a/package/network/config/netifd/Makefile +++ b/package/network/config/netifd/Makefile @@ -45,6 +45,10 @@ define Package/netifd/install $(CP) ./files/* $(1)/ $(INSTALL_DIR) $(1)/etc/udhcpc.user.d/ $(CP) $(PKG_BUILD_DIR)/scripts/* $(1)/lib/netifd/ +ifneq ($(CONFIG_TARGET_bcm53xx),y) + $(INSTALL_DIR) $(1)/etc/hotplug.d/net + $(CP) ./files/20-smp-packet-steering $(1)/etc/hotplug.d/net/ +endif endef $(eval $(call BuildPackage,netifd)) -- 2.34.1 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel