Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5432357rwn; Mon, 12 Sep 2022 08:59:24 -0700 (PDT) X-Google-Smtp-Source: AA6agR5kCd719EOruyiQvJSF+VTQzFW7dFhGO6tZIDlF175snTPf7Gfw8bvgKXT2ZNpdxB81h5vQ X-Received: by 2002:a17:906:6dd3:b0:742:296d:15c8 with SMTP id j19-20020a1709066dd300b00742296d15c8mr18544529ejt.550.1662998364589; Mon, 12 Sep 2022 08:59:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662998364; cv=none; d=google.com; s=arc-20160816; b=g3YgAsK2Drqk0meUQdOpDTVCNmWENPL8NBymVaUGtzOcpk2e+GiHOPlfUkUcdphkG/ i9XTccmXevj+7mmwefSxxM+2QxQXxPVwqzs2wpoIZT5yFrE1Vw334pchp4OP5hIQn1mS I58FIB2ig1EAQp/dPk/z8mcIs0ToGVyuem7vjRT4EpsJEe3bN7oiMwl04QtMREzOgrgI Eo0XhtxMvZMWA1wM/YIAvhs2cOmx07R6Apt9E1f8Epm8NmZDzci3sl85KUKXbQNC6Ik8 YSTiaotl2dHDx9uJscHDZbLMe0osRFBBizus6PcBfYWNO3K68b8ZSQYHZoUKXIb2FKo5 eOSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=5vF4nOR7okjhrE/WI9Z86whidSR0qc+yOoCcLcC0enw=; b=faHG1UmabQ+KErHyB0kVpjy7HYVI3HhcgALsMMVH+WihIjYUBktsnZ23GGQTf47UKx WJ4HVNgnv9+2olq0saA+FLhz+WHdP5Hm0qhyIIfdJi8FRxyT3U+dVhwY7kGBAGDOEx/c zvj0rBzb6DwDGC9EP9DzSjNRXFdmU0kmEtTfe4E4TCvZ3ugGpmPEOIonLJBj9MHvZht+ sSQoWQ/cK5a8ZhTp9R86v9OlBY3r6vQyS1gMXqWmtDTH+n4Jeo2/R90uWJ6HmmZTtbQb yhbsywLYlXMSnrpSPfA0UM96wXY4sDMMATAeA+NUL+rMIVjEr3EyAGK/QhyR620s/7FH GGvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=diSA+9u3; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e5-20020a170906314500b007415a7031a1si6288133eje.659.2022.09.12.08.58.57; Mon, 12 Sep 2022 08:59:24 -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=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=diSA+9u3; 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=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230309AbiILPdL (ORCPT + 99 others); Mon, 12 Sep 2022 11:33:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229696AbiILPdI (ORCPT ); Mon, 12 Sep 2022 11:33:08 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A167829C81; Mon, 12 Sep 2022 08:33:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=5vF4nOR7okjhrE/WI9Z86whidSR0qc+yOoCcLcC0enw=; b=diSA+9u3Z1hJnF3PkEmLt1Z+Dw VULXwWOrkOZhK5gjSrwU0PpzhoDXP4X6wI9cUJ2RZYz2Vn7tESFZkaU5DK2/mHagnUzWQZcrlJP7d n/TtjxjLZNoApHSZvkzyXA3cNsoTFSzZC/yknWZpYJ3Cg4LUj/ZqEnd+aRomup6okV1sxxIceIcKd ZqHlqpEiZNMounKMwSNU/8tXymmB6hc14gO6RDDu4iBqLCd9LKLvUZUtkKiO1UjtfbcUM6Fn1rc8K S4H5uxnIazS9KGT2+TQnM0KDWSHWV2lzmidwF/1eR0w62j7cBD2nhpT+6YAeNsPbtKWbl040vl1Hv epiBwP4g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:34268) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oXlQl-0001rB-Ts; Mon, 12 Sep 2022 16:33:03 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oXlQh-0008Dq-Pi; Mon, 12 Sep 2022 16:32:59 +0100 Date: Mon, 12 Sep 2022 16:32:59 +0100 From: "Russell King (Oracle)" To: Vladimir Oltean Cc: Colin Foster , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Paolo Abeni , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Florian Fainelli , Vivien Didelot , Andrew Lunn , "UNGLinuxDriver@microchip.com" , Alexandre Belloni , Claudiu Manoil , Lee Jones Subject: Re: [RFC v1 net-next 6/8] net: dsa: felix: populate mac_capabilities for all ports Message-ID: References: <20220911200244.549029-1-colin.foster@in-advantage.com> <20220911200244.549029-7-colin.foster@in-advantage.com> <20220912101621.ttnsxmjmaor2cd7d@skbuf> <20220912114117.l2ufqv5forkpehif@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220912114117.l2ufqv5forkpehif@skbuf> Sender: Russell King (Oracle) 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_NONE,SPF_NONE, 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 On Mon, Sep 12, 2022 at 11:41:18AM +0000, Vladimir Oltean wrote: > On Mon, Sep 12, 2022 at 01:16:21PM +0300, Vladimir Oltean wrote: > > > Therefore, I think you can drop this patch from your series and > > > you won't see any functional change. > > > > This is true. I am also a bit surprised at Colin's choices to > > (b) split the work he submitted such that he populates mac_capabilities > > but does not make any use of it (not call phylink_generic_validate > > from anywhere). We try as much as possible to not leave dead code > > behind in the mainline tree, even if future work is intended to > > bring it to life. I do understand that this is an RFC so the patches > > weren't intended to be applied as is, but it is still confusing to > > review a change which, as you've correctly pointed out, has no > > effect to the git tree as it stands. > > Ah, I retract this comment; after actually looking at all the patches, I > do see that in patch 8/8, Colin does call phylink_generic_validate(). Good point, I obviously missed that in the series. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!