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 7F8ECA0547; Sun, 17 Oct 2021 14:21:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D4A940041; Sun, 17 Oct 2021 14:21:19 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 02DC54003C for ; Sun, 17 Oct 2021 14:21:17 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19H82lQ4016817; Sun, 17 Oct 2021 05:21:16 -0700 Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2171.outbound.protection.outlook.com [104.47.55.171]) by mx0a-0016f401.pphosted.com with ESMTP id 3brfyq8nv0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 17 Oct 2021 05:21:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hHPS9MuZtnXC+katIcuX+rM1W53YJh71Xk8xdUhtLRjksOXowQ4IPYvl02DwaFQ20guNzoa0CsfzMgDAGYBMMbqT7idACm2uVk+wQ9ftzlw1inSrY5nXbadgXY1yDLJUioYIHQYsDXn2zVu8bqKBD5Wskd09YbIW34pLVVb/myqvLWMAtpm61FRf/gB+srWv6FBAnWtLOtLjXa+lJBLF25OURTl95q18fZXsCgJy1LMS7sKXca1qpaQCzeTRXNtwvWcVXUmVyV63L5SXw67NyTNTrNHcl/UJbtXLkQ5zXLZOnneQCEfw6wKZK2M/8iGVpPJvvHGeMagQK6w9hQvMsw== 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=4eGpAo+hWxhe8d09rBXXWz4+QyxnItGSThZR0bVH1Is=; b=Y9b9GKRvn3IxheHA3vmvEdM+qCUvp3bipTYJuYdLb6ugk9Vegn/6WfZ4PsfaeebzZFwJjPLpAOiqPt8t5Nj/32mqNx5t645HT0NaGbWW/R4baQb8OXI2cP5Lr83TYF/XUmGi3cLxWTSGKxUDcssvb2QaKatuW5qzb9xKNivzu3c2r6JBpgNZ0D5g/B+VHN9Z2jEzLSP4GrVlissX+hIMMDwMFUvgBR4IB7c56qQ9MCAnVcT6O7sJk3CYPnCUG07yy1BAr4OM5mseNovEyUlMK3K7NGLR5hbBeTXZvtbEA8tLlA67CX2IMQu7UTLtH5TGLUr88mGuNIoh9Lbc/UcG+Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4eGpAo+hWxhe8d09rBXXWz4+QyxnItGSThZR0bVH1Is=; b=SciFE29r8FPMPJ29kyYoFG1lur/PCSsBipWQ0LuzLOATuMfUwxQT4gLOoSTTi+RflfiNd6UtO2gyTTzealT69mCx3xi2wKQsh2lcMtet6ge0BiLwBVlV9SYWFFONtqssdxsXi8bmQ8N30081JnRzq3LGEaVIAI/lQiXTlDojZ2Y= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4617.namprd18.prod.outlook.com (2603:10b6:303:e0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Sun, 17 Oct 2021 12:21:14 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::c41e:707:3f91:71b8%8]) with mapi id 15.20.4608.018; Sun, 17 Oct 2021 12:21:14 +0000 From: Akhil Goyal To: Hemant Agrawal , "dev@dpdk.org" CC: "konstantin.ananyev@intel.com" , "roy.fan.zhang@intel.com" Thread-Topic: [EXT] [PATCH v4 03/15] crypto: add dest_sgl in raw vector APIs Thread-Index: AQHXwGVABjG7h2QKgEqexQYYwW+g/6vXIf8A Date: Sun, 17 Oct 2021 12:21:14 +0000 Message-ID: References: <20210907075957.28848-1-hemant.agrawal@nxp.com> <20211013190032.2308-1-hemant.agrawal@nxp.com> <20211013190032.2308-4-hemant.agrawal@nxp.com> In-Reply-To: <20211013190032.2308-4-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 18a9c124-c221-49c4-a529-08d991689d2c x-ms-traffictypediagnostic: CO1PR18MB4617: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 6hqgZNUXjTWDwefSAdO1BTmuy+WLcRCNDKmNqpD9ey9sgLdj7tNx06quFF5HK9xZ1mIitBinQPr24sz4ft4DKkR7iiDFKXo7zv3mI2hHM4VXWhsji8wq6kVZZDHUd1iK+ygvxvtJ1wZMDuNJjQo3hcfo6aDrs4q59Bu4CHG3+qgW1Q5RSHLhjHLGxcCjG6WNYPB21TkLwNdRvaHsCVi3cDOq801Mw+qDLJXnSac9G5epfzNnuHhikRyYFcO4Gg1YbYGWH3iATQj4CyyQ23EqRAlB/fQXgM39Dr/v+uJ9jTUwlSfNYbk+A1MJLpCaHQG3aM6HQNIKzR8wu+36/BhJboJGDIni3eou4KnDIUmk0rE22GNN13UWy9NhuNnCnciTbnvDcoVVPvCLEGkz3znITzwMcQHeIfwDbuUU+fzP3oR3/5bTeppx40VfTBxOp5QHgnU5W9ADEY0XQttVm2OsZNfWVGGfpTJBBUv9xYeUox4GDiIhidFBQ9LMeLlgB+g8isiv0lnKhsY0pcP4RnAXuGDixCGAWlgGd0kAJkDwdOj5CB7Jxlnt8mu9D/6WRw94hcWWRc16nBM5c17b5Lvgcb52pjSvoB/YM7tCtj2tO9tFzRBFVwuvMJwh5N/Ixod1Hfk5QjLXp38MPfv8C2oQO8GnEzTC3XeuirMjAJbqcCTQ+KiEOcB76eIrwWpUk54+W+QdqnT8BNHsGT6OWkmBFA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(33656002)(122000001)(66476007)(8676002)(316002)(71200400001)(6506007)(38100700002)(55236004)(7696005)(508600001)(54906003)(2906002)(86362001)(186003)(83380400001)(110136005)(38070700005)(55016002)(66446008)(64756008)(52536014)(5660300002)(66556008)(66946007)(76116006)(26005)(4326008)(9686003)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?csCi+yMyd2KKuIGgEAqKIT02ryNFRPWrSLv2HM73CNdmQvqapTAFxGiTqoZi?= =?us-ascii?Q?kJmfNw7AC23c6jIhVE96vdvRLQMDymiouDlIgKrutB0oN95jV8JgsTfz5K7+?= =?us-ascii?Q?1HYiDaTtJ1FpgVqmgxQjORjA4D/uG2Ne5jw0ye/B1CLDEB3Zb85x3OwEx+G0?= =?us-ascii?Q?4UAJQD/5Cg5C+7EiYy9Zuu28XIEtVh2hlGhDSANCn++9NSkMgvKnGXB/wPI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akaRs0BQnE8JMpQoezGv3D2CV3yk?= =?us-ascii?Q?00JFfjbA/sTAwSSQZBhqd+hnz55kvbpJnjkP9uNKIXzGHaVxb9blgBKCEO9q?= =?us-ascii?Q?Y/588ZQbr8+Jqk0XUwvHZewUGaRA4ejm0PuXDU+UkJUEBBi58sEaaYT+iR6K?= =?us-ascii?Q?JCJS1p6Eafmuk61LR0w1AoSdJ4QPabGThvNRPJunRyttUWjMB56kpINMHgg5?= =?us-ascii?Q?kqWSG+1mrKZEa7BgVbd0/UG7?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 18a9c124-c221-49c4-a529-08d991689d2c X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2021 12:21:14.6891 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qTU6h3/a9/u8ThyC1XywFN8BsA+4WqcG0PbM7YsyvWsYGkJWcPvdGA6WO5wXVJqCmrOZwIEJote4IdrQUDnARw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4617 X-Proofpoint-ORIG-GUID: 4wnpXUygfbRjZdzspTaJQHPV-QcSQVnM X-Proofpoint-GUID: 4wnpXUygfbRjZdzspTaJQHPV-QcSQVnM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-17_04,2021-10-14_02,2020-04-07_01 Subject: Re: [dpdk-dev] [EXT] [PATCH v4 03/15] crypto: add dest_sgl in raw vector APIs 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 Sender: "dev" > The structure rte_crypto_sym_vec is updated to > add dest_sgl to support out of place processing. >=20 > Signed-off-by: Hemant Agrawal > Acked-by: Akhil Goyal > Acked-by: Konstantin Ananyev > --- > doc/guides/rel_notes/deprecation.rst | 5 ----- > lib/cryptodev/rte_crypto_sym.h | 2 ++ > 2 files changed, 2 insertions(+), 5 deletions(-) >=20 > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_notes/deprecation.rst > index 53155459a0..581ee21449 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -183,11 +183,6 @@ Deprecation Notices > has a limited size ``uint16_t``. > It will be moved and extended as ``uint32_t`` in DPDK 21.11. >=20 > -* cryptodev: The structure ``rte_crypto_sym_vec`` would be updated to ad= d > - ``dest_sgl`` to support out of place processing. > - This field will be null for inplace processing. > - This change is targeted for DPDK 21.11. > - Corresponding release notes update missing. > * cryptodev: Hide structures ``rte_cryptodev_sym_session`` and > ``rte_cryptodev_asym_session`` to remove unnecessary indirection > between > session and the private data of session. An opaque pointer can be expo= sed > diff --git a/lib/cryptodev/rte_crypto_sym.h > b/lib/cryptodev/rte_crypto_sym.h > index 6be283e83c..b6a229e263 100644 > --- a/lib/cryptodev/rte_crypto_sym.h > +++ b/lib/cryptodev/rte_crypto_sym.h > @@ -72,6 +72,8 @@ struct rte_crypto_sym_vec { > uint32_t num; > /** array of SGL vectors */ > struct rte_crypto_sgl *src_sgl; > + /** array of SGL vectors for OOP, keep it NULL for inplace*/ > + struct rte_crypto_sgl *dest_sgl; > /** array of pointers to cipher IV */ > struct rte_crypto_va_iova_ptr *iv; > /** array of pointers to digest */ > -- > 2.17.1