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 D7C1FA2E1B for ; Wed, 4 Sep 2019 12:32:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1233E1ED68; Wed, 4 Sep 2019 12:32:51 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10082.outbound.protection.outlook.com [40.107.1.82]) by dpdk.org (Postfix) with ESMTP id 862B11ED66 for ; Wed, 4 Sep 2019 12:32:49 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TYY8rhYhmmXkVDHhUnDP3YP5cXTm225MsnCE+9xK2eq2KmGw5+5JYeyFdfhsyC+wMLWSRDc+OqEungYxmB+Eq2gm+HZi/jxL1Il8MP7oHlvVwW6bnHaAg7DGJ8QGyalsMWTQUNF+a+1q30FyKpe+UYDvMa6EJJpsjsrB2XUQgBAeiUMqb2dpulvz3cExDeA6CeShQJB9NP6Vo772NAhIc+U1VccIor1FcYzauUWrR1D4JuBvl3YUgF4HC3Zv9nBed2QmW/vYFvtrskrtofi6P0+BprCTXNX4Ag4NPJreO/sPF0MMc+NdvsMj8Wcy2qD9KbHotd/ZI3L88cYItyvBnQ== 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=KAmNKurrvFkdpkJ6o5XebJKtvMrvnLnZc4prvvPuGVc=; b=maZj8Ge7Kt5sMn/mQk8kF5hE0b+cGF14cn0lHMBeoTHGR/7uzA0jsBuiQGjVS5sDgTlt7+YYnDuVtv5PNKPQuHWVx6EXvGbalfhg4RQyppXjPYPjEgpfFNtNexNRN7RLLNQyNuLtS+HQMtmosxSPZsQuJ0gu5b65jtKGUoPaPYt9/Ve/ys9lR5SiqdXe2dlSB3Tp6ps9a9mgH01dCwlLzJ7HNMyLpVP4CxM6JP+LP34kaFS0kDql+wqDNpHLTLZ3uRqd1ad4dO2yrqlNoatZnd/qZLbgt9mJMeIw0m7QuXRy9YVJApOYaJivyPDnpIgVoZzoeu7rB6Yyx8dUGYn0RA== 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=KAmNKurrvFkdpkJ6o5XebJKtvMrvnLnZc4prvvPuGVc=; b=kxl+SrlodaJJEodmwWmV/iKwiz615vRm/2rFnvduX34EcIj2tJFuzJTkCA/DtcZ4NB9byZh/L7ZQHIXcSPhqoamnJ5G72uYs/s5EqYylDSDEGcMzW2vAnIzGPFweba1orPbbPMYYcLxFjSTOsz56vfvUc9dPw2w34/6wOnh/VkA= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (20.179.235.82) by VE1PR04MB6591.eurprd04.prod.outlook.com (20.179.234.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2220.19; Wed, 4 Sep 2019 10:32:48 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::7092:d719:df0b:2b70]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::7092:d719:df0b:2b70%7]) with mapi id 15.20.2220.021; Wed, 4 Sep 2019 10:32:48 +0000 From: Akhil Goyal To: Fan Zhang , "dev@dpdk.org" CC: "konstantin.ananyev@intel.com" , "declan.doherty@intel.com" , "pablo.de.lara.guarch@intel.com" Thread-Topic: [RFC PATCH 1/9] security: introduce CPU Crypto action type and API Thread-Index: AQHVYm4LqyJkewM9NkuUWAfAmrqx1acbUiZg Date: Wed, 4 Sep 2019 10:32:48 +0000 Message-ID: References: <20190903154046.55992-1-roy.fan.zhang@intel.com> <20190903154046.55992-2-roy.fan.zhang@intel.com> In-Reply-To: <20190903154046.55992-2-roy.fan.zhang@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 03f5da31-4355-490e-1c2e-08d731233b5c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020); SRVR:VE1PR04MB6591; x-ms-traffictypediagnostic: VE1PR04MB6591: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0150F3F97D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(396003)(366004)(136003)(376002)(39860400002)(189003)(199004)(446003)(2906002)(486006)(14444005)(316002)(66946007)(86362001)(33656002)(7696005)(15650500001)(76176011)(71200400001)(256004)(186003)(66476007)(64756008)(71190400001)(476003)(11346002)(66446008)(44832011)(102836004)(99286004)(76116006)(26005)(3846002)(6116002)(6506007)(7736002)(81166006)(4744005)(66556008)(8676002)(2501003)(6246003)(81156014)(229853002)(9686003)(8936002)(5660300002)(478600001)(305945005)(52536014)(4326008)(66066001)(55016002)(53936002)(54906003)(110136005)(6436002)(74316002)(14454004)(25786009); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6591; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: QfB2NA9puX6ZarWdZzBu1x+SxO0B6OCmCsbM0LUKpc9f+u+PF53x6ykFZ7fGu0kvqDiIw+E4gyR61EqL+Q8vB/7qwVmujn50amzbSiXhCYsq7/Jx8B3kSGAWe6FOiqT6cAhvOboQVq3Tfrg3MBzR1rWrxxeAQL0esNput+fOvBO/ebBZ/OIVsRIbHv1CNU6FlN0yqOyD2KQTSTWDNjl5MkYgCNwQaUx8S7kNnIPhihCj9MebVaNq2LsaK3c/TZnIFo61UMItT0SDOj9GLgHa6pexXySFLF0xS0t2NlEJ5AUjavKv50JdYjgWQQKvs9UtqlKiF6sdxbhjEY+nw7qxfjuO089Je/VZ5h+qhRGTOipNF6uV+Kq4KwVJbQId5QoN0onyMgcM93ihtq6aX6WNSNxd1zFlBSZg3Ueaoict3W0= 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-Network-Message-Id: 03f5da31-4355-490e-1c2e-08d731233b5c X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Sep 2019 10:32:48.4903 (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: 7xCVanHfLR1C+tB7ENhoqKFsbPIF3f3ncoCfxKyl2SlFlbbwWXHYcT8Z2bfAMLETnPusfgvk8UJHqhqzEH1CEA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6591 Subject: Re: [dpdk-dev] [RFC PATCH 1/9] security: introduce CPU Crypto action type and API 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, >=20 > This patch introduce new RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO action > type to > security library. The type represents performing crypto operation with CP= U > cycles. The patch also includes a new API to process crypto operations in > bulk and the function pointers for PMDs. >=20 I am not able to get the flow of execution for this action type. Could you = please elaborate the flow in the documentation. If not in documentation right now, then plea= se elaborate the flow in cover letter. Also I see that there are new APIs for processing crypto operations in bulk= . What does that mean. How are they different from the existing APIs which ar= e also handling bulk crypto ops depending on the budget. -Akhil