forked from freifunk-franken/firmware
Fabian Bläse
44c3328eb4
Receive packet steering (RPS) is a linux feature to improve forwarding performance by distributing the forwarding of packets across multiple cpus. This is necessary for network devices which have less queues than cpu cores. OpenWrt allows to enable RPS easily by setting the global option 'packet_steering' in the network configuration. With earlier OpenWrt versions this option was enabled by default. However, the default value was changed with OpenWrt 21.02. Enable this option agian to improve forwarding performance on routers with multiple cpu cores. Signed-off-by: Fabian Bläse <fabian@blaese.de> Reviewed-by: Johannes Kimmel <fff@bareminimum.eu>
33 lines
606 B
Makefile
33 lines
606 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=fff-network
|
|
PKG_RELEASE:=48
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=base
|
|
CATEGORY:=Freifunk
|
|
TITLE:=Freifunk-Franken network configuration
|
|
URL:=http://www.freifunk-franken.de
|
|
DEPENDS:= \
|
|
+owipcalc \
|
|
+fff-boardname \
|
|
+fff-firewall
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
This package configures the network interfaces
|
|
endef
|
|
|
|
define Build/Compile
|
|
# nothing
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(CP) ./files/* $(1)/
|
|
test -d ./$(ARCH) && $(CP) ./$(ARCH)/* $(1)/etc/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|