From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id EAB89A00C5; Thu, 7 May 2020 20:14:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 91F501DBDA; Thu, 7 May 2020 20:14:21 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 5C9701DBD9 for ; Thu, 7 May 2020 20:14:20 +0200 (CEST) IronPort-SDR: 8+xJiVrsB7iFF6Ff259mey1i6GCnKUeF8SnSlQVmEM/mC4au+yR5nu6FMZcNA4V10MCyvYEC+G uj4S2V292osA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 May 2020 11:14:19 -0700 IronPort-SDR: dhz5JwuO7KAMaV2lL4E80uKaJaqyH6XsHTPaHkI8iVru113eJwakgmN0dfbSAfQRmXUSkM96Ie npTmgrH5Rwtw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,364,1583222400"; d="scan'208";a="435388283" Received: from orsmsx109.amr.corp.intel.com ([10.22.240.7]) by orsmga005.jf.intel.com with ESMTP; 07 May 2020 11:14:19 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX109.amr.corp.intel.com (10.22.240.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 May 2020 11:14:18 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.105) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 7 May 2020 11:12:39 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=F9SeFXbie/iHsh2eLvYCAOocxN6b2DisEFcptR0Hv2eXXC77xy+MsZqfKpxmD8wKEUpHjrfevdRYBEKtHHw7pPjKQAmxbxZjf/KNuyfFFHb84IWwbfRlUMgzQ8vwCyieTWPiCxqMw2BY3tcuGFbFpyN4KdiOKZmnikYFk7pu/doVMSSSRn4XNKQnh+CjzyjDWJkKrqLhY27fnHM8JtMGDVdpEbK0SZ7uoS28hFQNsNa8yv9FlFJ2m5INafvN3W8K6vHJkJzB1IEobG6nfOH5VhG1QIZPv5pC+54ZHio1PWcPbvKidwIYC/nItv3oDlSZMBo5xhG4dXFbXMyLwDHWjw== 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-SenderADCheck; bh=ocBuFYOTrz300U9VRNZuCMbQd5o2NQjL95+1AV0qWDE=; b=bRH1w/spuLX9dG/vztKDAGcPmKmdFPFW5A9EOh2yaux18vLbLe0D0n1dcNk6ZDDcaJ8d9W3nTIiXQXco4qrHwbOv61lgPT8+LLLpVWohZ3hhyoztBzAPBnOgxGL5x+0nb2kBAzz9yBqQ1rgHH3cV3WLbRFMVeOn+GSj8UiAXzz66lSYKc33+Lb308d6DGtnGhTNfEvp/26C3jOoeicB3oncgoGqFBXQZfLgnYJrLx3f38Zudibs6jQrkck0IC2fIHtDunP89B1pnb0WZ0RMwWxz8Q0xp68vmeww+E7b2wAmntatZFcL+Y2LOeAdO7KGbN79DUVwCn1UX1qY0vqcqYg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ocBuFYOTrz300U9VRNZuCMbQd5o2NQjL95+1AV0qWDE=; b=eJBp3gEl2oWKvCvllKsVPsY7geOTedlLngz9ScffepXxDfo0Je6XrQoSki589736wFHztU150U9LfLmSQzCMQRbLQH4cs5aUg4RO+IOfXNXQ2ZKHaeA6Okg6IIN27hsBBSGCgAfNS9S4gf03BWr8RHggj2h2SsC0GUtl/DxQW0Q= Received: from SN6PR11MB2880.namprd11.prod.outlook.com (2603:10b6:805:58::15) by SN6PR11MB2605.namprd11.prod.outlook.com (2603:10b6:805:64::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Thu, 7 May 2020 18:12:07 +0000 Received: from SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::c4ff:6258:78f7:ff90]) by SN6PR11MB2880.namprd11.prod.outlook.com ([fe80::c4ff:6258:78f7:ff90%5]) with mapi id 15.20.2958.030; Thu, 7 May 2020 18:12:07 +0000 From: "Trahe, Fiona" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "Kinsella, Ray" , "akhil.goyal@nxp.com" , "Richardson, Bruce" , "Trahe, Fiona" Thread-Topic: [PATCH v5 2/2] cryptodev: version cryptodev info get function Thread-Index: AQHWJF6lfN5SZ+oZgkO49M9B9HG3Naic7PxA Date: Thu, 7 May 2020 18:12:07 +0000 Message-ID: References: <20200507105703.11804-1-arkadiuszx.kusztal@intel.com> <20200507105703.11804-2-arkadiuszx.kusztal@intel.com> In-Reply-To: <20200507105703.11804-2-arkadiuszx.kusztal@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.151.191] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6dd0d6fe-6784-434b-2803-08d7f2b2279e x-ms-traffictypediagnostic: SN6PR11MB2605: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3044; x-forefront-prvs: 03965EFC76 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nKdwd3h8OSCjWXUDXNzZvnyhenlzK7U7Vc1swqRi84F56+851zQswYJbCU7MVq0rXnW4uJQtIBiCuKeQwYO05cx+TCknxmS88Yzpc8hWBAWm6okhajxxYost4WwOz7O1c1/ji607qsLMgqME9Yf3/QYnftgoyIFki/iVwp57mtfpWn7FIxsqb7ClPtBsv/mTMe3V2x4qN8SaY+Cq+pnQJhe0uEw0p3xpfHxQrfvEIvn6RbBnKTeDCh27xIrdclfiZIfJnN3CTvC59XrBZBi3n8RtgHB7yrVndycL1fjnoKLmdjeOHD9p+eloWlC5PCFEl4ZpaGIDZOEpM62OL1E7MuQWUVEx7S0BTlyK6GFtA24umdoI6JPZvVUyEe0h67OpaQMbR945EewHM+0Nbly8NIWYotauqIOLY8PNlmE0bUstHfW7R2HUag1YPdeG1k93v61tUQ/zfQfWlgJ6oXXOZ0JO+kFWf7pXVemW5o33KY32lcOx9++U34xRdVjgscBW5K3bUnXOSnrh4r4SU50n7A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2880.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(136003)(366004)(39860400002)(376002)(346002)(396003)(33430700001)(8676002)(2906002)(33656002)(4326008)(71200400001)(186003)(9686003)(107886003)(55016002)(26005)(6506007)(53546011)(7696005)(86362001)(478600001)(110136005)(54906003)(64756008)(52536014)(76116006)(66476007)(66556008)(66946007)(66446008)(83290400001)(4744005)(316002)(83320400001)(83280400001)(83310400001)(33440700001)(83300400001)(8936002)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 88TAEUZ6m1XaV2fWGlgplMf4kaLvlq8fUkHPHfb50jKoDo6wsIP9F1TZ/D20jfKjQmB8rT6YB9aG8PdxnF8H0RB/o0Q9hetZPLNDwIjwqBfx8d41+N0w9iAS1m525m8lzT/UP9Vrvbf4ZPYYjH8DYIvuVwpq2eEMq2ph+Lt4nY2vhj8J/z83tE4N7P/yT8/DH01zWr121wAgFrQ+0YXXmOaRAp+ToA7NpWGtF5OOgyWl7DpP5QzFxYpj256A2SQzxIgd+RR7WaiFKVJFwVT0f+mZQAeYvCtVHrmZ9Z6ej8qKKLcw1LX3Q+FVQtVw+4es5KgXBs5WoPsslwyqonjLZTPP8L/FUV7F34PBDnTfhQEzNee6qsHWAx2iUC/IYH5xUP/Ksdtyiz4Hz1C/ER6QTfe7tkt8Vf2zWF+b+ggc872+lA2FyzOYg0F+6XGrspd1cczJUdKO0LtEumgyfbWiPDLdS5UnUCPrZSyrqIURtTGmzgevOTvFBWZOhAXInW/rgpdGflJ9OSdZAkzAegHhFPnVbwsR0yaqpHkK34XtCQ5kYlaJIqy0kz5W6+46bhqVIvbrNxfUvA9YsbLuOGOScw2GJcu7m11cjgeBDOdKTaedd3J8QnkFsE47Jo6lhPoezLuJnZGlpzpg5LtUbWlY7lH6S5piBGKQvDXNRyF6pDvhBPPUly8iSBDEHE4QlRseVxC3thctGHjISAxspIQOwGBTfv81SAwmL2++h630IfQyjSR66A/GBMbZiYjx+T++xrewxvXV3uhPotQjlmGezavLrtKhAPnqBkQTH8Cub5NLtN/nw+jRi5JQ8qEMQ1Fk Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 6dd0d6fe-6784-434b-2803-08d7f2b2279e X-MS-Exchange-CrossTenant-originalarrivaltime: 07 May 2020 18:12:07.6353 (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: fOPpu8fxVOpHdMGk1V8qSO3VrLj09Jiw4Zq3wf1ZuiJ9FniMJtHxJiQQmhVqZSDy8XixhCN9xhIeZjhjimPrzw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2605 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v5 2/2] cryptodev: version cryptodev info get function X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Kusztal, ArkadiuszX > Sent: Thursday, May 7, 2020 11:57 AM > To: dev@dpdk.org > Cc: Trahe, Fiona ; Kinsella, Ray ; > akhil.goyal@nxp.com; Richardson, Bruce ; Kusz= tal, ArkadiuszX > > Subject: [PATCH v5 2/2] cryptodev: version cryptodev info get function >=20 > This patch adds versioned function rte_cryptodev_info_get() > to prevent some issues with ABI policy. > Node v21 works in same way as before, returning driver capabilities > directly to the API caller. These capabilities may include new elements > not part of the v20 ABI. > Node v20 function maintains compatibility with v20 ABI releases > by stripping out elements not supported in v20 ABI. Because > rte_cryptodev_info_get is called by other API functions, > rte_cryptodev_sym_capability_get function is versioned the same way. >=20 > Signed-off-by: Arek Kusztal Acked-by: Fiona Trahe