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 9BB2942A97; Mon, 8 May 2023 14:33:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8BD6B410F2; Mon, 8 May 2023 14:33:03 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 79F4A40685 for ; Mon, 8 May 2023 14:33:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683549181; x=1715085181; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=DVF0wKqsVFbt96+b3PHuyvsAZaGR0/cLw2HUdT0JLK8=; b=RJDNKwfBByhwkWVmtEQ7KJFTQMsl/QZWdh/V7bMiGFF/fKXq4C5zsqR9 yYasjSPH1aIafudAkLQOUe9JoVKQ6lS7TyFW3Uqbw6Yxi3Gk7gAG3pRWe OoBeZ6dDNDiYUFQpO6uoMgo7WfB1da4EIIsAto3gT7Os4kHBePnYc20z7 j1v8EIt7r192zB/urNvWhXxdqR94CUHStD76PgGDNco6zBkqSBDimv8h3 XNPaQqac1qm3jjbOZrkasKsGufqOjLIuFNLz53HKXHwGJmratDBoUO6Yo VQnqRY2/b+5nwEqWpIKdC8tl1sQK4sDQbCx6TWLUCUrZXPN2DSjh3NSNe w==; X-IronPort-AV: E=McAfee;i="6600,9927,10703"; a="329991136" X-IronPort-AV: E=Sophos;i="5.99,259,1677571200"; d="scan'208";a="329991136" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2023 05:32:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10703"; a="763381850" X-IronPort-AV: E=Sophos;i="5.99,259,1677571200"; d="scan'208";a="763381850" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga008.fm.intel.com with ESMTP; 08 May 2023 05:32:56 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 8 May 2023 05:32:56 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.2507.23 via Frontend Transport; Mon, 8 May 2023 05:32:56 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.42) 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.2507.23; Mon, 8 May 2023 05:32:56 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J1tbQygtqeV5LxbaqBrtNU/8/YpXHZzP3DZunhZa7BUlmmO7Hh0qfhPN5avL/DcsUNbbLcdnSoCRMQcv6JLFMcRxhuYoA81IORhmQPUL0Xr5ZqNTRjF9wvU57Z8mvJjg9ixe1MKJP1JTl++QosO010gV01ALmwy1D3ePwPXhuPWWRSEW4mkq9Ao1TcC3QZoMyGN5rq7QXRzTZDHhGeqEMp1o1UGEQkiX1X7oKoyieubk+5qX5go3O0CcG7UFlFxXP3OVS4hbgXnb69wSZRIQoUMPeCES0w8zbcmRMpdMqo8J3X4h0Wp+4wl/e8hE2HZGWf9yfQOEySCKmEsUdu+apA== 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=roryI2GM8eWjVxcyrV/13f2dEt+pmxsQ3wFOquxxRAA=; b=mBS8rGXiM9d4k4vVP0Lg6gHWXXCQs/jr3kjq9rFhJ9xU/200XSMFAW5YHfEFM/LW82CcsPZ3IguKJGnD65N9VQY7SeB6eRGEkoiGsCUYDs5EjS0qB+raf74PznatEjUfAO2ETlpx0rOovxBlVMNHWAsEhDWTPGGfPo6tdzpRZ1JYetuqthBmoXWgki4+NQ0X22wMlT3ZB4eFE4kC5DW9skSp32vMFEvXpOUPaZXybi7crb3bo2rZBjZ7ubCii/BicyZ5hgmNBw8MQZb7xO0/Za/CaEJj7Jc/hqSMGc3msmUZ5zQ2hZYY1PQlCxjdViaimRYUTYnhlvvXKvhz50Hs8g== 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 SN7PR11MB7639.namprd11.prod.outlook.com (2603:10b6:806:32a::14) by SJ0PR11MB6575.namprd11.prod.outlook.com (2603:10b6:a03:477::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6363.32; Mon, 8 May 2023 12:32:54 +0000 Received: from SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::43d0:7481:a8c4:76a0]) by SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::43d0:7481:a8c4:76a0%4]) with mapi id 15.20.6363.032; Mon, 8 May 2023 12:32:54 +0000 From: "Power, Ciara" To: Anoob Joseph , Akhil Goyal , "Fan Zhang" CC: Jerin Jacob , "dev@dpdk.org" Subject: RE: [PATCH] cryptodev: clarify error codes returned Thread-Topic: [PATCH] cryptodev: clarify error codes returned Thread-Index: AQHZdo3mkN5ueiVKIUqXUXpEHHrWca9QZTIQ Date: Mon, 8 May 2023 12:32:54 +0000 Message-ID: References: <20230424091920.660-1-anoobj@marvell.com> In-Reply-To: <20230424091920.660-1-anoobj@marvell.com> Accept-Language: en-IE, 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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7639:EE_|SJ0PR11MB6575:EE_ x-ms-office365-filtering-correlation-id: e76dcf65-37e3-4446-beaf-08db4fc05883 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1WvN036AlvxRG8xesGaSuswLQsYfEsBE2lRHp8omeb2Tmlft/UuI710ww1AIp+w/p1rffp4sUNovGyM+urY7F5OI/7Uq4I7+l5DoUdVoSWcPj5GR4M8sjcm4YRmiieDB3aVhypH5UMFQgPfJTHDMT+tWjXF7bagTd3+B6UNjgqPWXAkKjbj17mfmk+e7rZGTBgD/82VLs+ZhxjJN5UDq3jWuxLOHBE6OYU620q1Z0Y+35JEQRtFzj3hobzSa7ExCza95ia+8zE2IGWPd/Y8r9RE+qbZfRBJo3Yy0abGqGhZNUh0B25pOSQac5+00uqCRtgv89YKA9JOYReduNwqR1QJZAp6NSQRmxX6p1B6hlkuUFfeAlz/fL5E+m6AbgTNbrwFaLAqIfnpizsmlRvNBBn53LvnQuuN8WpZAX16SaE1xO55CMGSnXuDFYkDnDvv9eWjBJ859jXIad0OXKpi1BGI9dTh1G71NIMjQy3/XTVrUICNVWKdo+m6NNgVPNe9AjKIaFodqLM9JGAfEpz521DCVhOIFZjgSt+ktGOYKI/VQan9SPWlJuyl/+3IDvJ3XlobeMykV55Dt4IZUFd6UMr9pHQ9pvnPWl9iIm+2jbM32UL+r6egzwP0CZSy3qfrE x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7639.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(39860400002)(346002)(396003)(136003)(366004)(376002)(451199021)(76116006)(66556008)(66946007)(66476007)(66446008)(83380400001)(33656002)(9686003)(53546011)(55016003)(38070700005)(38100700002)(82960400001)(86362001)(6506007)(54906003)(122000001)(110136005)(478600001)(26005)(186003)(71200400001)(7696005)(2906002)(4744005)(52536014)(8676002)(8936002)(316002)(64756008)(4326008)(41300700001)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?zedLme2zv40Mtl+w/uB3ngt4gCeTFS77lWkrlDjBoRTrA0M5O3odD3QdJ1zc?= =?us-ascii?Q?lhfsm9mJ5SHY9DuZhizPEh6jSEFOnyOVLQsRYlEOkOsC8m6gT/IUd3DTbL5b?= =?us-ascii?Q?WrRDUBISDHej9Qh/3JsuGmVCnP1ykJ2NjhFqiCyOP+USrjpFW8nc0pGWMRs0?= =?us-ascii?Q?liwrIm4ffmo5BnmFl9J3ABEsNwKJ2tOWY491z+y4RvRF1dGx/bp2kl7i9/FT?= =?us-ascii?Q?rydS+fl0JbMxjO4I4R61z2CGeiVmB1Pd2r3gByQluU/Rh0opGfDzi10p1reL?= =?us-ascii?Q?vjMw284VGx3MZ8HwgfmPmSeQl70BCh3UGb9s/auOjvBJRgwtVKiuCSfW3LaR?= =?us-ascii?Q?+WpoYB2XFtgq85kd6s3vmOCheZueOzGOYZaK/VrZI/j+v1NY/wD/W2GOaC2T?= =?us-ascii?Q?40XgZ5ncji6mEaWXUomWxIG4CXPirw9e2qyoXAbcyaz5MCPl/e0CnaYEr3it?= =?us-ascii?Q?4XJqVdA7hSFmQPks0a+1kvFHTzXWtZEUDQxVh+5gXGp/tW4rRYX7pQdmHOTR?= =?us-ascii?Q?xIIWdwpj96/AnJDjqaWdfWsoQ+gsCDP/aYRKBWAYEeWArLMKu/WuP49mhMt0?= =?us-ascii?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ovvQR8sPd14885ZY0fbzzAikajB0dKupNz?= =?us-ascii?Q?MZdTr+xjMr8IPGaTrxecWz9XBFP58QG0an6b6ILPIVne6zK1kTpRCH35EsiS?= =?us-ascii?Q?TtEdAzFN/fhnJ/R1dPccNUiujTenIfhJYuL+Em2q?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7639.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e76dcf65-37e3-4446-beaf-08db4fc05883 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2023 12:32:54.0356 (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: ZMLgWVwhxy67nldZXfLl3T5gMMDLUpwmCIraIF16js4G7i114BMxqWBDNHAZsOZCsarTDBOSP5U/iwJjQ8BNdg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB6575 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 Hi Anoob, > -----Original Message----- > From: Anoob Joseph > Sent: Monday 24 April 2023 10:19 > To: Akhil Goyal ; Fan Zhang > > Cc: Jerin Jacob ; dev@dpdk.org > Subject: [PATCH] cryptodev: clarify error codes returned >=20 > When symmetric sessions are created, it may fail due to non-critical erro= rs. > When PMD doesn't support the specific combination that application > requested, it can return -ENOTSUP which can be handled so in application. > The API is already setting rte_errno according to the reason of the failu= re. > Clarifying this in the spec to list down possible error codes. >=20 > Fixes: bdce2564dbf7 ("cryptodev: rework session framework") >=20 > Signed-off-by: Anoob Joseph > --- > lib/cryptodev/rte_cryptodev.h | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) Acked-by: Ciara Power