Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1594720rwd; Tue, 13 Jun 2023 11:12:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7fgxqbwWNyZ3Aei3G1USmNGNmpYC96KQ5g5BjRH6PfyFbvXwAp9HIaORvXPByhMalAb0k9 X-Received: by 2002:a17:90a:be11:b0:25c:2a61:2dcd with SMTP id a17-20020a17090abe1100b0025c2a612dcdmr1096244pjs.2.1686679938197; Tue, 13 Jun 2023 11:12:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686679938; cv=none; d=google.com; s=arc-20160816; b=MQ56y0vSKyz4mp8WeRo6PMpjwJKj87nhdxZ/KjVAfSYgsd5sV9ta5zbRZcwmmQYPk1 Ov0J6iKKp4KcMN+g7EC9vfoWie4lV3EfcXkoC/IlyQdquLcei9tfmMQzzspzPJ72Gi6i 60pITScoo4PkecPmKHLrPxDdoYjaJgFt8p9pz1WYSQsrXUoWjDqcQj9QHQW+TfBX3gtU Hlfz/IUc7S9luh/WvQhYanJMEWTbGMWfCOgaSpRp1OJRQ/cAUMl7XQChQzGN5tfLT5qF xoJC/nA0l+kd72skXuDciKvRd1mBJEPJha7nuIY5+Q9EcyNfq6SEuUE1do7HMErrsyN7 Pl8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:ui-outboundreport:content-transfer-encoding :references:in-reply-to:sensitivity:importance:date:subject:cc:to :from:message-id:mime-version:dkim-signature; bh=ZigiYZJoMQ30F2MLp+pxKoTlTEC81zQmh89oTDunKXc=; b=SFm+NvMfOmaOxRD5yH4PlcqpF/FMzQZzjsjHVJRDVV5uAC1UawPaRNQKkW/F5F7mzw oIduLyWxLmLSOiwCeytYh4mTB/CzJ83qWDXJENqhvgrktDvg2gOLoSSTlfcK7Hvp3KGO Gg7EdW3WfhYksLo+xIDLC3n/bVPc6HfAbBORxH5jRmr7pId1a1G+9KqsDYj/nwwhvzNR BMN6A8SRPcHhvLI3b3xsWb3kKCKTFMaDi5C2xR4yZjCTZiBdUg3FXoFu61IvWhb0nPj0 ODFyUxJmfFaXLHWZ4Ybz8a9Oag+fyw2FKrLmEHNkYjF7+HwAslhWZQQq1+UrSOFEDEen oWZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@public-files.de header.s=s31663417 header.b=cM9pl0hW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id oc8-20020a17090b1c0800b0025943bb2873si9730571pjb.136.2023.06.13.11.12.04; Tue, 13 Jun 2023 11:12:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@public-files.de header.s=s31663417 header.b=cM9pl0hW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236376AbjFMRxI (ORCPT + 99 others); Tue, 13 Jun 2023 13:53:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjFMRxF (ORCPT ); Tue, 13 Jun 2023 13:53:05 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE78E10F6; Tue, 13 Jun 2023 10:52:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=public-files.de; s=s31663417; t=1686678740; x=1687283540; i=frank-w@public-files.de; bh=ZigiYZJoMQ30F2MLp+pxKoTlTEC81zQmh89oTDunKXc=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=cM9pl0hWQFpHOw4HEi/vmjQuZ3YTZmMNSwZe9Vuk9JOxB3CUZbBUoEevqoRylla9ZOkyoMO bOmLa93yddI9tiFt+Jk9b2PH31VWxes2M907imvo9ELNoOWKnY/5dV6u7IBsGdUySTufhbv5F FLyTPN6DXAuDsKHQxvWMcLeVxHKF/RLT6WtuXWYIgvXNdu3seKei91vV6D+jsDN8Rgqc5ZFC2 4GL6BwD7sYj9cJ+5R48OTMS6rSd/+0TIcQL4Kz9vkJnst4KvJZWNDWLtAbU3DRdMME6p1/6ml EArd1yhjWPQRoUul9mZ0J/PknuYs3ILtbLVHZzBOZQBcJuRZt9xg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [217.61.149.4] ([217.61.149.4]) by web-mail.gmx.net (3c-app-gmx-bap45.server.lan [172.19.172.115]) (via HTTP); Tue, 13 Jun 2023 19:52:20 +0200 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Vladimir Oltean Cc: =?UTF-8?Q?Ar=C4=B1n=C3=A7_=C3=9CNAL?= , Daniel Golle , Landen Chao , DENG Qingfang , Sean Wang , Andrew Lunn , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , Bartel Eerdekens , mithat.guner@xeront.com, erkin.bozoglu@xeront.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Aw: Re: [PATCH net v2 2/7] net: dsa: mt7530: fix trapping frames with multiple CPU ports on MT7530 Content-Type: text/plain; charset=UTF-8 Date: Tue, 13 Jun 2023 19:52:20 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <20230613171858.ybhtlwxqwp7gyrfs@skbuf> References: <20230611081547.26747-1-arinc.unal@arinc9.com> <20230611081547.26747-2-arinc.unal@arinc9.com> <20230613150815.67uoz3cvvwgmhdp2@skbuf> <20230613171858.ybhtlwxqwp7gyrfs@skbuf> Content-Transfer-Encoding: quoted-printable X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:jggrxmZjmJDSj7Yc4T0jkrjBt3MAF/uwXCMxy3haSJShvuHfS6IGYN48RD8rHQ7jUK1BI oHgPQLituXgFRd8am6bM9tTROWD6veOT9NhPw+VdMCEcDX8auybulmct/op8qY5EI73nU1HYd76N yGIduMdQXcV/eF5FJa0+FI22jwFa6Vs4RrVgN7tZInntDlJeor/NCK9qlD8RYwmvEg8yvPO/hnkb 5slOVcuwhIihioOjPD3DoBQIKR/hiDRLM6Z7eF0dgKeWwy7Q7sEJwXmrOsTBG5yzhKeJd2iDMBa6 vw= UI-OutboundReport: notjunk:1;M01:P0:b5XNck1g0f8=;+CjfVvZ8bFxtq7g+dnwJjCQCpNR qmAF7ktbxXk1A5l2U3wHOcrUnqYhcvM9tOmkiSVS2LmdIU5mExQjLBY6rkkfvajPL0aEYsemd m1XhiHL4jTrMI1JYDM3GoXlgFcEqk8piyZonWrkS0v+LWcmeI0OKDnSaWSx2hcRr5bAJmLoh/ ASm9Iqw8/uspEmZfh+VJxaNjw4QA3wy6UE690XpbNbzzTb7J0BoRKYxTyhzyDQI3F7EJ9r3eY 5dfaByvPNjhSsG6DQTU4xmN6JVbgi/JA8zvaoKZQ+STO8JO+AdjFAZXx1AaitcQcQ6dsHpwY/ ekEpnSwxaGWJhWob8+j/DmdLvkDQBMPsmKO94ezij00IB3W9hBVWBVy7ZsQm+kBT+5u6yoOaL 1i5c9HES6c949540FRyJ1gmgvrzpXGL1LP6ZdYTPWiSlDbBHVOj9gfYDpXwd+k6ichTBwpx13 aVMhZQipB5jVgxH9Pahy1dV3apI1j8ikPHdBcdzNrryN4VUx6qiDrak+QVLseyHyU3h/hECIz 19r08MIKuL8SuDoQ/h3Bm+utkZ1k45jo3vAUPSQVRXagV8viv0o1r8QodL1o3Zr3W/1yx2PtL snlCP0ZNqZdL/46KMcQ+xBGoLwSW1kKmw+VBbXOhcj+xN55GF6oS202L8QhELphsk7rcnrPgG +jEOOgi8ueidRonwzbrNDIfKl48JOCeRdSdspuUUL/JscPmUcjyVf3YGeg0iNmONg64Yzrvk9 KWGXJ3FybKKMZ+wyGzUTLqFHGcaqxf5XdBk6uQyn7c4jztX7btv0c0OT50dUe4Fm8dFbzF5ts IkZGvp/TCV7x9zmEnFKIMcjA== X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi > Gesendet: Dienstag, 13=2E Juni 2023 um 19:18 Uhr > Von: "Vladimir Oltean" > On Tue, Jun 13, 2023 at 08:14:35PM +0300, Ar=C4=B1n=C3=A7 =C3=9CNAL wrot= e: > > Actually, having only "net: dsa: introduce preferred_default_local_cpu= _port > > and use on MT7530" backported is an enough solution for the current st= able > > kernels=2E > >=20 > > When multiple CPU ports are defined on the devicetree, the CPU_PORT bi= ts > > will be set to port 6=2E The active CPU port will also be port 6=2E > >=20 > > This would only become an issue with the changing the DSA conduit supp= ort=2E > > But that's never going to happen as this patch will always be on the k= ernels > > that support changing the DSA conduit=2E >=20 > Aha, ok=2E I thought that device trees with CPU port 5 exclusively defin= ed > also exist in the wild=2E If not, and this patch fixes a theoretical onl= y > issue, then it is net-next material=2E BananaPi R2Pro (Rockchip rk3568 arm64) has currently port5 only=2E And the= re only port5 is connected to the SoC (so port6 is not added there)=2E Most boards using port6 at the moment=2E regards Frank