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 1FA71A0542; Tue, 31 May 2022 09:35:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C7DA3400EF; Tue, 31 May 2022 09:35:00 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id E593B400D6 for ; Tue, 31 May 2022 09:34:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653982499; x=1685518499; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=C2RUNsQ9q2AgyILT3nmL6Ce6MTCUnFkuINlhWS5TPJ4=; b=d6XR25SwqjOVDfkvkBa4ZPFCI1vhTa+mWHhi/oEOrONDMi/+Y5JTefHC ECwpUCSEVKlnCoLgaI3O39GBRSmqtBGv6QecmE7Pn2OReJMmeN5UhmuZG DPOVSigETQMAP9Ohy0QL5Pwb1cP0ehIns/mbNoYGexFhCjXD8mVQzglhy ymNkeVUC19ySlnpPf5h7qqf0sAEr4tXBFt6BJgcykhhD43fo7+ogCvtv+ XKc+PgVCRq6HAX26N+afJ/D4PAO0r06MVCus3XU73WUZEDYuKmVTWAR1p LFOVGmmzw7dMEXA4yWeY/i5J0C1OQiJH38ri0uj8Q2lCVfyX2/Rbz/Lq0 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="257237612" X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="257237612" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 May 2022 00:34:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="605534458" Received: from orsmsx604.amr.corp.intel.com ([10.22.229.17]) by orsmga008.jf.intel.com with ESMTP; 31 May 2022 00:34:39 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 31 May 2022 00:34:39 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Tue, 31 May 2022 00:34:38 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Tue, 31 May 2022 00:34:38 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.102) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Tue, 31 May 2022 00:34:38 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LWvcND+8nuQzGZ2fQwOtZIaH3cla/JMJimzK9g+D2XypIPDY6Wb+99ZOCdfN0fPWcQtA0GsWit/c/y5blLjKvAaJZhbGP4REtjcErRt3xgE5hPg1fD9kfRuQ90qbfIYfIX37zjZpjGWj7JfLdzmwlaQ0DKcWxMJEfwXsifO0BO/84XltkMw00pPf6pz7QIvEe7O3M/dhfMuN7S5HucKMQDTh3r0wUL/GGbSmktulsSaMvN8q54nDDdQTDNKQn4WIx/eykuzOw2lVGoogFTORCjkUJyrqK3AKByIg/mM+fqaz8oggHm3bOdBFiew/lFx/vO+E8nRJCwqy3u4qg6MHeA== 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=C2RUNsQ9q2AgyILT3nmL6Ce6MTCUnFkuINlhWS5TPJ4=; b=XEpDPSYe/GL8YmV3gd9RkbUQTS0LZNZoqVcMgXTs73VJt/FIdrie2znOjuLG3mgznyvacscM8HYJQC8JqbTwC34oBUA+XtSGYCaP1dq+Xv1nwzSnjdTY+2vbQLKYsiUGxUy4wrp1qVIJMZK3+e85VpJUEYHPINeKeBwLaNYsfE/TU6tvDZmjp/oUFnHAAk+PdL3jErWSPkKQQaJqjQ7W+VHuEZcMm3Ff3eWaazCy3bqeQEaKClfrGZsh5YLhvC695N385KaGzY5qNYItBSDgCHa8WZk/8cswjMicctq+bX8TGkYUO8gdfawM6OCLaMF/7jNKkOi6HBZcrI76OnhboQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MW5PR11MB5809.namprd11.prod.outlook.com (2603:10b6:303:197::6) by CY4PR11MB1480.namprd11.prod.outlook.com (2603:10b6:910:c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Tue, 31 May 2022 07:34:36 +0000 Received: from MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::d070:886a:efa9:7ae4]) by MW5PR11MB5809.namprd11.prod.outlook.com ([fe80::d070:886a:efa9:7ae4%4]) with mapi id 15.20.5293.019; Tue, 31 May 2022 07:34:36 +0000 From: "Zhang, Roy Fan" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "gakhil@marvell.com" Subject: RE: [PATCH v4 02/12] cryptodev: separate key exchange operation enum Thread-Topic: [PATCH v4 02/12] cryptodev: separate key exchange operation enum Thread-Index: AQHYdK0OXu8E2MSu2E+2Z4rJ52ibYa04mFgQ Date: Tue, 31 May 2022 07:34:36 +0000 Message-ID: References: <20220531040439.15862-1-arkadiuszx.kusztal@intel.com> <20220531040439.15862-3-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220531040439.15862-3-arkadiuszx.kusztal@intel.com> Accept-Language: zh-Hans-HK, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6dfae259-de60-4236-f6b6-08da42d80354 x-ms-traffictypediagnostic: CY4PR11MB1480:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: O4VTsMgilU8JaYpKX/7Rm9UgR7mY/tmK5YeT81v1tM74bFA7JIMeUbjIs+bw2x1XW70vl0nN44geku3JvzqmWjQQ/w4gjX+t3X9TYyZFeUrDPkFydK1SiBFQKh6GdcnUx9A85p2kr26IMVTDhan25T4jtHS7wV33Jh4cknGWAl7xf/8mvESoNR54BjspkPcpFPcXd5eIax8MYmIJEG1ng8FcoViDJvWR0aiz0Rqz9vegIxyBxp6bBW+8a0vOdrVQ1OcUOOfSQUOmKM2TD/UeD4lZQPkHZl3zWxFr6oIC4e7PmdBZAEzjReLv4DsAX1OVEqHBjv/6D+IWign/TMBVUFe0XIUbjZ1gAvU1116fRzIMVfwab6zT4HKrKaHeleDW52zRsxFoeJvq8n5reOJlWsbvLhK6cXOTJehg4nZ/kC4t/zHiatAUfYKuNcIaVqVPrU8FVsJUKpDmHoIMvRQW4N5/q3rHWuNhc/kpzOLZ1thXBOrM4a0eQVkh6CqaY2i4ehFmFVk34HxNJd4Os0+HFhu5TeiZdFoNhOBUc5Jq36Mr2GvJZXikJoJuer07SNofx7CyriiMdCDFXUhkzpHQNx7JsntqAtceY96+MI13E0twiftsuiB1htztgZmicL6akarPO2er94UGLAGYireLqRYhag/l4U3gQT7IHiprS588rotPnDLpdUlUdpY5HniOai+FM84mCtwPAuOwpC1QWg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW5PR11MB5809.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(5660300002)(38100700002)(86362001)(66946007)(66446008)(8676002)(64756008)(66556008)(76116006)(66476007)(4326008)(52536014)(186003)(4744005)(508600001)(71200400001)(33656002)(26005)(6506007)(7696005)(9686003)(110136005)(53546011)(316002)(2906002)(82960400001)(55016003)(83380400001)(122000001)(8936002)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?f1aMruLMF97CeDtC60pajwaokUYIGX5IIcXotPPrEX363TCB1J6RIGwg?= =?Windows-1252?Q?bQ+57eW/kE0JjsSiCxA8N9h7dNDkSNEib3liECyJIIz3Eym/7p38ebg3?= =?Windows-1252?Q?2Qx+mKQbUUF9AEWVuljV9uIzskIgiERmtU0NkNPlpyH/FkTfueIYeWLZ?= =?Windows-1252?Q?KA15WI6gjPOVXX3L2w5/FpEbBYd/F3j/ik76/Ux50P5N2m1VpiXtrjaf?= =?Windows-1252?Q?yLr0cdqdocxV3CqTsVx5k9TVdNbCFO4m7G9vjLKyVt1UxprHp5Uv2Fhn?= =?Windows-1252?Q?e8x3m4FwHpEZq8r0UVFQsrYWXXdSgEQd9oZWUakRjqDZt5W6xj686VxY?= =?Windows-1252?Q?wkzaAJn8hPgpheup47UtkRdY6aSpZe9nCg3O5v4usAbQrTW4A2GWhLIH?= =?Windows-1252?Q?3raXIbe83GDBTW3NL7NtfmM+YWBXmYit7Grdx1bxwopKNcNvyH6dEz5I?= =?Windows-1252?Q?osINGYXKi2bxOrnidvyEcpDmWZCH2wc35F28kH8S2HFlMpq+C+zfEYXP?= =?Windows-1252?Q?uh1zv1VMevjI12dOAh/MN2eUB+scFO2gPQsjImCVOHNnFgHZ3xCBcoWQ?= =?Windows-1252?Q?QqTMfL4d49Vm6bmFt9URsxMNOPBhUYUXEJfrY6AEHPj4JDVWpdx2JfKa?= =?Windows-1252?Q?v9bNC13ODnxoVBmfu2Ocm14cVsm4vjDlwgE9MsGonQb2Xu0WVKA5GFo2?= =?Windows-1252?Q?Lgbl5m9qnw97TiaPUvdmCJyA5U8ZPd3Xbfr3KBpttEIV3I1w9+LVj6q9?= =?Windows-1252?Q?dDEJ6+wyJzmMraMbECsc9KAQJ51SteiRAicyppYHa7HYJSXmFtlp/a+G?= =?Windows-1252?Q?Ki+d/MtdSgmuizQcyx9yfcTTGZsi/VqGRsiv9i54I+KwuVFEqN7k3vvw?= =?Windows-1252?Q?HA9g5tcRJ9J9/JyguS08jAynKHbudTuZdoXjF2uozaPIkBkQk3MFDc71?= =?Windows-1252?Q?XRTk7VIRHCclaOvPto0SXi3shj4cgEQ9yTTCj45840+HZ7lHLGruq9fG?= =?Windows-1252?Q?JuERlBIJousE3eLXWExpnEqCr6o02DZutFjdkaYq4U8sr1DMuVTqXzeE?= =?Windows-1252?Q?YvuQNPQA4HQYzqVvwRGwLJ9epnAADbhMGwIWB+NOSHL9BmnG6TiQDpU3?= =?Windows-1252?Q?WakxeNXVujRwG82y6pE1PQwflo0htiPLu0R9xYMnVxLM3/ILtjMnPtNV?= =?Windows-1252?Q?apn59gvikFsr0b53wxc90lwyT2GgaAvi09jT3K9Eo9kbkgm6nUAXGZnL?= =?Windows-1252?Q?0bGaWpwNmS0ae6nnxiRY5Si/cAAEZ4EAOdD56fr+Xhx+Wrlfctii+H40?= =?Windows-1252?Q?XGgWOzjMiprIL8lVjJNYbwQTWeAhExtjUL6SuyUE9C68HU5feoW+QmF4?= =?Windows-1252?Q?o2LfpSh7IavCfEVdiALcZnDDdiQVGszZOOwcg7p6fWYHwG0rf1/rI+4a?= =?Windows-1252?Q?TKUuFovRTbgBagUpvbV0z+j4n7lLsN/eOHbqdMjhgtTyEHDpaDTnWcMJ?= =?Windows-1252?Q?/csEeNY0ujgbzv9vmlJ8N5iazojCLXAoxPxqoCdHMdIpE1D6d45Ghbgf?= =?Windows-1252?Q?5MM53Ob0mIL2JokzI6vqI7RYwOhyGnmRBmUHu9pJE3cbUBD0zNCi1AW4?= =?Windows-1252?Q?7+F+gRfwBRnzx8PamMxPMiNpecpAHknc0K+Mxq29fZgUMYlyCn8/prBw?= =?Windows-1252?Q?HmfOS5UmfHfHKoqCx/HV5pQX4x73QeFRgo1pltKpk9KAzZUfHi8gsJhJ?= =?Windows-1252?Q?TmA626pZwdx9KIS6qngaQLZ+snW3q3hLg7294WYL6Mzn4LnJ3HVPe+ZI?= =?Windows-1252?Q?rXrISz+I2PSurjbGnXKkKvPpx6aGYcBzsbndEYy0ApFdvJL0a8UpYTXZ?= =?Windows-1252?Q?zHdvpL5vCavOGA=3D=3D?= Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR11MB5809.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6dfae259-de60-4236-f6b6-08da42d80354 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 May 2022 07:34:36.2146 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WrMQ7gpSFSedS0bKqAaHfvbxtDiCrHfODT6VcKLFGsS29Q8A1hBNev/BH9zUSFEAY/2nGTu7TKhchFQr41ayqQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1480 X-OriginatorOrg: intel.com 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 > -----Original Message----- > From: Kusztal, ArkadiuszX > Sent: Tuesday, May 31, 2022 5:04 AM > To: dev@dpdk.org > Cc: gakhil@marvell.com; Zhang, Roy Fan ; Kusztal= , > ArkadiuszX > Subject: [PATCH v4 02/12] cryptodev: separate key exchange operation > enum >=20 > - Separated key exchange enum from asym op type. > Key exchange and asymmetric crypto operations like signatures, > encryption/decryption should not share same operation enum as > its use cases are unrelated and mutually exclusive. > Therefore op_type was separate into: > 1) operation type > 2) key exchange operation type >=20 > Signed-off-by: Arek Kusztal > --- Acked-by: Fan Zhang