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 59D47A04BC; Thu, 8 Oct 2020 17:04:11 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AE9131C190; Thu, 8 Oct 2020 17:04:09 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40072.outbound.protection.outlook.com [40.107.4.72]) by dpdk.org (Postfix) with ESMTP id 41D791C120 for ; Thu, 8 Oct 2020 17:04:07 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D7ITxkjtnOQlNVDMB/EQxFGtTSesn+rIdfi/Ace523R2cOr0c7sWpptfncuAavgWRPeG2FC4UJoDS5yfoENyt4FN7mdGksvvt7y+P83YR3/QP7g1W1ekrqbSG+dmoQZJQY8JDdCxDaqt6cVdpjQuSR9bxY+LB7OUDok9ZzUyESn7KVB/OqWxsKu93DQypW92Y7GJ+1EkykrwnHJfDcAagGGPBM5Z2+sWAuGQamrLD1/2RkMo9uZiX7vdtP7nL0PxSWULsb64icAWiLJ/4ITrc29/PP1Oltx3a5qzdY7Fp/v88w74YsnpZ4P3tqJ3sypy28PHew6kut5Uh+Ox0HfI8w== 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=WTEBY82RktgRS0O41jdAJf2Cdd93gG/rEgOGgIXDplk=; b=IdiqFs1R0gW7d0ArmO568Bx8Dk3o9wCDnQeIm/Ic+v1YS3tHk2jBwbX8JaIZVtGjUU+a9g3w8eyL41CMcct1wPiQHIEOAXGAMzGLzmJuq65yin7/CDK9c+bUzDJ8vuoVHflRt94+wEE5waHo+8kUABeEmeCXOoIKGi+MYDidZdKvgayDIneMvqc1SwpP6d0fB2dhjXcfp8OcbAZXuSSAVvNwyNYpb5tA9g3PmbLHdf8tRq7jmyseeb9uP23wzxCa3GF2f1AKcoQlWWExDpanIEAYHxNohYOewn+0ZnCmZwrMUwpPiG0cbW+l5Fx9ZrjrUnCpMnUVwpKOMrUkJENvFg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=WTEBY82RktgRS0O41jdAJf2Cdd93gG/rEgOGgIXDplk=; b=eGEzBDbK89UGUjv4Gil0IlzoEUTMRDCi8Ui5RNahigWzkzgpa9ptGrieRakELRRkMyMvkP1XF4gyHuWibcwFXsMDvBbszDW6YjyrpEprIA0fjZ2IoIPll0BbKtfX2LXHvdtPGdEjVeuPWdM1yLQulCk9TAYdqlwhUoSmrdCajHg= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB5119.eurprd04.prod.outlook.com (2603:10a6:803:55::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.41; Thu, 8 Oct 2020 15:04:04 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e%4]) with mapi id 15.20.3433.045; Thu, 8 Oct 2020 15:04:04 +0000 From: Akhil Goyal To: Fan Zhang , "dev@dpdk.org" , "konstantin.ananyev@intel.com" CC: "fiona.trahe@intel.com" , "arkadiuszx.kusztal@intel.com" , "adamx.dybkowski@intel.com" , "anoobj@marvell.com" Thread-Topic: [dpdk-dev v10 0/4] cryptodev: add raw data-path APIs Thread-Index: AQHWkpCQja2wpL3dZk62AKLro3X5CKmN4umA Date: Thu, 8 Oct 2020 15:04:04 +0000 Message-ID: References: <20200908084253.81022-1-roy.fan.zhang@intel.com> <20200924163417.49983-1-roy.fan.zhang@intel.com> In-Reply-To: <20200924163417.49983-1-roy.fan.zhang@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-Mentions: konstantin.ananyev@intel.com X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [122.180.231.103] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 5830d222-8908-4fd9-a259-08d86b9b65dc x-ms-traffictypediagnostic: VI1PR04MB5119: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: PaGw53my1wAmFCkalvr706XzPTKFaPybJoBtwe/rHLp7Wfyll9tajJaMVL/H5Ay/BobVdHnQBkGMVL17L14kxusDVa1GT606ajQ+R6u8cpp0OvaTW7CRoJj1P+Z3JAFMZqKLNkjZR1i5Uy3/o5cpx0A2s1aMWKvwL6GZ/Wji6YliL/T4Sx7VC/F7DPcaHkQaCVN+0SQt4LEFSdKyyQG/Ef2uNDoERokVYCGE/RkPZvGpFvfIBnCnI6fL3xEV0it8yO0raMT7KGKLYZOV1Whn5FcTbK2UlLOp6erQiKhhUq3HS8NQNAPfGvyIJxHtK1Zc9Y/1lFMc0TW2/XPgoGpRRA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(39850400004)(366004)(136003)(396003)(478600001)(64756008)(6506007)(2906002)(71200400001)(86362001)(66446008)(7696005)(9686003)(44832011)(33656002)(55016002)(66946007)(316002)(52536014)(4326008)(26005)(8936002)(186003)(8676002)(66556008)(76116006)(54906003)(66476007)(5660300002)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: WRHRhPW9BSZ3Vo7Gpqz6nX4N3lggiCULNFnIXm5hK+WOUkmWylzbuRCe2SRoT1+KN7bydoRLt+i3jNKmoDmYmGeWIltI9OgAQhpaESQMtop6zksgbA7SelSPk5VdnsJql2V/yfJG+UNLo1NhUbDWNkiL0/tqbAhKMElfgca4PooDVp11f3oUGD1B6+bD1DPvmGHGhPaQiEjWeYcT4Cu/TTdfSqlcjqmG8r0gFvgP2ZSK26FdRnxh/w7GIHPCh+7CuPfqooRjgE+W8x0hobkIqwj0BxUb/CuKWesrHThKDFkLi9VVy0F1eH5RZfrylANXPkTQ2MbNqpkwaaR6O4SZrih/yjhOH+G9cdn45bUAXcCu15Uy8KOt5k6H6TrvnGFoxu6EY+/9sECyy65a7r7bYEaokEtNmS0PVEv5bqnv4loMgQV9GVt99pv2Eb2nu9m+tLItLI6M8Jl3rDsnAEsASrdHsjB8v+F0XGUqjOckZMa25Q6HU4ksTxsLzkWpLWpFJB3tVwWkDwIVJ6FrFSI9iEGkgMkH5DQ71AbohcXKXruasIZ85JPvxP5zicQMKPsgIFL5a2dtdGa4S+zkyGlcIVFc/tvH5uTCjjPwlVfPGIOMGS/THScCrSmsffQX17OYMulia6cxlXyxrmXqTZ3VgA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5830d222-8908-4fd9-a259-08d86b9b65dc X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2020 15:04:04.5556 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5qFT0JAgkI90wmP+CQR7cpiHBBjEHFMG9aYUVOGo9U/QHRkqaOR9rIgIlI0CRu6Bqx+6cxO09WfyCx0MT80FdA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5119 Subject: Re: [dpdk-dev] [dpdk-dev v10 0/4] cryptodev: add raw data-path APIs 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" Hi Fan, > The Crypto Raw data-path APIs are a set of APIs are designed to enable > externel libraries/applications which want to leverage the cryptographic > processing provided by DPDK crypto PMDs through the cryptodev API but in = a > manner that is not dependent on native DPDK data structures (eg. rte_mbuf= , > rte_crypto_op, ... etc) in their data-path implementation. >=20 > The raw data-path APIs have the following advantages: > - External data structure friendly design. The new APIs uses the operatio= n > descriptor ``struct rte_crypto_sym_vec`` that supports raw data pointer a= nd > IOVA addresses as input. Moreover, the APIs does not require the user to > allocate the descriptor from mempool, nor requiring mbufs to describe inp= ut > data's virtual and IOVA addresses. All these features made the translatio= n > from user's own data structure into the descriptor easier and more effici= ent. > - Flexible enqueue and dequeue operation. The raw data-path APIs gives th= e > user more control to the enqueue and dequeue operations, including the > capability of precious enqueue/dequeue count, abandoning enqueue or deque= ue > at any time, and operation status translation and set on the fly. >=20 > V10: > - Changed rte_crypto_sym_vec structure to support both sync cpu_crypto an= d > async raw data-path API. > - Changed documentation. > - Changed API names. > - Changed the way data-path context is initialized. > - Added new API to attach session or xform to existing context. > - Changed QAT PMD accordingly with new APIs. > - Changed unit test to use the device feature flag for the raw API tests. >=20 I have some comment on the V10, please revert asap so that these can be mer= ged in RC1. @konstantin.ananyev@intel.com: Could you please have a look at the 2/4 patc= h as well? Regards, Akhil