Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp5432360rwn; Mon, 12 Sep 2022 08:59:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR7b7KZXXL0rA9U90Py+LZ8D9ZCHX/QBafN5jDtSqpaysS7Ri/PBvKiFYSHsPY1xOSVC1FNt X-Received: by 2002:a05:6402:518d:b0:451:6655:5fb4 with SMTP id q13-20020a056402518d00b0045166555fb4mr8629770edd.150.1662998364856; Mon, 12 Sep 2022 08:59:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662998364; cv=pass; d=google.com; s=arc-20160816; b=AUCKmuFPVpG5NWZ3Osv5B5NWtYtquGHtctNeilN/5fO6+TvEgGNVFKmUwu2z2xXTM6 i2azT51o6uCIFAeFs9oO6BgWSYN62lEbAbEWY8b4F0Fdf8s2T7GUsdnYuCXXQd/ZMjZo unpPI5pXibZzMB5rJplLo8n74pV9+zFE7nI0JJ4r9znimjA0H5agsEMVMhSyrCkqVzG0 Lh1uPSy/z+xtEhsZP5IrZrdUhCmm9cd2Asy2PwGQ2/hwF+V2GHGEvWhxJYp66tMrByGk uzfDrWRlqqf2ewK0U6eT3vqhs8Loc3ej28rv6Z32UALnfbtUG8SbYlPiQXftKnPGmfL3 brdw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vkc//rvnVwA5k5MmUAIRNwTxho+3bCFppPt7KI+LWxQ=; b=ai/6vpqWKcTsQiFDd1GL9U2DzYJhvcTIkN0Sp1DsTxbBEUE5hv8O2dQPOTZ+zNYC5r R9ThfyEM/QXdWc4IqE/B28axBK9QqRZNM0zD/SZ5Z8XhRWkw8et9y4m56iSFX3TczZ9x c7ndYntyj2f+Ss3Q6/oXhyXyQpnsZirgyrDfSvVKRvu6mwdtMSSb5CQoSDtwut3Yr9ye v6fXs/eYX5TRDDLuk0NjMXMdzjTeO9LVA1asxpMyUHf9qE2WGrFOO/SurHY0CYdG0gfm 6fxpxFJ6Z+P7GdnVeMJkMpeu8dhCGoWZi2aEG81zWribcM97ENru7fa+JFKk2XSpyoNY snVA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=Fm2kUVWr; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); 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=in-advantage.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e21-20020a17090658d500b0073da19d0cd2si7396961ejs.737.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=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=Fm2kUVWr; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); 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=in-advantage.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230210AbiILPgT (ORCPT + 99 others); Mon, 12 Sep 2022 11:36:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229736AbiILPgL (ORCPT ); Mon, 12 Sep 2022 11:36:11 -0400 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2114.outbound.protection.outlook.com [40.107.243.114]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D4332E6A1; Mon, 12 Sep 2022 08:36:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nFNE4HIHt44aZZv5TWdmkvlwRVs/dNTeXcZzja3SCEBudVXha2iJU3feGOaAdE2I+iQir8iMwY1Y/pi5yI2ltCpzlDuh1L70vcxEMsGdgN2Blc86jblpXR7+66Cd0ZIWZiin1BhirInvpBG1vjCkhEcCCcztpyqeto7YTXZkEJC/NNSMvMJ9mLDVrWnib5210IUk3gSLbRbtn4qfqFAMASIj1XkIEMze8YYhZfTtK2YqQAwM4U+wFyND+5qqIiHXjctzlubbe3sn0j9rzmWn3wXMxZRM8mcmX/Zp+qixt5Vy5waeh+YnMXVPFZ7ZmpZK/d6pQ/PLOAFmetg7/G3urA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vkc//rvnVwA5k5MmUAIRNwTxho+3bCFppPt7KI+LWxQ=; b=KAodl8v22yf6jSjmiI/MDfIv7A82tPwCwiSFzF0Ua7HIZkIX869BGm7nyv0Wea/yGXt59lKwq+/HB51rQyHc+8vlyqhBj0MqiC8YxBqoS1Gx2D1TOZP3rrmgEg7ub0DdpAg+yh/LRIZf/rI/mqQ9PaZh++zGpk+nDgSE0oTVWKOBfCTUcoRQQcK10CwHpRMvrUw+wJUjALSQ1FwxbsufDCT744Hj8/Hgmovpf/fo94cIbDotTSpAmTSjheemCfxu8BWc9XFyu8381ZB3oBcJtKy3MTxcjnFJG3wqFnO4eLFptGu7VJqpg3zLrpqnudZ8gn52ly3oEh8nKVENgjDe/Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in-advantage.com; dmarc=pass action=none header.from=in-advantage.com; dkim=pass header.d=in-advantage.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inadvantage.onmicrosoft.com; s=selector2-inadvantage-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vkc//rvnVwA5k5MmUAIRNwTxho+3bCFppPt7KI+LWxQ=; b=Fm2kUVWrXIC3EEZ97yzTjcJjuSkusDHSRaq8nNan7uHufy21jHD+xJDKm7MUUsAuB3geC98xiHITsA9sAA0PIyhEkySrOIZvo+75hfWu8cpM+mQhw1jyWpZQZ8c7ZzJcfhUyiWvv38uX+EYOQFFG5n6KUNKnRhYg+T5aIOg+PyM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) by IA1PR10MB6049.namprd10.prod.outlook.com (2603:10b6:208:38b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5588.16; Mon, 12 Sep 2022 15:36:03 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::38ee:4bfb:c7b8:72e1]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::38ee:4bfb:c7b8:72e1%7]) with mapi id 15.20.5588.020; Mon, 12 Sep 2022 15:36:03 +0000 Date: Mon, 12 Sep 2022 08:35:59 -0700 From: Colin Foster To: "Russell King (Oracle)" Cc: Vladimir Oltean , "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> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: MW2PR2101CA0032.namprd21.prod.outlook.com (2603:10b6:302:1::45) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0cb275fd-8e89-499d-9f9e-08da94d4804f X-MS-TrafficTypeDiagnostic: IA1PR10MB6049:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oRWLWX+4xKQyu6V3ORhjT7o/wU/jgayEN95nBnFgrMLc4IERZws4siNbuRKRvI9YBFP4cJXM/m4kpScDXZMXz9MxQKQhltWQzJnSoazBQbSXIJTVjz+cYYFXLf/D35rhSThgfbhQL+3U1gsZmKvoE1Br+lHk9PwdY9+E86FQISjDG2VsONfmlpNeLnBDlKRvyvA17wfFZaL11J22HhQBm3Ryj0zroFzfEQ6AQlHzd8i4eF6lQKZyfmoLYolFnTeNfP0s0zTfYFow6oQyemYXVcn4qtj8NXGBL/L8rJSP/xM+x6LgjlOsewT1C8TPuf29dc3PHnJlzdP24ScQFCV461jb+Ao6QHUUgCVvdOW+h3qNK2lkDrW3tiHISfWvKwhOAfRmm2FA4+SqFAi7bkDTeTKAMoVyqi84rjzmo23457oLrwmteDtDZxd1jViA34hPpghz4eC6MtDNLQFs8owhx51J0M6EULfX+3qwunbLPVhu+Q4Q5aMN7lt8K5skMYmHbIrk0XJl5YrJdU9x/OmYp2CCvAvD84GnZpYgPmR7/zqJhbOMIZZ4r6pigvHN+riOaXQxoDAm+i+k8B9JdTmk4tQNK9XYbvFOVNzpt36JF/IrqtuARLKerMTBkvILYJvjY+FTccvt/x1qpug4GbAiZVVBgJIFA8KE7y0CDwJ7zifJjktHNgaMVL5jxL+GlDfP0rr9UdJ1enBLuiv+FeXeSqAVM19CMktLnZtdZeaLONs2Cbc8fh9hF2VG6S76f0O14VFTMwi1QrsR+gASJSf5/iQGowbB0eG+MqZL57vbHdc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2351.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(7916004)(366004)(136003)(376002)(396003)(39840400004)(346002)(966005)(6486002)(7416002)(2906002)(8936002)(83380400001)(186003)(86362001)(38100700002)(26005)(5660300002)(6512007)(6506007)(9686003)(41300700001)(66556008)(8676002)(6666004)(44832011)(66946007)(54906003)(33716001)(4326008)(6916009)(316002)(66476007)(478600001)(67856001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?R/0IyyxVn8uvtYpH3ho4IEfPEKOBiWA040eZ2UgSn8bCfDEmoc73+T4Ap3bl?= =?us-ascii?Q?ImWaWgs4cf7XsN3DOtG6vGy8BnwC5/nZExEqBav1BmmsSimTEy0tJwv23JFk?= =?us-ascii?Q?XaqkWLZdNMxDeCSXcQbyyWFL2DcDVkUshjG9vLm+kCmVZCJQi0uUUTPltcZR?= =?us-ascii?Q?gaUjMcld/0GwbKEJPI5Tt1Z+3zrJ9cWP417/uoZNNi70/g3uWD0G4hHLqHDw?= =?us-ascii?Q?w8D0trssZWRMbetow7HJ3M1UjDMSI/opeX5urnhCo+IINksZ/27313g1muZl?= =?us-ascii?Q?Nt2mdnDgX5bW3HPrjWBL3VpNANAS19xUdYfkOJstGNqhh0kK5nJMJ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kIGMvMtGIq/amsuyggivc3enyA8vELzN?= =?us-ascii?Q?TLot+5mkodMLQJs+VGeEcxfUGp76mCKw+0SeOyAhQZqfY+QKzP1uSjfCrNfI?= =?us-ascii?Q?7C41Dn8yW0MuNaCemPoei+pQ2Dga+iAEc1ea1sgWUZLPDS+RKPeqa25BwdE7?= =?us-ascii?Q?7N+Xfkt2c0txUEBwIz/O7ia9RyNCE4WrLgtGb8U6g0C5XilUsQg7r6GEZl6f?= =?us-ascii?Q?ubpad8pz624r53ImFW9VgRt+xsrzc4eHo7jB6Aot45EIxPCZbbvSN9fuRMfB?= =?us-ascii?Q?DY0vYaIkgujPwtMtVz5n4fl+xhmp3bejvE8nyTl7BJ3u04JrLF/6do+sqL2E?= =?us-ascii?Q?gRm0Wti9pMuNJvVmpQoaaLlc0zynWtXJroAySehE8Fxddw99oF7vfIdQkE3X?= =?us-ascii?Q?kQXsd1cv40GX3ogZaMl5sRs=3D?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0cb275fd-8e89-499d-9f9e-08da94d4804f X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Sep 2022 15:36:03.6931 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 48e842ca-fbd8-4633-a79d-0c955a7d3aae X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: N4n3BjQ470YY4fvfG55giokekoizTwE+WjEY6yaZf0s1fi63/YpztJ+UG+YBN8w/+NUKemwKe3jS4NMB2jUci7mYOXS3xERLleGmV5uXIJ8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR10MB6049 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 On Mon, Sep 12, 2022 at 04:32:59PM +0100, Russell King (Oracle) wrote: > 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. Whew... I was getting confused as I was reading this. Double checking that I did indeed add this to the set. > > -- > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!