From patchwork Tue Oct 15 10:13:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Evan Jobling X-Patchwork-Id: 1997292 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=GxzCyTpY; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XSVMn0rBYz1xvy for ; Tue, 15 Oct 2024 21:15:01 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type:List-Help: Reply-To:List-Archive:List-Unsubscribe:List-Subscribe:From:List-Post:List-Id: Message-ID:MIME-Version:To:Subject:Date:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=iAtssvGi82cVhLvVriJYJlZoR6u0fkwnmyaG+Zyyc30=; b=GxzCyTpYTN0wzT9EhzJBua59QF HF5idJ3DPRIwrZ3gY5NtOCNO/R9M//UwRCeBiBKC2MX+mpvxSrSmWrlKP2ZqWsYlWYooKa/RNxoZS wxQwzpaYfJh8DXZLYRPkybx1znXE+jdJ4Xj3w2ZxqFFbD1l4ezPY9pcAbqJxRAWveXXpoxsQdiL/4 NksWbHolqw4yrs8hxnqMK5Q+XUwPACgCvWTfDEDyPHbOnYpHxjjq1v0a39ciz8hpzjCPpQbFCmH9+ f/mdckeHyQ8ZTgTV9u3sUa3z+7IG9HppZNabkXuouZoteJA70ZwyVx3ju8VsTSIVfpYtKGXt4dPfD JNK82jXw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t0eYv-00000007n4t-0OhU; Tue, 15 Oct 2024 10:13:57 +0000 Date: Tue, 15 Oct 2024 21:13:50 +1100 Subject: [PATCH 5/5] qoriq: m300 switchport interface assignment order. To: openwrt-devel MIME-Version: 1.0 Message-ID: List-Id: OpenWrt Development List List-Post: X-Patchwork-Original-From: Evan Jobling via openwrt-devel From: Evan Jobling Precedence: list X-Mailman-Version: 2.1.34 X-BeenThere: openwrt-devel@lists.openwrt.org List-Subscribe: , List-Unsubscribe: , List-Archive: Reply-To: Evan Jobling List-Help: Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software. before interface assignments in /etc/config/network were out of order. Now order is correct. i.e. before: config interface 'wan' config interface 'wan6' config interface 'eth2' config interface 'eth7' config interface 'eth5' config interface 'eth3' config interface 'eth6' config interface 'eth4' after: config interface 'wan' config interface 'wan6' config interface 'eth2' config interface 'eth3' config interface 'eth4' config interface 'eth5' config interface 'eth6' config interface 'eth7' Signed-off-by: Evan Jobling --- target/linux/qoriq/base-files/etc/board.d/02_network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/qoriq/base-files/etc/board.d/02_network b/target/linux/qoriq/base-files/etc/board.d/02_network index b1f3b2c0ee..9edb9ded7a 100644 --- a/target/linux/qoriq/base-files/etc/board.d/02_network +++ b/target/linux/qoriq/base-files/etc/board.d/02_network @@ -29,7 +29,7 @@ watchguard,firebox-m300) ucidef_set_network_device_label "sw0p4" "eth7" - for eth in $(find /sys/class/net/ -name 'eth[3-7]' -print); do + for eth in "eth3" "eth4" "eth5" "eth6" "eth7"; do device="$(basename "$eth")" wg_set_opt_interface "$device" "${device#eth}" done