Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1045061rwb; Wed, 7 Dec 2022 08:02:43 -0800 (PST) X-Google-Smtp-Source: AA0mqf5IIt/DaBmBlw0kHPDP8Xf4BAAI0ZmpzJ0CgBT17e6+M+grHpcUb/2KzGdBL/rrcgkbasz9 X-Received: by 2002:ac2:58f7:0:b0:4af:b846:2687 with SMTP id v23-20020ac258f7000000b004afb8462687mr23177392lfo.685.1670428963218; Wed, 07 Dec 2022 08:02:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1670428963; cv=pass; d=google.com; s=arc-20160816; b=amq3ZYZ6hXiKawUsA0FhmS2xF8SgL48vJZ7EfY7xx+ZjWPuLLHgZmjjf87SnZWD9AP kzMV0N9NCqkApOR7aDKsadwvD+AbQ2ucHbuDdA2QysFTRBaWT4nbhZSi0qDF2Ueqk7KR jrZeJIRSlcWAAY3JZq2n7MF20iC7WGpWkNXvwlNHjY2rMb9KRzN6GblZiQJxINuQDSNh Y9I02LKGc4sNVYTJgtnmrBpQ5wIlZMuX8hvFKE2LB4SkRtVmasuVA/EJt1+N55CQkOnA ybiZgWXpCDtWYYVNifigLSjGKo4R6H0PC/GPUEEWRx0iexdSLaGWqJP+P4f65pbPFj2w H98g== 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:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=2VaYSrhp+tLqORvLDXURqyvvsNZHf8dYkPxLjHCnBrQ=; b=mvGDi3R8wa10i4hs4ZJS7bB3GHKsgwY7HKRtiVQ8hvKSrTD01YHhmeIsa/e4x6fi7L AqXge8CyP+2AhmCw3g6AApe/JfDP7+1ezpfvYoPVTzUIkR6MRU26hNr6u0NQE6DnT6DR iy1EvKKxOB2IPbiWFf9+6RkOg62KIMrqBpO9+6TAX1ho2wkGUljbgLSQ3pqttHqdP2eD BpoLuG/1nrE/RdOWxrnTqvso1QPrvNMUaVy75JglAMz8AOJ8sAFnRjM+a5mH/omewcXW 1O379UE2PuyVNu7SdKWLmYcZRDfW8lPxdTXw6kAGMrdrjsSLalTJpG9LGPFa+QU/cZ5K ZZzQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=EObiS3EX; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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=nvidia.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w1-20020a056402268100b0046b3638938bsi5563604edd.536.2022.12.07.08.02.21; Wed, 07 Dec 2022 08:02:43 -0800 (PST) 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=@Nvidia.com header.s=selector2 header.b=EObiS3EX; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.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=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229885AbiLGPwi (ORCPT + 76 others); Wed, 7 Dec 2022 10:52:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229572AbiLGPwS (ORCPT ); Wed, 7 Dec 2022 10:52:18 -0500 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2041.outbound.protection.outlook.com [40.107.236.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A9A723AC14; Wed, 7 Dec 2022 07:52:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KZKFH+FkkawndUUsZGWdl2ZiosgjBYXkUbrz2OtWvBNW00dSyZN5+No8qPFQQb4ivZqXFAqp/HkzToZce/UFKkoxyKW3wpyHoIxFPGCZMNUBlpbWfC6eTz3nj9CuYvGznkEZvqRKe/W9UpPIkbor09INokkem6Tkdf1Vql/4zeEBvML9A+sUCFCPW3U1vIThCnaBolDYQnAlTAazM1hEMlqXVRgUnTIRmHMc6sGC3F3pzN7VzIcRuQsvCPl0tgYEkjgToEMQUWC0heUQgXD4nI9p50xG6Szf4jnLxi/07I7AisNjAMDTxfWQ2TRuc+62Z7lXE2qEUNEiIftrORVSEw== 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=2VaYSrhp+tLqORvLDXURqyvvsNZHf8dYkPxLjHCnBrQ=; b=FYysq/QaBoMQhnWOfiZLhYWHQJPFW4gIvGUeXVQfgQnYkeRJJCHWhDGXu9EEahKv5Zlm4qHDpeu0GJIPyU7WhDzGpqc69RHDFveZImEzgEXKHlpobZc88fbOnzYVWOfkoJd5ALAGzks3MttRwQgUo4UNkeKiurn79Yy0n2zKE6upZCZKkw592flT6STRIMKDVeyBYlEtSj6UWJOaHRG6j1BdD8g6Lelgnx95AGaaNT1T63yoAexKKREVxAxVzdFXaunZ5UUb8bxRzjSJusmKkBBBbBpSeKLAHTpRmi4an/6OlfmojEhOGScfgv0eTFG3YwBbwUp3IpiX1efy2gjgWA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2VaYSrhp+tLqORvLDXURqyvvsNZHf8dYkPxLjHCnBrQ=; b=EObiS3EXTfaY1DFnQlQH4ZSmwRYAPLJ+6ODZOby5Grlhlqxu7erkdTSK4/Ah+Xl2zPTQ3Ow7oGqy227ksxkIwod5eOedKe8BY24bGT+Ciw7Vdkl0EnvmsdeUhITo8b+WI8rFvem7UdcJU8UNzONTiw7BhRCbDLe0/HuowXFGh0OlpxJIhWIq9dCylKbKBbbf2E6DboJwHF/7wpVH9rOWEg6iCCqHB/PVOZoPt/M7i76PmUc9aiuqOd80GdtOYUYbmq05Mt6NnxwYsCQetut8Umifesp2L3W9mdWfj05awiYa0yq2N6Sf87F4tiHq3Wb4lIq4oEdNPXv2FlydHGThIw== Received: from IA1PR12MB6353.namprd12.prod.outlook.com (2603:10b6:208:3e3::9) by DM4PR12MB5071.namprd12.prod.outlook.com (2603:10b6:5:38a::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Wed, 7 Dec 2022 15:52:15 +0000 Received: from IA1PR12MB6353.namprd12.prod.outlook.com ([fe80::349c:7f4b:b5a3:fc19]) by IA1PR12MB6353.namprd12.prod.outlook.com ([fe80::349c:7f4b:b5a3:fc19%8]) with mapi id 15.20.5880.014; Wed, 7 Dec 2022 15:52:15 +0000 From: Emeel Hakim To: Sabrina Dubroca CC: "linux-kernel@vger.kernel.org" , Raed Salem , "davem@davemloft.net" , "edumazet@google.com" , "kuba@kernel.org" , "pabeni@redhat.com" , "netdev@vger.kernel.org" , "atenart@kernel.org" , "jiri@resnulli.us" Subject: RE: [PATCH net-next v3 1/2] macsec: add support for IFLA_MACSEC_OFFLOAD in macsec_changelink Thread-Topic: [PATCH net-next v3 1/2] macsec: add support for IFLA_MACSEC_OFFLOAD in macsec_changelink Thread-Index: AQHZCiQusL+UzHu/8U2fyvKlL6owS65ikZoAgAAA31A= Date: Wed, 7 Dec 2022 15:52:15 +0000 Message-ID: References: <20221207101017.533-1-ehakim@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: IA1PR12MB6353:EE_|DM4PR12MB5071:EE_ x-ms-office365-filtering-correlation-id: a47dfcea-4d38-40dd-59a4-08dad86b0366 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xBkhNJD75GXfF7oixL8FdpAYzoJLILSl5Y8IjNQUlHPxDIlxvzwESEvjbsOBodYeLZO7kaGnPfpY5gZPJSdRKOO9sY4knKnbaWeWg9fMFpx5ESTyT/qepjlhJ4XCwDL3ZSDK9BsiLtZzr6hodi7LxuZAqJNwH/hocv6DedcdaRA9/F629DKIPVLdrdfPbFmH8CF/+Y4U+X2/R+0Pqe+f7aizj6/VoU31yhz/lo0DFwXGhAKeL4M8/KOKXZnVi6NfPpB0u7sN/l9k/0lTCGygzDafIozITPUsw1STVx5WCLLiCVvixqZFc5+aMP5qYRYBYVaUlnlro5kvkucSXuD4A0wX620zLoonB9mmow4vBdRY6s3yJ3zTtRvB4rMJ2EdMYshUzwNV2gJagnFA4DFmxH+uoj5Dnv/a20yali/GCJhJ1cy7QwFvz1saokA+hy1H35umgkl1t+SLDV0ybDvrlOejKySnX7It/6fb2DTLWCnannLRQ4r/tw4MScLUSeB0o/VJ7hTJTRvs8LWpYdaJD3YkfVapYYNKeb89md8QnCyK4RnGXsLpXVCaOg7xlVXpj0lYPAJhHH0zDC9+TzEiGESg+N82QBp8Snld/PXF8WzPZ62c6EYUnyXUTujg/EM7ZcrbsXm42gJ5RTqDiKWId8rc0ZoAEyD1U2X2+CqyjfFmC8SMNNqghRHv3fwN2W1exmrwQot3/OVrVStqyhAWRw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:IA1PR12MB6353.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(4636009)(396003)(39860400002)(346002)(136003)(376002)(366004)(451199015)(83380400001)(122000001)(8936002)(86362001)(2906002)(38070700005)(5660300002)(4326008)(41300700001)(33656002)(52536014)(478600001)(186003)(55016003)(26005)(53546011)(7696005)(64756008)(9686003)(6506007)(66946007)(8676002)(66556008)(6916009)(76116006)(66446008)(66476007)(54906003)(316002)(38100700002)(71200400001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?STcyczhxWVNwUE5qUzFnNkR2QVRQT1pFMGt0NC93Qy9PRUl4MlJRYU8wWlhE?= =?utf-8?B?WTM2MXk2NFYxZGx0Z210OFhJT1MyMlFJZW9Zc09NejZ5M21XNmtTZEg4bHNr?= =?utf-8?B?MG12NUpwTHVCWHNxT2diL2ZtaGgvZnZxSm9qK0VlU2RuRU9aaWxlRjBNVllv?= =?utf-8?B?MXExd1NVbHUyb2xWa1B2N3BkKzMwNi9pZ2J5VFpoMmJRczkxTDRlR0FGazNz?= =?utf-8?B?aFZ5TzZIM3hWUmFKdFFFem4ydi9uVHVzUTV1UUw3WDdobUFrTHdDcFdUSUFL?= =?utf-8?B?cEVNWUNnb0YrQjdxZTl3MTFzUVdqZlEzOGlsK2l0S3FoeWZxYktRUGpYdjQz?= =?utf-8?B?L3MxeklkNFhqMG5uTnpjeTczU2luemdmenk1d2Q5aEdqOENMb2FXbjNTTUth?= =?utf-8?B?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pRWFTWStBWVJT?= =?utf-8?B?bmk0dk5lOW8wWDAvcWVMWHFmaHd0bUlBeHNPTXJoOTNzTEp6MThTWEtUYW9P?= =?utf-8?B?TXNqRkxHMnpWcE1zRnFNWnZSWURzSVlhQmpvQTU5NkhwQUsrODNKWG0yWmtJ?= =?utf-8?B?N1dqYk5jTDBxbzRqWWNWTFlDME8zc0NYaHB1R25JSksvVUZmb0JjMTQ0M3h5?= =?utf-8?B?cmFHNkl2YVcrWWo4TWtWYkFPNjU4NU1zZjJPK2Y1eExmTmsyM1JUcWFsc0Fl?= =?utf-8?B?RGVTb01zbTBXY1p4d3VwWEpUYVF3TUNUSTB5TGRSU2FDbVVnTGQ0cnpQYVlm?= =?utf-8?B?Rll2amZDREpHV2tQaTgwLzhCem1LRUdmYThQOXFFTk1xY2ZOdTFMcTRNVkNn?= =?utf-8?B?aGFqU1BzSHNiUlBldWUzNFRhdFFYbmZ0aUxIcmsvbWpQU1d0TDJJU1ZxYU5O?= =?utf-8?B?Zko2VFVndlZEdDNsRVJwWlpUUTA1Q3ZXU0wzQTg0WXNoRmtYbFV5Qm5jcW5n?= =?utf-8?B?RHZ1bFNQaDZZZjVQUGtucjE3bmNjNVBOdGlpZEoweXRNSDVQR1lKZnBDRlp4?= =?utf-8?B?cCtaTkRPOGN1NFlMSkFkbkpoVEN5OTkrYk5GUW84YkNBb1FFSHlhaFl5eGky?= =?utf-8?B?N2ZPWG9VeFZvaVpWRlJpMFpsR1pLMXRkcUFNZ1pwMExsVityMDIydDVNSXFh?= =?utf-8?B?ejhvR1hwR3F1OWdEcFdzbzRzcTRYYVJPcFpCNFV3TzY4Vkllclh6ZGMra2tY?= =?utf-8?B?Q1NwcUJOajBlVXZXTXFDemhrUGlkRXZsSTZlSTIxODI2cUVZRkZWc2hpL0th?= =?utf-8?Q?oWV4=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: IA1PR12MB6353.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a47dfcea-4d38-40dd-59a4-08dad86b0366 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Dec 2022 15:52:15.6017 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: KX0qWMUV8kPtmVVtQy4mpH+JFI2lnBu692aVNJvYS5WYXWFc8kFzcvh9qxA8UPsGJZyYXIi8etHuXJjOy97RmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5071 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogU2FicmluYSBEdWJyb2Nh IDxzZEBxdWVhc3lzbmFpbC5uZXQ+DQo+IFNlbnQ6IFdlZG5lc2RheSwgNyBEZWNlbWJlciAyMDIy IDE3OjQ2DQo+IFRvOiBFbWVlbCBIYWtpbSA8ZWhha2ltQG52aWRpYS5jb20+DQo+IENjOiBsaW51 eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOyBSYWVkIFNhbGVtIDxyYWVkc0BudmlkaWEuY29tPjsN Cj4gZGF2ZW1AZGF2ZW1sb2Z0Lm5ldDsgZWR1bWF6ZXR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