From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D868142B2A; Wed, 17 May 2023 10:03:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C967E4282D; Wed, 17 May 2023 10:03:03 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 8AAD54161A for ; Wed, 17 May 2023 10:03:02 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 34H1VRYn027015; Wed, 17 May 2023 01:03:01 -0700 Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2043.outbound.protection.outlook.com [104.47.57.43]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3qmnba19hr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 May 2023 01:03:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IaPaDQCowdL/ODIb8oouYH6yDa073D/1PvNGYvSrB5qSxFM1ghnCjmr7vtwAskOcvkMVnx1gVGTfIbgDt8uQgCPWRmGFZiKD/kYKkjMQxsGjm+sR23ufzruj8zNbsqCKt8+dVvqnaqWn1NBls3QT58XR4A8wItADxwPzslkVmA84Q1Yj2Kh7y/2kswPwlwyEO0pSPZW28IKVdScYQvtHPcYcjzsogd1iatpRYyyMILG3I2qRW9HQZo/TRe1Mqwle0/ZPJjjB+7y3r0mIRImSZgXFHUZMpzVBMuRt9BlfEplZmn26MuOywtgHVQ5tvxp/zETvKM+GxU6SEvnouObiZw== 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=zKWeIxzRKngN4sEBsPvwseK+36JkNPoyXqi4sUoJoNU=; b=PiRPZEhc2D45xNJTHPSMYuJbvamaNFjWm7k7uKemTwgTgckqXhzPZLJRziRF98JjyUOozZqimRlbXnaO1m3RSjqNgkv3gn9k/QOBOosN1KYWMT79FfzL2qehPGQRDHX7nEx94ST+ntnfVIYP3A7Wr/gW1r3oRNcBciKnWqZotHS1qTrW6JXrp22bl1Czkx4hlS3VkreHfEROeWMLoIlMBHUOPxNqbl053m7IIBb1meW/qWhihxaizxoYVphP5gAJgJvxEjqjzYF/+/tEjOEKppoOPQ+RByGXZKOUaYmiJr141unhd2OCbnsejdLl3qOcdjU0yaUC8LcWxi8CRSYMew== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zKWeIxzRKngN4sEBsPvwseK+36JkNPoyXqi4sUoJoNU=; b=TuV6SFnuxE1yKb5AyIf7PTmXGBm4mkWu8U62BWclEgIJonBuX7XY0q4G2/3/V5m7kNJmNBKnCWZhIJf3EudFNE4eb1HvcDtUiy1dfgJJRSHw98L+TTuQnAU/sfCes5xHbyzYbpuubnmpentaZAVZd6LWqcdY7NCS+x2XuEY1+S0= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by SA3PR18MB5628.namprd18.prod.outlook.com (2603:10b6:806:3a1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6387.30; Wed, 17 May 2023 08:02:59 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::831b:85d2:9a45:8489]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::831b:85d2:9a45:8489%6]) with mapi id 15.20.6387.033; Wed, 17 May 2023 08:02:52 +0000 From: Akhil Goyal To: Suanming Mou , Matan Azrad CC: Raslan Darawsheh , Maayan Kashani , "dev@dpdk.org" , "NBU-Contact-Thomas Monjalon (EXTERNAL)" Subject: RE: [EXT] [RFC PATCH 1/5] crypto/mlx5: add AES-GCM capability Thread-Topic: [EXT] [RFC PATCH 1/5] crypto/mlx5: add AES-GCM capability Thread-Index: AQHZcdeQn5UzYPECvkaXB13Q8bTSea9eP8HAgAAC9QCAAADM0IAAAbEAgAABg/A= Date: Wed, 17 May 2023 08:02:52 +0000 Message-ID: References: <20230418092325.2578712-1-suanmingm@nvidia.com> <20230418092325.2578712-2-suanmingm@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-rorf: true x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcZ2FraGlsXGFw?= =?us-ascii?Q?cGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEy?= =?us-ascii?Q?OWUzNWJcbXNnc1xtc2ctMzZmN2JlMWQtZjQ4OS0xMWVkLWEwOTMtOTRlNmY3?= =?us-ascii?Q?NjYxOTA3XGFtZS10ZXN0XDM2ZjdiZTFmLWY0ODktMTFlZC1hMDkzLTk0ZTZm?= =?us-ascii?Q?NzY2MTkwN2JvZHkudHh0IiBzej0iMjA4MyIgdD0iMTMzMjg3ODQxNjk4NjM4?= =?us-ascii?Q?OTc1IiBoPSI5Y1M5SmtSNFd1c3VZKzZySGVYKzN5cjZGczA9IiBpZD0iIiBi?= =?us-ascii?Q?bD0iMCIgY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O6PR18MB4484:EE_|SA3PR18MB5628:EE_ x-ms-office365-filtering-correlation-id: 1a934b14-50ae-4e7a-67c6-08db56ad1d9c x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YdESa8UFcimNADX/iVVdVJhsb7S/BCmhLXuYy+kU1j/UyMpmrcmA/c8XbpouTaBfHq9H+38McvYOfEA3VDyy2HUoSSQZ041HSeO7bSgfR63QL480EJNdlwYy+XrfnKxgBIID19nDAvJJrPX4u08fQQvBYrdubDUrmVX2RSmSY43ESh7VnzPZo/GSOULF/AYwcZvG2+LQbtFPmawpNFVN6hil0uURGeSdwSbsoynrMUPecGFCb6/oMvPmRnmFG9w/4Mn4brCLJ74TuVWp5IZFs6d1xzlHGxeFSDot5pl9Nzc1+qO6vUBxqBr6IyLHlnlM+NPsP8u4FDJ83cfoDuAwaQjrq/cRlOf40UAAcTirO3qdh7ep4Yn87gOMFsNDt7ueXnmKGv6QwS0pJhE/kKEaja/izZgrPisJhMS01dtGoWOztpKCpRkKyrAnEucwEhXoCox/HkpRJEXdh/JRQfIw58XUrnhz5XpllQZDCA2puMdGRsEcr0HvXveUYs9tIvQoZY2isybiF+AT1UpKrQgqrG7t0Jr2Q/PbxIx18knPcgS8fzgyaSUjpM0EHmC1t3CBQGW1L/LV6cbntYAveAdr324dqf4Zh/YAcmwgf+k7wjk9xNHQ9r706kM1zrWMOesx x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(346002)(396003)(366004)(39860400002)(376002)(136003)(451199021)(26005)(71200400001)(55016003)(5660300002)(6506007)(38100700002)(122000001)(186003)(33656002)(55236004)(52536014)(83380400001)(9686003)(41300700001)(8936002)(8676002)(2906002)(38070700005)(478600001)(7696005)(66946007)(66476007)(4326008)(110136005)(66556008)(66446008)(76116006)(64756008)(54906003)(86362001)(316002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?sl14I/HfhzsqKy14/8eydp4JgKbew/RHdXXsUUmJrRi6YlMxFmtLGZpccprj?= =?us-ascii?Q?vwQb5P5tQ9BtBd+Ah/sRPaVTga121TBNc6ygjROQe+3GaB+7m7WDsK+0yYiX?= =?us-ascii?Q?YNUwtUaFwBgq9fsM3+nZ9UVPPf+HEfTZM3kiCqVxYI3O9Fyp8EG3dyKksKTM?= =?us-ascii?Q?jFte0sZyU97zmdbz7GUtISuxAGgFs7D1kg0PMcLU7Uipf/kpwe5jAqS9WGiM?= =?us-ascii?Q?h6aXbtghMdIwp70UPYhpwHfl//d5Fkw+ziVzBRneOoqJBOynwRugP5UZeez7?= =?us-ascii?Q?QUx9zv64IkLqblE39oTDoU8KU8oMOhPHMqrXeYGIV9DO145g+AOqfr3Tku5X?= =?us-ascii?Q?0KSvLqF6bLepED/y0VHTLki35qdD5f/p/JTrz7HwCHfTMRs93Pcg6s2C3qrQ?= =?us-ascii?Q?3Y2ktWWB0FoQjIRm1gPyws+rAxwAd18L8oK5xRBYyHOkXJ85DORj1FX06ibn?= =?us-ascii?Q?6MJyaS0RdzZNmTfhG6cmaflDLT/QzlC8XWZipI80RaZuv3cvGwTklcnGR4AE?= =?us-ascii?Q?r3S9EWHfsl+wRsfyeo5O7ExOonuYKi019aBRwDlEy1U0X0r32G2a9EqAva4q?= =?us-ascii?Q?hEtU4BDs27ImvvVSh8q4FPm32u+tI6PHYOfju9PeC0k3YkNK0JtdL52lrrWT?= =?us-ascii?Q?PLODAEUv4LMFxB92+3sCWU6UyS4lHNzStBPmx+j3d+Fxt0dU1hpeW0+W3Sca?= =?us-ascii?Q?V5Oc4VvI+Hs1ESGsrQYVX/pNLoUHwGJzNK0MYrxYHwKUSyKKwY3yvHBXttRK?= =?us-ascii?Q?yAVIQEHNtP9M3JacmOAE3jUs5a4G9jiPyiIGW8jiOGEvpRS1HF7/+Phf15AI?= =?us-ascii?Q?C/NQmAnJmRGE4kg4cFRfENJhghd3jU/VKBdzdl3LVXhxi4zO1J1PPmns+F/l?= =?us-ascii?Q?zqmschN7vm42zsRl6sY4j1JuEPApIsVNkuJYpdinqTnRnlSgvYvtVio7/5N2?= =?us-ascii?Q?r8cUhQeHGIlvvkfTEF62ZNo+1untjcZEN34I/usVG6wbcaXot8TzzBZqzknu?= =?us-ascii?Q?1dQwujoXncNc46LES21K+SWRlmD6btPbps6gVWHPgyowW+qfcVopKzRBIqis?= =?us-ascii?Q?S2XA2U1Vth77r8J2emSS2RxyAjZ+JImfJJTqEnM6+XzU70zeS9HuwvxvnSAQ?= =?us-ascii?Q?suQ06EdyJMLea69vxcJRDIq5VXyCMjRWmz64pUqj967ApTbWVhjEPh7JT4Fj?= =?us-ascii?Q?fTk7uKhNDWMifkL6LkJBkHjYFjkSzqYWfM7J05v/1iyQuWX5gCSzt7teYMIs?= =?us-ascii?Q?BddzIGon7JAU9T2seK/zenaie3TLoKt7FV2yiCv3Dh5aTIFDu9IXVRP6DZh/?= =?us-ascii?Q?7G0LE39jl9P3Cok4R171CpL3JqXURYgiWn6078LT0rDlTnfOI9+iyw4vTQHV?= =?us-ascii?Q?kMb71Bd5OezI9jC0iItYIW28D70xzM0lqjLXMrgXu8PJushSVKzGHabRiXq3?= =?us-ascii?Q?7PNzC/58douSh2q98kQ+k1pkF2FDgtmf44KQBcutnGfP7z2okP3rLqRiOy8H?= =?us-ascii?Q?ZywGgDGPtW5F6NUm0Ecvmo0CXHGwIRM9YXiXlrjFBss+aw+VDjEvW7vNNneW?= =?us-ascii?Q?OZHklIppevm+k2DOK0MroiW8yhj+VfexqJlXmbIj?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a934b14-50ae-4e7a-67c6-08db56ad1d9c X-MS-Exchange-CrossTenant-originalarrivaltime: 17 May 2023 08:02:52.8610 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: bQb8ujPXozA8yFkTuCT/bSKFGHFOsYVQExkZsdGv2ho1zRrXumxicXFvXjKACqLWmrEnK27opaVXFTYyrRLwVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR18MB5628 X-Proofpoint-GUID: ac9KbjXJjxVCu0IP5PRgUK_P5lghd4VP X-Proofpoint-ORIG-GUID: ac9KbjXJjxVCu0IP5PRgUK_P5lghd4VP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-05-16_14,2023-05-16_01,2023-02-09_01 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > > Subject: RE: [EXT] [RFC PATCH 1/5] crypto/mlx5: add AES-GCM capability > > > > > > Subject: RE: [EXT] [RFC PATCH 1/5] crypto/mlx5: add AES-GCM > > > > capability > > > > > > > > > Subject: [EXT] [RFC PATCH 1/5] crypto/mlx5: add AES-GCM capabilit= y > > > > > > > > > > AES-GCM provides both authenticated encryption and the ability to > > > > > check the integrity and authentication of additional authenticate= d > > > > > data (AAD) that is sent in the clear. > > > > > > > > > > This commit adds the AES-GCM capability query and check. An new > > > > > devarg "algo" is added to identify if the crypto PMD will be > > > > > initialized as > > > > > AES-GCM(algo=3D1) or AES-XTS(algo=3D0, default). > > > > > > > > Why do you need a devarg for identifying the algorithm? > > > > Is it not sufficient to use enums rte_crypto_aead_algorithm and > > > > rte_crypto_cipher_algorithm? > > > > > > > > Devargs are normally added for things which are specific to a > > > > particular PMD > > > And > > > > which is not exposed via public APIs. > > > > For identification of algo, it is not needed to use devargs. > > > Due to current HW limitation, the NIC can only be initialized as GCM > > > or XTS working mode during probe. It's not able to provide both in > > > running time. That's the main reason for the devarg. > > > Session configure with algo is too late. > > > > Is it not possible to reconfigure the NIC when GCM is detected in sessi= on > create? > That means in dev info, we need to put both XTS and GCM in the capability= . But > the fact is if we reconfigure the NIC to GCM, XTS will not be supported. = If user > wants to create both XTS and GCM session, one of them will fail. That would fail even in current patchset. On another thought, is it not good to create 2 separate instances of driver= s in same folder, like ipsec_mb and cnxk drivers are organized. You can change the function pointers based on the driver instance(mlx5_gcm,= mlx5_xts)