From 5424eb728cb2d553e8dd33d88c8a543ea321ea44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Bl=C3=A4se?= Date: Thu, 3 Mar 2022 22:01:45 +0100 Subject: [PATCH] fff-network: restore accidentally removed packet_steering option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With the recent rework of the network configuration, any existing configuration is dropped in a uci-defaults script (22-network-base) and generated from scratch. When rebasing this rather old patchset, the packet_steering option was overlooked, so it is missing now. Restore the removed packet_steering option by setting it using a dedicated uci-defaults script. Signed-off-by: Fabian Bläse Reviewed-by: Robert Langhammer --- .../files/etc/uci-defaults/50-packet-steering | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/packages/fff/fff-network/files/etc/uci-defaults/50-packet-steering diff --git a/src/packages/fff/fff-network/files/etc/uci-defaults/50-packet-steering b/src/packages/fff/fff-network/files/etc/uci-defaults/50-packet-steering new file mode 100644 index 00000000..1427573d --- /dev/null +++ b/src/packages/fff/fff-network/files/etc/uci-defaults/50-packet-steering @@ -0,0 +1,10 @@ +#!/bin/sh +# SPDX-License-Identifier: GPL-3.0-or-later + +# Enable RPS +uci batch <<-__EOF__ + set network.globals=globals + set network.globals.packet_steering='1' +__EOF__ + +uci -q commit network