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 B1DA7A034D; Wed, 9 Feb 2022 21:19:16 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 48C7C41141; Wed, 9 Feb 2022 21:19:16 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id CB3A941101 for ; Wed, 9 Feb 2022 21:19:14 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 219BevxG013159; Wed, 9 Feb 2022 12:19:11 -0800 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2105.outbound.protection.outlook.com [104.47.70.105]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3e4cpj28hd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 09 Feb 2022 12:19:10 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H3L1V9Yt631m3J+T10FkoTdCDJzyG6vTiEz/24VkoSSe06WgBeRWl8xXupsPILICnpd86Zyk22kIj10jApiO0a2ap552DPa0CJ0tNOIPeRJ7SlcgKivWW6IOo/AMLmlmDstUYKFtQ0RYctYPKuOvVuv9e5uUHW+PQUOenJISzP3vMOHasuLZW2810lNycqJTzoHDGWsrsmSwdX6eLRUUj+JrYfj13Q7x7oGWzWM/lqOy328ABmIJOCH5f9TVtNLfnlJc7jaUYR0aWffP/B54W8uZZhbxjFlJLW2tSAgkCfFnEO/nhXifZgR6WeRUJALN43PQd8zJYnswxSz2FwQ0VA== 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=WuCp1Tgk4tYhGYwfoWbcO6vHueChLJupl8N4GNnMxG4=; b=g00wSK4dLcK6uhYUw1aJQtEE4z+ime8sHH8Eljlq8wT01/1G/TK7zrMJ0C5OFVnRLxZikI2P/MDLO25ESKua3wzWoQ6dBN0ZszVsonWL+JxXc23ZIdSlhqV/eRj9xfe0blKErTVAisakAdCT2PQfh6Vd4w8Rx9HjSwMrV04AEx0yFy92+EIEng03Bolwz2ihN4ot9hSuL+0OkCYJt/2tvdTUF2yDdp5xapyTehS408FnAgqVABHm9fZbPXVejgm83kN2L/5L5c1a/alj9AtQB9V4EeOlTWwudeWxrLt0rTgfFp8I8bNWRKUkCwNVU74kamFmy/f4qAzbOMFLjbErVQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=WuCp1Tgk4tYhGYwfoWbcO6vHueChLJupl8N4GNnMxG4=; b=KRbL8Yk8TEdEBE5M1gEQVAYBA8b0z9A7pZYLVEQy3LZ5EE5kGGOZsMsqXvV8PmCNWj5xBQDu8W/do9H6VH4WkqRUh+i0ELpYp7EZI+ubR00/3ddQ9vgn3gitfcJwR61MJ4oUeM8mQ9L7SEvNPQUOVA7AlqH7O+dywEYZ1GgaJUs= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by PH0PR18MB3800.namprd18.prod.outlook.com (2603:10b6:510:29::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.19; Wed, 9 Feb 2022 20:19:08 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9985:c3ca:2f91:7fc]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::9985:c3ca:2f91:7fc%5]) with mapi id 15.20.4951.019; Wed, 9 Feb 2022 20:19:08 +0000 From: Akhil Goyal To: Ciara Power , "dev@dpdk.org" CC: "roy.fan.zhang@intel.com" , Anoob Joseph , "mdr@ashroe.eu" , Declan Doherty Subject: RE: [EXT] [PATCH v4 5/5] crypto: modify return value for asym session create Thread-Topic: [EXT] [PATCH v4 5/5] crypto: modify return value for asym session create Thread-Index: AQHYHcszMK6FNgL1AkO0A+17RGbIcayLqNkQ Date: Wed, 9 Feb 2022 20:19:08 +0000 Message-ID: References: <20220209153854.2740455-1-ciara.power@intel.com> <20220209153854.2740455-6-ciara.power@intel.com> In-Reply-To: <20220209153854.2740455-6-ciara.power@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d9d4eeb6-730e-4ba7-ceb5-08d9ec096d6b x-ms-traffictypediagnostic: PH0PR18MB3800:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: n5jIVY+yPKXPwAXbvux5/IlB271P9QyDkoCwGkpo3N8jde8lB6jds/qjbhBnLkviynVKitrtcck9aYSVf7huMalIW3okNDGAoPEGWqYA3lzyVjGmiC3ibkK8hYoWoWEh5fHEC7adkIIBR3VcBCWapcc2jBpyurATAxAPp37mQVdAZ/Sj5D3m3XMzNhDOPia7iUq3HMScPZtNpabteXEHgaLXcJ3s6uiET8ph1motiuuWPVulVzWK7Aay8Y6lQ3fknY0p1TsT5dO5tPIEkpijIqRXEfy0hoMVbnQsk9WoZ80spNaYFaDRvBTs/L4u3JfYIEjOPWCUs6x+QyrVoUClpF+o7L/Bv1aq6EKip8CrcLz+WDW/TqrUlst7GB7duQq2Q1I8q0IWwj7nKYotuZZmuS+GwbPoRpyMKBv92fdjSXwQEfaEF/FkvjvKa1wgZ5tDSKBiYjxHeWZK4edw5DMLxk67KHZDXwwa3OO/pgvNESViEoFiYUte8h47249Pv5IacBGZPbbJB7onf1fakTMDKyWFy31CObJVGpQByb0yfUW7H9DVbnr06igdT2X1eMpvcq1wSZRFaDwykjnNbAw5VF/UmrhycwptJY18hDf0pTRi3Vw/caGlfhl12+ibMc7TMAw9sYSgqhfHUGVepUh8Pb6U7HzMpT4bCW1WyMFOZg3iKZQry7PlAmajqnh/q483t57gA6bcb8Te9OQbzbXOSQ== 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:(13230001)(4636009)(366004)(5660300002)(122000001)(66946007)(66446008)(66556008)(66476007)(4744005)(4326008)(186003)(26005)(64756008)(6506007)(76116006)(7696005)(52536014)(83380400001)(55016003)(38100700002)(9686003)(54906003)(8676002)(2906002)(33656002)(38070700005)(71200400001)(86362001)(316002)(8936002)(55236004)(110136005)(508600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?zBRXRHVyaW/6fp9vVWbCv1JY1oEW/vtxgLabe28ftihAedMKNsksjcao2bME?= =?us-ascii?Q?KDiUuEy6i8Yx9L0nKi3D30adClNstEKau+JNH8zRv6mhqbx1fsKOSU/+9vZD?= =?us-ascii?Q?zKknoZZZkgISwlgewtobTkhw/a6A19ePEgdeOs/YXHxFTYzsCcXktEj44+P+?= =?us-ascii?Q?D9JRDQ1Wwi7P/Rh5jU07A5CvSVnU+dbuHQq6eg59ByVK4YWNzE/Ipq4i+z9U?= =?us-ascii?Q?INBq9mVd0uKxtblvgfWccF3eW/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?Q?YMT2o284Ll+dTxvUyQrfz0mNbpz1LqkE24uoz9TkK2ygsG8o0gZzyMVZ/uWF?= =?us-ascii?Q?h+gSgCImlg1pMmaGViPuD3YLrpej0zHcsRiSjWyMPbZdE6yqArgd5lW93MJY?= =?us-ascii?Q?uvwO47OJwvpRuFlhZE8rnFGHYZyfKy0wpy/1Q4ijliMHURyTLMa9e3iv/Q3c?= =?us-ascii?Q?CDyX/6C4Yr9taPn6S3txg9vqkBCQnJPcXKotPcAYcbPfmaWX1etdKefeYe3E?= =?us-ascii?Q?+o98tTGwdAlV9udaM0s3gr+MInh+VS5KO5StiaUGptNFo5DRxLbTKObyo1VZ?= =?us-ascii?Q?OGAHbCQFqk6uV8XOd7vZgkBxTrICYDfOuVtYPR1NEIBFS/Cuxfdn2bd4fK0t?= =?us-ascii?Q?idTMbjRDx1y8lVLTprRjOB4Y9rviVgKe7aizL58oiOkxqg+LZ8z6BBe1zrap?= =?us-ascii?Q?1aaKOHQ0rYBoPdJHxy2USoxOSbVz274XYyu7dITASU04I4GtDzh+dmQvSwey?= =?us-ascii?Q?PfNc1nTRwnIEmIHbavbqEVQ=3D?= 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: d9d4eeb6-730e-4ba7-ceb5-08d9ec096d6b X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Feb 2022 20:19:08.3341 (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: wkeghOzAc9Hvz4gyWIM7yGnmRV/wYp325/AIiYbN+LtGNgp8DUtg+WAQK8t8HOZDakE5Q2N9wgZ/4yojajR4Rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR18MB3800 X-Proofpoint-GUID: Qmbc6sGiVUjUT2JRUNbK8_-hLwyyrjNd X-Proofpoint-ORIG-GUID: Qmbc6sGiVUjUT2JRUNbK8_-hLwyyrjNd X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-09_10,2022-02-09_01,2021-12-02_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 > Rather than the asym session create function returning a session on > success, and a NULL value on error, it is modified to now return int > values - 0 on success or -EINVAL/-ENOTSUP/-ENOMEM on failure. > The session to be used is passed as input. >=20 > This adds clarity on the failure of the create function, which enables > treating the -ENOTSUP return as TEST_SKIPPED in test apps. >=20 > Signed-off-by: Ciara Power > Acked-by: Fan Zhang > Acked-by: Anoob Joseph Acked-by: Akhil Goyal