From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by inbox.dpdk.org (Postfix) with ESMTP id A416FA04BC;
	Thu,  8 Oct 2020 17:30:17 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 75BC51C1A9;
	Thu,  8 Oct 2020 17:30:16 +0200 (CEST)
Received: from mga06.intel.com (mga06.intel.com [134.134.136.31])
 by dpdk.org (Postfix) with ESMTP id 664811C1A4
 for <dev@dpdk.org>; Thu,  8 Oct 2020 17:30:14 +0200 (CEST)
IronPort-SDR: oZv1l6HvxdjgUQuli23O6ANbNZBlBujOnlChefJN0uzgM/qy9owfMgw+T6R8JzmIWFDEfD+84y
 p3NuIPVVAirA==
X-IronPort-AV: E=McAfee;i="6000,8403,9768"; a="227002575"
X-IronPort-AV: E=Sophos;i="5.77,351,1596524400"; d="scan'208";a="227002575"
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from orsmga007.jf.intel.com ([10.7.209.58])
 by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 08 Oct 2020 08:30:12 -0700
IronPort-SDR: nY0bkczEf3+GLT6tPlEEKf88LZwOLKzjWLdn7NLqWrqd975VjILxgkyT6UNZ2eGip7JKkvDAq6
 8rqA9xX7bo+Q==
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.77,351,1596524400"; d="scan'208";a="355420249"
Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18])
 by orsmga007.jf.intel.com with ESMTP; 08 Oct 2020 08:30:11 -0700
Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by
 ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id
 15.1.1713.5; Thu, 8 Oct 2020 08:30:11 -0700
Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by
 orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5
 via Frontend Transport; Thu, 8 Oct 2020 08:30:11 -0700
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.176)
 by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server
 (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.1.1713.5; Thu, 8 Oct 2020 08:30:08 -0700
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=ZRj1XzR30TY1CxAjbwvNXxj7G7THzakP73md60s0i065zPtEiJGnDvPVitEIqIrCT6BMl5EEztZsGrQWee9FS9ME3Rc4ZxLRvApCs6Qpp/SNGF70dRIH8hHJyLLXGZeVvaysB3OJpobuFSQ2boTyvHgBJonqVgEvKhy6ctuzvVx+z9oJrjijev971Wyrlhi+pP++dTcVjfQF5+SihDZ0/9nbDOunPmalvkwoAGUO/IUrFSs3RsWJLxHfChVEqoSVNJh62TkqjAEGI8rI2RNmy6fWiCY/hTN81TVLGnDs8NfoZ1No419M5t8z+f1i1ZL/wdb+InoD6taRcEcUn2aqyQ==
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=sRuK8oZzITVbVHHbjNhGSIHmY96g5fzo7BbSIynwzJ8=;
 b=XPgUQ99w22lge1ZNYn9lQwtWrOmODGKlol9OPmLcECgwBcSiJw0XRwpTdSsQNhacIHou+Sb8o45ptcX+weIpGXjRK7QX+LSCwhDHCVCG0FRxwDOFuyKplAWN7gVcLAurIXqtZ8On2GqZcwuA752iL+Ch1Ao8QQWQlOdOGopsNvWz/MK3Xf2HU65U+KsTiJIyNCOn6LcnwTI2QMQJV98vQp54e/BEGGL73WB+vVLl7ktbH0bLJei4fQ9Eo3bn1JbTNsB0XKMJ5SOZ7AKqvtiSUnHc8GfoKYXu134HJNONK+UjH0xxNrBLfTh/BkoPYLAF1d48BUgDTCwyI10boIW3IQ==
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=sRuK8oZzITVbVHHbjNhGSIHmY96g5fzo7BbSIynwzJ8=;
 b=EKqUC6s+BRqJrb3x6PNAnHYvTC4BuK4ige7LWZr2p/4tiVkqkyBjREBBw3YDHJCp8urcjhaNCpkTld3arr3SQ5sC+taltSDBQE+Zp8r8TdkPkI90KppqpY7szUQunXnbaitViTR/+f7IomPIIqEKT3aEkr/2GE/F+Pl1L7/MuDw=
Received: from BL0PR11MB3043.namprd11.prod.outlook.com (2603:10b6:208:33::19)
 by BL0PR11MB3075.namprd11.prod.outlook.com (2603:10b6:208:7a::14)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.21; Thu, 8 Oct
 2020 15:30:07 +0000
Received: from BL0PR11MB3043.namprd11.prod.outlook.com
 ([fe80::11fa:a7fe:329d:9239]) by BL0PR11MB3043.namprd11.prod.outlook.com
 ([fe80::11fa:a7fe:329d:9239%5]) with mapi id 15.20.3455.023; Thu, 8 Oct 2020
 15:30:07 +0000
From: "Zhang, Roy Fan" <roy.fan.zhang@intel.com>
To: Akhil Goyal <akhil.goyal@nxp.com>, "dev@dpdk.org" <dev@dpdk.org>,
 "Ananyev, Konstantin" <konstantin.ananyev@intel.com>
CC: "Trahe, Fiona" <fiona.trahe@intel.com>, "Kusztal, ArkadiuszX"
 <arkadiuszx.kusztal@intel.com>, "Dybkowski, AdamX"
 <adamx.dybkowski@intel.com>, "anoobj@marvell.com" <anoobj@marvell.com>
Thread-Topic: [dpdk-dev v10 0/4] cryptodev: add raw data-path APIs
Thread-Index: AQHWkpCWrpdgn39LAkiGpiPVHo6H06mN42QAgAAHPEA=
Date: Thu, 8 Oct 2020 15:30:07 +0000
Message-ID: <BL0PR11MB304338E6FC4F018D50312F0AB80B0@BL0PR11MB3043.namprd11.prod.outlook.com>
References: <20200908084253.81022-1-roy.fan.zhang@intel.com>
 <20200924163417.49983-1-roy.fan.zhang@intel.com>
 <VI1PR04MB31682A9F817E6E2BF44E930DE60B0@VI1PR04MB3168.eurprd04.prod.outlook.com>
In-Reply-To: <VI1PR04MB31682A9F817E6E2BF44E930DE60B0@VI1PR04MB3168.eurprd04.prod.outlook.com>
Accept-Language: zh-Hans-HK, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
dlp-version: 11.5.1.3
dlp-reaction: no-action
dlp-product: dlpe-windows
authentication-results: nxp.com; dkim=none (message not signed)
 header.d=none;nxp.com; dmarc=none action=none header.from=intel.com;
x-originating-ip: [95.44.220.85]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 63e5ef6e-6415-46a9-af0e-08d86b9f097f
x-ms-traffictypediagnostic: BL0PR11MB3075:
x-ms-exchange-transport-forked: True
x-microsoft-antispam-prvs: <BL0PR11MB3075C39A1C1E230295F45353B80B0@BL0PR11MB3075.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ZCwq3wIus/TXwupm103n1rT4hHMn9o65eeD9wZ4tmLNVblxEbX0A44l48LZsZw5J5XD1gtBFctoScqdMpKdSU7QEmZoFsovHAfsW17uSznCatyoVHr45UQeAsHZ1oQ/31K5JZzdAjJsPMsyIhMhyIfgIxflJX44lps4tEQf0EW7SY4du7y9vxYdVBlAGbACxMOFx1WZWRcJrVIy9+MmEbqQRcTEJ7jmlDd279hSfLSZRsiWxnKVQ2hPmVYyAM26SlahzE89dLn7XGjVpMeNqjkSiNJUrOuRfH83you22QXkO+cznVjyRpph8Gn8tmL+ZwVwYqHTKcq90R37iVOcjBA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:BL0PR11MB3043.namprd11.prod.outlook.com; PTR:; CAT:NONE;
 SFS:(4636009)(396003)(39860400002)(366004)(376002)(136003)(346002)(316002)(86362001)(33656002)(55016002)(2906002)(83380400001)(52536014)(54906003)(110136005)(5660300002)(478600001)(6506007)(4326008)(8676002)(66476007)(64756008)(66446008)(66556008)(66946007)(26005)(9686003)(71200400001)(8936002)(76116006)(7696005)(6636002)(186003)(53546011);
 DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata: sw7dtEU3mM4CYeJfQ22F/FzgZ4KaBCNLryot/OqMbEChdkP7OkZzkbYG3s7Jq4CQ51Jor6wBxWMjWTksuwwePJGKu+l4E/+GQQn9Ab7yFe+fjX/MJJ4Va3dEGqKsW+SX2rl2A749uYfh3ep6ExTCZh/I13VXiXjE3PSEZ8BGaI3w4WR5VieB2J9N/CmUaGpyfknnl50dEVi6CJAnMlbfQcgsAUz4JujVS/pmCeAP6ZChF1J9oQw2htxGvOv0jzARvi781SjOKsvfTfDGhXj5V8fYnW9ZDV/OJwxSN22J9qhO1x8KL7YiB3uuPDj+7MRTrqwb+rzb1FPfcmN6fSMDB/x9zU/toZTn2TM66Sl/RaLQPy4IidAhbgZ9sLXdKtOw6MD/2PVEJmwVbdn+AXRfi3xy59UIKhQAwArFSO3LRyGM9iRDt9q24y4YfyEZal6Af5pLv9afiJ0cIykKepgFJE10CQIirPeQeI93jOzBps19/OM4JTuTFtUS+vLZd+Zb+5a0hbroFqa6Sl4a2YtFGyx9I4/82PiEzeNqDz5YDiZlGg1zdsekBsb3LshdS5RpiPO7an4Gjqs/WZgQEwrIZW4HaS4Fu+lO+i8co5Taj1oux/5LLWWY+p8bl/P5OLAEkkLxmclpP2ZMv0mFhi6oeQ==
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: BL0PR11MB3043.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 63e5ef6e-6415-46a9-af0e-08d86b9f097f
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Oct 2020 15:30:07.4351 (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: XaHyvKBbqzrizzOPkyiOeY+EBgBv2drP4EDDub6HD32suX2amfw7buwEqG5X8HKmbkCc9HBZhkefMz4+uVKLYQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR11MB3075
X-OriginatorOrg: intel.com
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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

Ok. Will do ASAP.

> -----Original Message-----
> From: Akhil Goyal <akhil.goyal@nxp.com>
> Sent: Thursday, October 8, 2020 4:04 PM
> To: Zhang, Roy Fan <roy.fan.zhang@intel.com>; dev@dpdk.org; Ananyev,
> Konstantin <konstantin.ananyev@intel.com>
> Cc: Trahe, Fiona <fiona.trahe@intel.com>; Kusztal, ArkadiuszX
> <arkadiuszx.kusztal@intel.com>; Dybkowski, AdamX
> <adamx.dybkowski@intel.com>; anoobj@marvell.com
> Subject: RE: [dpdk-dev v10 0/4] cryptodev: add raw data-path APIs
>=20
> Hi Fan,
>=20
> > The Crypto Raw data-path APIs are a set of APIs are designed to enable
> > externel libraries/applications which want to leverage the cryptographi=
c
> > 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.
> >
> > The raw data-path APIs have the following advantages:
> > - External data structure friendly design. The new APIs uses the operat=
ion
> > descriptor ``struct rte_crypto_sym_vec`` that supports raw data pointer
> and
> > IOVA addresses as input. Moreover, the APIs does not require the user t=
o
> > allocate the descriptor from mempool, nor requiring mbufs to describe
> input
> > data's virtual and IOVA addresses. All these features made the translat=
ion
> > from user's own data structure into the descriptor easier and more
> efficient.
> > - Flexible enqueue and dequeue operation. The raw data-path APIs gives
> the
> > user more control to the enqueue and dequeue operations, including the
> > capability of precious enqueue/dequeue count, abandoning enqueue or
> dequeue
> > at any time, and operation status translation and set on the fly.
> >
> > V10:
> > - Changed rte_crypto_sym_vec structure to support both sync cpu_crypto
> and
> >   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 test=
s.
> >
> I have some comment on the V10, please revert asap so that these can be
> merged in RC1.
>=20
> @konstantin.ananyev@intel.com: Could you please have a look at the 2/4
> patch as well?
>=20
> Regards,
> Akhil