Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp1001264rwo; Sat, 22 Jul 2023 04:56:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlEBt1oOlwGcjPpkKoEZkviyYasUX8Z3MJ+de40k3k4TxU7Etfojjiqaw7PlmQkYbkrVFrE0 X-Received: by 2002:aa7:cd69:0:b0:51e:126a:403a with SMTP id ca9-20020aa7cd69000000b0051e126a403amr3808931edb.13.1690026961698; Sat, 22 Jul 2023 04:56:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690026961; cv=none; d=google.com; s=arc-20160816; b=Yd3Ds01cgPxLVgOLfPAJByrURDTpNsDorr8n2w89+P9ocrKdE98L+zRzuLQWGIpjxU TYZWYNrGpf4PtHwjOLUDQq7EtiIxong2spVPg60Z+3NSlHmsPjaGgv8AjHaGV08Tn0hR CQv9u5BsXFe12SpI2BWRBe2wSb35/M8IRgKdvjnI2mAUjGR7l05jPJTmsecD0F7VfE1z sSfYw7XIexXWt58wWRg5YJrHWTLms4S6FRsIQN+/k28jDDxliuFW1h4+0hbGLWmO0sck lCSxyosz30CWZ0aOCT27LqlhrYz/DFT8mHrA2x8J6/croUfL2vr+tTjWMA04upgk63fr OuwQ== 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=gpMai+RGZVHO11XO50XWI3/EZ38TmKbr58h9zhvA2Ng=; fh=yi6+dM7dkLuj9lyqDHYLnT6cgkDqBvusziBuZXWCYdo=; b=P6v0DM7Z+XqnS3QFPG7XWbSJBup0QIN5o5N7dlsDxMPIdfXpZUR7QkUf5j4o3mZixR 43ZWBxXdS5oqwecwekp8Z2RKpbB45snYOyhjcW7LgVOtAR5iV7zVDEIgZ0x2LzmqJ1dV kMKdyg6w/INc9By6T8KDSXBCHxMDs/vTDTJcb/uLJ0mz4bGPUsTfrGdsqg4BsxtIidDX UKOi2JWYWeUGcByN9Ne8ZBY9QVlXLoRbAbkflmFyKFLb6XD5lCRIkMKA8Uuw72Gb+yOu fd1tuVWRnbIRaMvuflJ6UxJhJ9LGouQw+OIZlV2rqSLrQISujmQVLYIiJ7+vTBEI3hxz Q08A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=wLJ2lxgj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d18-20020aa7ce12000000b0051e48d89c4esi3697137edv.690.2023.07.22.04.55.38; Sat, 22 Jul 2023 04:56:01 -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=wLJ2lxgj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229625AbjGVLxJ (ORCPT + 99 others); Sat, 22 Jul 2023 07:53:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbjGVLxI (ORCPT ); Sat, 22 Jul 2023 07:53:08 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C7D93AB8; Sat, 22 Jul 2023 04:52:48 -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=gpMai+RGZVHO11XO50XWI3/EZ38TmKbr58h9zhvA2Ng=; b=wLJ2lxgjKeS0A5E5folJrJ1QmX ENdR+hijE1xMd2fkD0roQAMmMydabk+nSI7LKbibanWBfivtAqYdo2MPw2uXJS7Xi1zL+bi3nQCvr SfZt/5QFdOl4ZT+uNXsALE4jOzaFpKUEcrtH3xBCKQJMn5RoLiGx4IWeF28Li2DxgUaY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qNBA9-001vyL-VK; Sat, 22 Jul 2023 13:52:41 +0200 Date: Sat, 22 Jul 2023 13:52:41 +0200 From: Andrew Lunn To: Tristram.Ha@microchip.com Cc: o.rempel@pengutronix.de, kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, Woojung.Huh@microchip.com, linux@armlinux.org.uk, devicetree@vger.kernel.org, pabeni@redhat.com, kuba@kernel.org, davem@davemloft.net, Arun.Ramadoss@microchip.com, edumazet@google.com, f.fainelli@gmail.com, conor+dt@kernel.org, olteanv@gmail.com, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org Subject: Re: [PATCH net-next v2 6/6] net: dsa: microchip: ksz9477: make switch MAC address configurable Message-ID: <95007aa6-a09b-4a05-93cb-65db405a2549@lunn.ch> References: <20230721135501.1464455-1-o.rempel@pengutronix.de> <20230721135501.1464455-7-o.rempel@pengutronix.de> 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,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,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 > The DSA driver used to have an API to set the MAC address to the switch, > but it was removed because nobody used it. That is a long time ago, when Marvell was about the only supported vendor. As far as i understood, it was used to set the MAC source address used when sending pause frames. But since pause frames are link local by definition, and the switches had a reasonable default, it was removed. Andrew