Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2683011rda; Wed, 25 Oct 2023 09:21:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IECtJ3J2PviUkVw8jKJUgqlFeEjbtxfKhOVAzV2xcbb8DMyxw0E5iyCJbeMAf6FDXXLHq/J X-Received: by 2002:ad4:5f09:0:b0:66d:6043:fa16 with SMTP id fo9-20020ad45f09000000b0066d6043fa16mr20578416qvb.2.1698250912442; Wed, 25 Oct 2023 09:21:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698250912; cv=pass; d=google.com; s=arc-20160816; b=Y+X1zy/jnzAllZ+EsdV49mmusXucmerZ8gyL9h4U38u7/Y18SYucPxoHcZWJ8wpNng 1E3ztag8uihNJdFqLAyEuvl1SLpFgeND2rbI9WR7b4NjqONmkTJZcW4tOzqlGO9FkD6p 5Rf9C5qhcwZejp4vObD5BzL04ko2AWB4s4LAqSwAGmCImiZd4LasmjF7ZlPyTNj56oIT PivD8PhWJ2CntI+kTQizxWDPzIBLNcAgaV53WtiSWiFsX8/kR7MUbfCOr9px7c6fVIHW mJgGliKG1VGFgu7DKwhA6WAZa8hX99RUS8Kab6TByXYU3tRPcun5g4axaCbEHdx0gx5B RMoA== 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 :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=WdVu4hLita5BGAbnKwzCGjNl+z2XuqOisGCQ7HiOdps=; fh=va0SWdF/8UIuWMI8vMTPp6MO3wc1+ZLPqI3iRpbQsks=; b=T/K40FZ7sZPy04vbPnDUcEKKeDEVXrTYEdkNcE2n65qwv1x+tvLKp3rGP5TD72aOcr bJW++cg2JCKlcLJsZlpVtM4E49sK3PejiUZRu/ixK8MI0xcbwoQKWe/VkbMkWQjbPJ6E I9S9nA//iuEnkq2iqAAbv21uekvn6+C0Gf+Vyy6lyPF1tJjsITu1+KFSCSlEueOB8PBn u4e2493rYLPUeffBcBerSORhU98uQdENPCBfXMrP/4Ojg/1qSCfJQ2ilVpnur2lS7Z8i 6T81h5r3dS5FQIRzprOlKn1vPyIsZ0J2oVGbkG+oNrXTfKoDJbrEql5kPDo079m/GEt3 u1ug== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=ehHrBOMh; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bs40-20020a05620a472800b00775902632ffsi8835705qkb.279.2023.10.25.09.21.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 09:21:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=ehHrBOMh; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 3EB9480475C4; Wed, 25 Oct 2023 09:21:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232262AbjJYQVf (ORCPT + 99 others); Wed, 25 Oct 2023 12:21:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjJYQVe (ORCPT ); Wed, 25 Oct 2023 12:21:34 -0400 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2044.outbound.protection.outlook.com [40.107.104.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A2E591; Wed, 25 Oct 2023 09:21:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JI65gpTnk0+eRHKS63jym4vnQ7a3hhk0CyNaiENXVcZQPRktWZyQZwew5qWixNoZFQP6obJV62KkOPpJ0NadhGmK+j7FWGXwUTujw10r2Ibvmm2nNDd2BwuSVoUUOZBH556Gm1PBGhYzWCi0/9xLA7jMwzVghIsUmQGn3X+RybUMxU3y/7tD997PXKyxwuReQu+S7Z4fPLtJjSqQ6LaLk6KP4iPUKijLIGVpyoDP+4KAX/QpU3YL8+txh49glogVzJPie8unenICKXUEl07yPsriRlimd0mcQv4DSqBsR/K6mlDyGDCH1Y9mLCu9e57jmIEX9/qh+q61l5Ve71209w== 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=WdVu4hLita5BGAbnKwzCGjNl+z2XuqOisGCQ7HiOdps=; b=Ao5hEelf6PPSujr0FEoqKJHkoII5ey0+XBoyc5BKV0enlZTIB97HB7QCvA/lYNmUN9fjvhPrBpI6MdIBT3/06j2Gj8BvuhQjcaxHaNpxqhSf8zTSKdWubX7HQIGCctdilRfWeo0oDo/HscSTiBEWEBYVBrnzSKQJc1OfosSdH4gBlPPcKbnu0f2BDtRVAs2rd2OjUSm7M8eLuCPSBGcximxrCiyBaZLJTUMHonz+u1ex1iQhOaf41bhvc6/9RHfM1metSx+CmX1FJ9SiWe051xo2lVDYIL5pw4fNKkemIJXHf2AMIMmFwqC8/cd8jAGGBTyLL3FZHoQ8fmWlwk3tow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WdVu4hLita5BGAbnKwzCGjNl+z2XuqOisGCQ7HiOdps=; b=ehHrBOMhxrxpB7LSqyjzordJvbPZxqiWuJzUNBf2FXQxuQ4xRV0z25hTKCXMMWl4+vcGsqAoZ6xVegmt08a4ru08ZAhhjBwPXkT4JebKunuKf32f/+PnSM01LaJ4KWRuTAVjPSSvkvtmTcdTnGzzyBCjQ9lNdFj6obhgxwqOtQE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM9PR04MB8954.eurprd04.prod.outlook.com (2603:10a6:20b:409::7) by PA4PR04MB7870.eurprd04.prod.outlook.com (2603:10a6:102:b8::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6933.18; Wed, 25 Oct 2023 16:21:28 +0000 Received: from AM9PR04MB8954.eurprd04.prod.outlook.com ([fe80::b1fa:fd23:8cc2:f5ee]) by AM9PR04MB8954.eurprd04.prod.outlook.com ([fe80::b1fa:fd23:8cc2:f5ee%6]) with mapi id 15.20.6933.011; Wed, 25 Oct 2023 16:21:27 +0000 Message-ID: <5d7021cd-71b1-4786-9beb-1a4fe084945c@oss.nxp.com> Date: Wed, 25 Oct 2023 19:21:24 +0300 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next v8 0/7] Add MACsec support for TJA11XX C45 PHYs To: sd@queasysnail.net, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, richardcochran@gmail.com Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, sebastian.tobuschat@oss.nxp.com References: <20231023094327.565297-1-radu-nicolae.pirea@oss.nxp.com> Content-Language: en-US From: "Radu Pirea (OSS)" In-Reply-To: <20231023094327.565297-1-radu-nicolae.pirea@oss.nxp.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: VE1PR03CA0015.eurprd03.prod.outlook.com (2603:10a6:802:a0::27) To AM9PR04MB8954.eurprd04.prod.outlook.com (2603:10a6:20b:409::7) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM9PR04MB8954:EE_|PA4PR04MB7870:EE_ X-MS-Office365-Filtering-Correlation-Id: eb696e10-2203-4c63-f466-08dbd5767028 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OBfGz0PqUxda3tIfi+v8TH1ML6jio76Dx5LRwJ3pqFWXtxTiSqIwMrljiyHVmw566PhDypnkj39NqOTx9ue3Uj6Yos2YvZFG5V6/3z0vsw12I8n/eNk/fmArgTXFZoqi3SdtK7vestzUOEGygbaApfOIDIsRUoMG9WpdDOAb4Su5hipzL70Y6Y0Q9H8UTyakXO366Jfcw0J0ZdjaqyYglSFUVgYNkfENi/JKikE6YWa4e1UxWF041jEq0IhqL4CJLn9OCEeVXOihXvXxD8flpwk7doJkyKJCEM5W8Upo5j0Md2+lVcMZ5kVsEMKExjtTkwDeL96vaW9bhQZ3Mq6EztzGjPGjHg2r9iPItF9QGPlkO3nn2f6WLCLM+KXcHOs9N6KbMuhivD0RrO1HotWUHWL2JdIJEth+b2T4yqfz7pxj0cBn2/zygpm7QJBTtxIrzOJRLATKTYc7tyjOd0GFFKceVeCTKTN3GtJ0rvEtFB/Z+3yHancio7yPSxNE7On8wnra3myFFwKIJu8Mo17rCBLMb449fN5Dxj1Fqsx/pUpQk91tABL43ipbh6fO3ux0Mw9/3CwURi/0kEBQO0P9r4eyHBdNOkQLsyQnWTkjzaa3kuRIkNMD6uGPc3XwtV1hu8TyzcyFtXk6EFHnDGFiiQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM9PR04MB8954.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(396003)(136003)(346002)(39860400002)(376002)(366004)(230922051799003)(451199024)(64100799003)(186009)(1800799009)(53546011)(6506007)(5660300002)(6666004)(41300700001)(26005)(83380400001)(7416002)(2616005)(38100700002)(86362001)(31696002)(6512007)(2906002)(66946007)(478600001)(66556008)(316002)(66476007)(6486002)(31686004)(4326008)(8676002)(8936002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bDBidU0wNXpYZ2libnhHOWt1Unh3L21FNkJuWTlIYTVKWWEvRmxqOVRVL1F1?= =?utf-8?B?L0F1b1dDMldic2YrVVNsZXcreHR6YmQwRmVzVkc1SDJnTms0dW5FNlRncDJ2?= =?utf-8?B?VzRBdGx5L2xyM0xydVQweWlyWnkvNG52Nms5b1dERGdVNjlJdElZNllVTkVo?= =?utf-8?B?bVUw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aEF2K25VeFFDaFFMMG0v?= =?utf-8?B?V2xNQk42UVVOQmlwWW4vYWtOK1hUaU5RcXh0emJyWTJhZEpIakVyUXdyeGdO?= =?utf-8?B?TjhHWkNVOUpNdmsxSzRJbWhEOHFBb2NDTmp4c0tVcW5McVExenhXQ2o4SkFW?= =?utf-8?B?RGg4LzJEQnNEM1E0eWoycFgvems4YmFDekFMdlA2emxBRDdoaGtUWWVmUHJa?= =?utf-8?B?M2c9PQ==?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb696e10-2203-4c63-f466-08dbd5767028 X-MS-Exchange-CrossTenant-AuthSource: AM9PR04MB8954.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2023 16:21:27.8033 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7O/vMcFF6GOGVBIvlgZVY6RxaOFHIQExErtk3xW48+lFgpJl2tdNMfalF3PVAAyc6+fiYl/zcvNUxqQ5ZX+jG5QjR8yoRX+vL3CH9LpCmYE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7870 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 25 Oct 2023 09:21:44 -0700 (PDT) Hi, The state of this patch series was set to "Changes Requested", but no change was requested in V8 and I addressed the changes requested in V7. Am I missing something or is it a mistake? On 23.10.2023 12:43, Radu Pirea (NXP OSS) wrote: > This is the MACsec support for TJA11XX PHYs. The MACsec block encrypts > the ethernet frames on the fly and has no buffering. This operation will > grow the frames by 32 bytes. If the frames are sent back to back, the > MACsec block will not have enough room to insert the SecTAG and the ICV > and the frames will be dropped. > > To mitigate this, the PHY can parse a specific ethertype with some > padding bytes and replace them with the SecTAG and ICV. These padding > bytes might be dummy or might contain information about TX SC that must > be used to encrypt the frame. > > Radu P. > > Radu Pirea (NXP OSS) (7): > net: macsec: move sci_to_cpu to macsec header > net: macsec: documentation for macsec_context and macsec_ops > net: macsec: revert the MAC address if mdo_upd_secy fails > net: macsec: introduce mdo_insert_tx_tag > net: phy: nxp-c45-tja11xx: add MACsec support > net: phy: nxp-c45-tja11xx: add MACsec statistics > net: phy: nxp-c45-tja11xx: implement mdo_insert_tx_tag > > MAINTAINERS | 2 +- > drivers/net/macsec.c | 130 +- > drivers/net/netdevsim/macsec.c | 5 - > drivers/net/phy/Kconfig | 2 +- > drivers/net/phy/Makefile | 6 +- > drivers/net/phy/nxp-c45-tja11xx-macsec.c | 1724 ++++++++++++++++++++++ > drivers/net/phy/nxp-c45-tja11xx.c | 77 +- > drivers/net/phy/nxp-c45-tja11xx.h | 62 + > include/net/macsec.h | 54 + > 9 files changed, 2011 insertions(+), 51 deletions(-) > create mode 100644 drivers/net/phy/nxp-c45-tja11xx-macsec.c > create mode 100644 drivers/net/phy/nxp-c45-tja11xx.h > -- Radu P.