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 75394A0C41; Tue, 7 Sep 2021 10:04:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB72B4113B; Tue, 7 Sep 2021 10:03:58 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2044.outbound.protection.outlook.com [40.107.20.44]) by mails.dpdk.org (Postfix) with ESMTP id EFB414111D for ; Tue, 7 Sep 2021 10:03:57 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NcJidksBBT2nto9CuP10gOWt4F7rPikrJUFcN7bW2wBzvnYRwfZsRADOkcgiZHbHN47Fwt6D9ee0pmRUN/Hpd72Djj8jyYyiMSmPfgbbC6d7ylZbQyhDnCLieVuiZ6HIo/ERLwXHJ221ij9/B5obvUW/oe09auygVaMJT6hzs1aRr7RBwQLFYM2pOb2lrKHr3rFzqoivRZ4V6wnxHwbPIM+OZcVWuBaTjYsctNRD99yPyATU5ZadekyvyG9kGaZwC1bPQYE/UHOLceD6O6/lHsSNBzvPRgdT/3htHU0mLT8dEEY2Xi+7KY/KK41RYrjg1up5IB6e7Pe7/tJvFbZMBA== 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; bh=4ZLIZn5l8Y/k2Axp7hKaOqh9ErkFBOHeGdv7HO6mMRs=; b=BDRkp8JGtQdLF2HJXnSWjh+SQ5rt21JDviJUqPlSSapEPl4ZzFp6fSlTX5tCf2pe44mTrDUPhaZNbzm5/gzEpmT+ONP5W/b9mCae6/wMCzlzRMv+zwOLUYVwPmhMk0LG/MrF2a6BignoM+qGZ/w+jHAH8uABMGKAAseLeyU5N6U9wyeS1RJ0eVx8uGIBSrMK+9L4wkcy3bhdlMaAomcTLgD0TejGQCixabapFniwPuuCUYghMBadq2a55TvTujCxMvY+E8/E4UKmL9vXivKnOHSskMsMUhf//mqFortSftKXu2u6eX8hYbke7OVV/uvp9z4B39B7Pcr6qe/Yd+053w== 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=4ZLIZn5l8Y/k2Axp7hKaOqh9ErkFBOHeGdv7HO6mMRs=; b=QEOT+kw6yNOPQWmELk9nStc+YmWgcku/bFLFFUIWKRrhAV6SXpQhQ7DK5PgcDj3CXYSVHmtUg1N3ZVFTvYhCxODNnPzMeNw1NcRGGqCVHfR7s2oTKvyi5JKSRSiF9uyMl76VZftC1DGrrayHCYr8QQKlIEJXSgg4QXTKkaWqdBI= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=nxp.com; Received: from DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) by DU2PR04MB8709.eurprd04.prod.outlook.com (2603:10a6:10:2dc::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4500.14; Tue, 7 Sep 2021 08:03:54 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::945d:e362:712d:1b80]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::945d:e362:712d:1b80%4]) with mapi id 15.20.4478.025; Tue, 7 Sep 2021 08:03:54 +0000 From: Hemant Agrawal To: dev@dpdk.org, gakhil@marvell.com Cc: konstantin.ananyev@intel.com, roy.fan.zhang@intel.com Date: Tue, 7 Sep 2021 13:29:45 +0530 Message-Id: <20210907075957.28848-4-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210907075957.28848-1-hemant.agrawal@nxp.com> References: <20210825071510.7913-1-hemant.agrawal@nxp.com> <20210907075957.28848-1-hemant.agrawal@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0068.apcprd02.prod.outlook.com (2603:1096:4:54::32) To DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from dpdk-xeon.ap.freescale.net (92.120.0.67) by SG2PR02CA0068.apcprd02.prod.outlook.com (2603:1096:4:54::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19 via Frontend Transport; Tue, 7 Sep 2021 08:03:52 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ccb42d44-3dde-4b8e-3337-08d971d60922 X-MS-TrafficTypeDiagnostic: DU2PR04MB8709: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3968; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: IcbepOQBi9bFwKF1X4W2zDHYcWtvBSWo5DDt6WVhrhfTj5iZpjvniwvBm+QssyK1jnwTDAPEY6QUy/IhEyCeh/YH2il6T9mSchRA7Jp+5lXippndtkWzfXC3xHx/1HvRdDEzV4yjQ+Ozj3K6NM9JfqEAnpbSV/TP/jDuumDv90YnCBLZpheIco/pJl0g/iSBlYaBmC5v+qR12yQGhMPBp9z9IuJX73RZUZXryUfJXdmMwg8QEP+ihP7tuAAldPKpr90q1alXMiHeQE4GpC9bcYfeog/+Vqps1Xsj5U4xt8ePRFXQkQwcpQ0A6qRGnwXMmj4Fs6Ihsb1KDZVxeSnetZJdK2VZyIXhEUJcK6tjA1EfqX0/SHarSBgdV8GL1OwVx6tpxmXBMIgf8gHa6hXpIxCOLYLmTGZtQI/g8nGo73ocid/rUrVY/qISA3kJXv+ErdMEBzhkq0+BxTUuZnt5j2q6ogIPr2seqVEokI3WCE+4L+12d4dDnKXYvlY+2Hvf/GxKiV4Rc3w74NurJCeKgDJY4Xd4rP19sMosGvN009zfCwWdD557UkHFMkcbFscEwm+hBNaD+Ke6GmANkXQapJ76hGz9Cef5vaGllKK4EuPPCuAAIAgpeo7HQvE4qZ0eQ0kASXyzyieYnS7Dsn7yqkbTacZOiEiwLkhb5syWtaB6Q2wGcZBhtV5PkBporTCShPxI02mBqCvNMEAX8EcNiw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU2PR04MB8630.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(39860400002)(366004)(396003)(346002)(376002)(2906002)(956004)(2616005)(86362001)(83380400001)(478600001)(316002)(6512007)(4326008)(52116002)(1076003)(5660300002)(38100700002)(6666004)(38350700002)(36756003)(4744005)(186003)(26005)(44832011)(66946007)(6486002)(6506007)(66476007)(66556008)(8936002)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Tnf/cVpIJw4hxvnA0ntWhpqYunoIS7um+tI/Xec76aqn03eNirpfsMeqVToZ?= =?us-ascii?Q?jyDq+2XSQmrzufnMp5EHj9Qt5RtbRP8rO9futovaRUDIl2Nm5/aVCm+/WLJA?= =?us-ascii?Q?kv1oA1UCxeGyqsn2o500ecD83kDK1WK+dkAuE8Qq7Kds2/TCTVQCvpaii4VR?= =?us-ascii?Q?L/11wItsaoKY/32u2/LqDfwSZhC+GoiswRDpJmpBsmPg2oCXaatFfMwogNeF?= =?us-ascii?Q?MROckrtU5VKQYOaPytz+5je+cz+QnjXfe/eDOxaXQW7qW6sFmSKr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t8Vu4BmYN51Savu8yq0hAGu7wN1B/fdDrDQ7U3W?= =?us-ascii?Q?Gt/7xoPZCm06xCe/RD3gC0c/VD+YZCEybLiT5DJfc6rbHWv5/2IlOL637AN0?= =?us-ascii?Q?eDI8naMlChesBo8tark5ZTUDGF6kVYIkv16JFhOSeca7qlCtqAecu1mDwfgk?= =?us-ascii?Q?uejWSRdTtfUORqfzlkDzLt32?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ccb42d44-3dde-4b8e-3337-08d971d60922 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2021 08:03:54.3734 (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: pShCn+mvzgaq4o4vMUGCnQg7XM+BkopNAWM5H3dy4brOt1wrQPpAMDR6riEbX7ODuIJdUD8zwM2Pbt3cWwEK3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8709 Subject: [dpdk-dev] [PATCH v2 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. Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- lib/cryptodev/rte_crypto_sym.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cryptodev/rte_crypto_sym.h b/lib/cryptodev/rte_crypto_sym.h index e5cef1fb72..978708845f 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