Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5935688rwb; Wed, 7 Sep 2022 10:03:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR7nZMt6Oq8Mjypq4EgGyga/P25z6zTt+mc6tdZWypWfCA/uzobGDz9Z44FqOjlZ3HFeq/BZ X-Received: by 2002:a17:907:75ea:b0:73d:daa0:3cbe with SMTP id jz10-20020a17090775ea00b0073ddaa03cbemr2947718ejc.662.1662570235170; Wed, 07 Sep 2022 10:03:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1662570235; cv=pass; d=google.com; s=arc-20160816; b=dEm/54uu2jkkHAOswYK9iZtDSkMtzCjD38VWVmmLXe7F0YDOSkHdh6g6cnjgiiF9uL +eWSfTXKDBAoq1qB9g205oKh7bFWVkllUzQHiPs+ndLPYT83BLysJEYGNd5pdsull2Vu caWfPjRGO/OZe7e+P/lWkp8iecvs9q3uIgS61l0qR6IUxzfPa9CEH1m+RSjZJ8MBecVb ap3QIwcgYWJu2NcjGkqiN6kGKWUpjDItDm1yrT9i1Zu41dgmW2qf8llaCBXC+Ig6pT9d AOuDMD2TbZ1gQIALPHISD4eCghV05tlUlS9nWFEIte0n6AjjvrfwjFCmrAH4St0XT9do /qSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:in-reply-to:user-agent:date:message-id:from :references:cc:to:subject:dkim-signature; bh=K53fN9nH3sueZ5kpvsAuu9/13avB+PkrNo2ZO8rA1N4=; b=tYNkKCssvi581P1+UEJ3VKpu18BRqfQd9kyuuZDSQBm9zLotrqEl7t5zk5kkwfpHRO jJskXuT2k1cCZfnviV2uR+M7eaUMeJHp/G3DcNly9T15/rJhzj5pUwUirX675sXaUSCv qsspzvpesJeq3v4n0vadLKrs7tQmLUjsyL4NH6faAEO+fa/nrVLVdI3TQzyRGAcUJ0/t 2KWUVvTRBbiAclrxT32TxwDCVmi/cKU5b7yVUdkn7YC9JqmWMzcz+A0CNv9wDW4B42HY 37LBKtvP6SLMz/0tMibKCqI4gQYRoPQAGnesftMhm7mEbUY5n1z1buASGyj3Jq/EUv73 mIzA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@seco.com header.s=selector1 header.b=u4M13U3+; arc=pass (i=1 spf=pass spfdomain=seco.com dkim=pass dkdomain=seco.com dmarc=pass fromdomain=seco.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=pass (p=REJECT sp=REJECT dis=NONE) header.from=seco.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w22-20020a170906385600b0073d72dbfdf8si10549849ejc.220.2022.09.07.10.03.29; Wed, 07 Sep 2022 10:03:55 -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=@seco.com header.s=selector1 header.b=u4M13U3+; arc=pass (i=1 spf=pass spfdomain=seco.com dkim=pass dkdomain=seco.com dmarc=pass fromdomain=seco.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=pass (p=REJECT sp=REJECT dis=NONE) header.from=seco.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229510AbiIGQzr (ORCPT + 99 others); Wed, 7 Sep 2022 12:55:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230267AbiIGQzc (ORCPT ); Wed, 7 Sep 2022 12:55:32 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2057.outbound.protection.outlook.com [40.107.21.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 613194C62D; Wed, 7 Sep 2022 09:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=diHnti9OcKSVf6cYl3c0KI5OQEzDzWaHhDeT/7KpQu+jxRx11MyOljqw9yug+viwjCHhc7++V7hNI4kyGZUD7Xe0sJiaE+vmJWHVYlDhx3gzJpXBlw6Bn+ZV6/Bo8cNJB8wtiGdvkOGBOgXqVoaCSHr+77YVwrJKo7RbEV8s+/CUM/0fKhcWF29ed5asS5tJY6eUU1sQ7QKp2LDa8VUrSXalL4CkoQLKXTZ7JqZvcEX1n4h3lJamrqVecAQtfsnsSOAJC9dTu2hJjcXDrVKWSLjtp+3v1BftjpTzQqMKfv3bySwa2Hc2nveIOGU8ncJfQY63HQO9JwiIdEYxJ7HknQ== 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=K53fN9nH3sueZ5kpvsAuu9/13avB+PkrNo2ZO8rA1N4=; b=nz0/Jbkjv7aWfkPIT0ymVpZG6Bprtn3gwlQyP0/3QmwoUqzwlSQIQhoMi+zd2MCymYy4NBjXgSsWMjI0iNyfKVaNUANxtiHc3Ev9tfm40uGo/Oy6NA72TouPdXLZ55f1iafN9uDc62HWE5+8+jjd1pExnqXbkhwk4ZGXLAE5gcMVVqrmqDsrn+hBt3aAB9XcJx+gmu0FYzjTOXf3ks6a4u5jBS1L5lyCPw4T+SlCkDdeimXRT1Is5Yp4RDWo9Ydb8WKXsP3pVullkeWXpa39aSHMX7a4zjEdwD0Bhhb/7/WODivuv9zyFX7qhuihSZ227Gy4ea1PaPui1drMimiZRw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seco.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K53fN9nH3sueZ5kpvsAuu9/13avB+PkrNo2ZO8rA1N4=; b=u4M13U3+Z9JCt9dKuzK9ED8Ze4JUFvFxxphO7wka71H5Ey1b9bMjP5r9rpvYHXWXcNSAYK5yCXdJ85Lb9AG6rSRBDYhtln1NSQB2eAVFuwmincr48cGpcCFRNY3mc4TfeAVO9QAPEY+t4zBbYPE7Ze3enqiGeS6uvXjOlhe639wvT3ZPa64Vnk3CUQBCvOK5hGsur91Mu7qPVCtWMScTKS7H9LAjU64rFpFZPfs/0ZV+By8MGHmtdg+BcNY7y2/yY1wJWPhWGzr9ay8jQysCAXckW/9hiYfAKiJ04zYIzo1FbW7tng66+XPtGLHGKEsO8EMD2SL7jbmTnfs64OBXCQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) by AM0PR03MB3841.eurprd03.prod.outlook.com (2603:10a6:208:6e::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.12; Wed, 7 Sep 2022 16:55:28 +0000 Received: from DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::ecaa:a5a9:f0d5:27a2]) by DB7PR03MB4972.eurprd03.prod.outlook.com ([fe80::ecaa:a5a9:f0d5:27a2%4]) with mapi id 15.20.5588.018; Wed, 7 Sep 2022 16:55:28 +0000 Subject: Re: [PATCH net-next v5 3/8] net: phylink: Generate caps and convert to linkmodes separately To: "Russell King (Oracle)" Cc: netdev@vger.kernel.org, Andrew Lunn , Heiner Kallweit , Jakub Kicinski , Paolo Abeni , Vladimir Oltean , Alexandru Marginean , linux-kernel@vger.kernel.org, "David S . Miller" , Eric Dumazet References: <20220906161852.1538270-1-sean.anderson@seco.com> <20220906161852.1538270-4-sean.anderson@seco.com> From: Sean Anderson Message-ID: <2e258a31-4ca1-c757-cbe1-cb352015ba96@seco.com> Date: Wed, 7 Sep 2022 12:55:24 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BLAPR03CA0049.namprd03.prod.outlook.com (2603:10b6:208:32d::24) To DB7PR03MB4972.eurprd03.prod.outlook.com (2603:10a6:10:7d::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ba7720a9-d724-4d82-282e-08da90f1c48f X-MS-TrafficTypeDiagnostic: AM0PR03MB3841:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Q4tXNtuQrLR8uXt46gWM+AH8VFpVWPKH586OSKPsiS4ynOv4CFedCaUW5/YRIGObEJQpA3g9eZEumj62jFd96cZ2eOLAE4OhdJQclThsAnJEnxPoq0iuGMFaL6Wxk0w5cUyg1NA7I0soBgQbRzWPLlUJkTS+L/gHvV1WTB+gA7hc5wprirFY4p8Lyt3zHY2+bNIwJtG67x5KjixFTjEEoUcu0JGdmOvhXoOOav9Iv7JjITQQMjyza9VoXzwW1KWjljEOONsSY5BYqq+4KNn3bALN2bhQvRnb1N3aep3NwZXOsbKnv+Z8YrqMOLuHGomJCoM+lz3pXjO8GP8pue1wK34mBiJs0zPjp3y9mICiVHNRFjiIByz9LqE/SSp7TjwzzhNqzjm5yOzTd3Z9grjlWHjWpI0t4/TKTpRHvrXP746+/CwMLfliYSn6KSgmTYyAdIoVHOBYSqdmQVdDHZbH/eUKvNftA7rgGIEWag3bwxFtB1iZcfcX6dykM5l1xbQMLkDqw+vCcqeCSTV0ruVK304d0HzbtgEN+RCM6JR+6H4WXqsVw8G+usgbvQl11japnSqrkcmDABQe0k78n75030+sKgZeLjOwNHxt0rqzmfTXQvmZDZO9N/JoKTiKdQBxACzcG9Jy02MYjvV8Rla7Cu3X/y55IR+G5seOVlrXG6XQtIFyem36k3vmCUpyGwd8asdTlvp7d+YOhfdi78ZBQ/QT9p5CaS8prwKUcfamqfK03pyX7ukJ8g9IqtAHuMfNJh3vc3iLY4Hnb5YsoR0RfxwhLVBY7MTeIVFRF7koOSUUDDiNcbpGuJ4ljNCTm6ZNrO2J0cZ0engmJn5gQdMTVg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB7PR03MB4972.eurprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(376002)(346002)(396003)(39850400004)(136003)(366004)(2616005)(8936002)(5660300002)(7416002)(186003)(44832011)(2906002)(4744005)(53546011)(52116002)(6506007)(6512007)(26005)(31696002)(6666004)(86362001)(36756003)(41300700001)(31686004)(478600001)(83380400001)(6486002)(4326008)(8676002)(66476007)(66556008)(316002)(6916009)(54906003)(66946007)(38350700002)(38100700002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NE5adnN6WVNYTWJ1aTQwSENmZWp2Q2JJWUtEZHJZS3ZtRlFOZzVlYThESHVC?= =?utf-8?B?UWw3VlJFTURHcTlEckhTMTRLRVh4bU8zRkx6YU5HTWMxZU00NXlRaTlyemtB?= =?utf-8?B?b21TQU0xZ2ZPaWpUb09XaWN5UTZuOERyRkg1K3ZiV3IvUms0ZFc4aU9UVExF?= =?utf-8?B?R3ZoZkZtYU5FTHoxdHZid1BoR1MxMlFhSysxVk1uM1p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S0Rxdjh0aWQxYjRrbkZ4cUczWGI2WFJUQW5YaFIxMDdybWNr?= =?utf-8?B?UnB3dHA2QlBMM25YVkVEQ1V5Q2k1cko4SDNMY0NSaFVkcC9NS1dZSFN2THp4?= =?utf-8?Q?qrLNg18GLKVMBguI8vYKOurFG?= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: ba7720a9-d724-4d82-282e-08da90f1c48f X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4972.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2022 16:55:28.7455 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7DA6d1h3RkLG7eflbOcCCPUVaMX5TKhjwAw9OCUxfq0M29d0L6M/DTUNNQ6ZOb2/0FqhSUuHc5hQT5Lynf6r2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR03MB3841 X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 9/7/22 5:42 AM, Russell King (Oracle) wrote: > On Tue, Sep 06, 2022 at 12:18:47PM -0400, Sean Anderson wrote: >> @@ -409,11 +407,14 @@ void phylink_generic_validate(struct phylink_config *config, >> unsigned long *supported, >> struct phylink_link_state *state) >> { >> + unsigned long caps; >> __ETHTOOL_DECLARE_LINK_MODE_MASK(mask) = { 0, }; > > net code requires reverse christmas tree for variable declarations. > OK