Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5049913rwb; Tue, 6 Sep 2022 17:50:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR55PAhd9umaY6tOCBMKanzybxIcx+zGMjqrRUjQ0zVqMdmrrONvm6njGp1dpDHsiNJJ5rCE X-Received: by 2002:a17:90a:c782:b0:1f7:a4ed:11a1 with SMTP id gn2-20020a17090ac78200b001f7a4ed11a1mr1197900pjb.12.1662511808471; Tue, 06 Sep 2022 17:50:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662511808; cv=none; d=google.com; s=arc-20160816; b=sFS/sPzjP7TRohcMaUugZ6HAySTt9JaiK6dvwkROxHNV7kYoNnIKYfFpJVedeGfjTX kbOX8rvuj/ybnT2N+l+J+t5B5CtbRgvJVJPqqQL5Pz1nQAVLnJJOLVMJXR7P/27LSmZH I+Za+hHFZYDvE8jJpaw02NNlk93teboi17rwB6G60Y/xc78ZfaCe8U5gFndJtNocwBe5 jbGGIsfeVEfp3cjhlUtHQQEGLfzDinjpOQxtcnhMKHlrzCyW28GRYqbULTa8gPsylgcH pEKsQ4JbCbjZ+XaZ3pR945V4AlmbLmq0g2QaQaGfgkSD5KMg5vECS37v3fF2NJOgbUbv Qz6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=1w+PiibJZ2yyuhgSvo52DkSUg05XLDMRLXc6gQeov3U=; b=Q4RXllX1eO8QZeM1ufUhemp4yUUaWKr3TbfuBTDJ9s1AFqM9MMINi0J3jtdt7VAMoE sdRoc1yxy4wQRbaRryGHgs0KP978XrMyIVy3iPv2o569ZHCFAzfS7H2JBo5sfK3Jjh8f /Rrr23EXFG9MUwusMxGoKiEsjOoIuE693BafLdLAjkuR3sPfN8q7LbbPc9pFwABG95Xp PVoeWMF6TI/DnHDWGvldu/3e9yjvq+X6QBAoZ6IA9BPlStCd8ATvwj9W7SNDbUzNdJlw wteUMSDynr5+6Re+tGUkzs3fWTgUNaw+N8qKCnlev+1o/vN7eKovB59T6TwO2TBMLNSa 4USQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=okSr5ZQb; 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 v1-20020a17090ac90100b001fe1add9c77si9180044pjt.187.2022.09.06.17.49.56; Tue, 06 Sep 2022 17:50:08 -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=@lunn.ch header.s=20171124 header.b=okSr5ZQb; 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 S229531AbiIGAhf (ORCPT + 99 others); Tue, 6 Sep 2022 20:37:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229459AbiIGAhd (ORCPT ); Tue, 6 Sep 2022 20:37:33 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C5FA85A8B; Tue, 6 Sep 2022 17:37:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=1w+PiibJZ2yyuhgSvo52DkSUg05XLDMRLXc6gQeov3U=; b=okSr5ZQbJBoDHWc3KTd52Jkw/J ojX7oRUowARXyW8mgmxV3NF9Mh8/KAvbqjpOOYu1FmPWYAiM18m92LwTDq/qE58rtBV6Dg/7RAHSS nS3xBKmPrX4tsYUYk/SpVMZSRthhew1WZKsxcxELAuYiYhbhUs+O1Fkmm3xcjEnxTXVQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oVj3R-00Fnzn-ER; Wed, 07 Sep 2022 02:36:33 +0200 Date: Wed, 7 Sep 2022 02:36:33 +0200 From: Andrew Lunn To: Tao Ren Cc: Florian Fainelli , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heyi Guo , Dylan Hung , Guangbin Huang , Liang He , Hao Chen , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , Tao Ren , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 2/2] ARM: dts: aspeed: elbert: Enable mac3 controller Message-ID: References: <20220905235634.20957-1-rentao.bupt@gmail.com> <20220905235634.20957-3-rentao.bupt@gmail.com> <45cdae58-632a-7cbb-c9d5-74c126ba6a3e@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 > Specific to this Elbert platform, we don't have plan to configure > BCM53134 via OpenBMC MDIO (dts), because we expect the switch always > loads configurations from its EEPROM. DSA offers more than configuration. You can also get interface statistics, and knowledge of if an interface is up/down. And since the PHY of the switch becomes normal Linux PHYs, you can do cable testing, if the PHY has support, etc. Do you have spanning tree to break L2 network loops? Linux will provide that as well. However, if you are happy with dumb switch, then what you posted is sufficient. Andrew