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 DA4C8A0C52; Thu, 12 Aug 2021 09:16:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 427A34120C; Thu, 12 Aug 2021 09:16:12 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80084.outbound.protection.outlook.com [40.107.8.84]) by mails.dpdk.org (Postfix) with ESMTP id 99DF441201 for ; Thu, 12 Aug 2021 09:16:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eZvD5XGVkrFZVLpV+in5nzEcqrc4Pt+ugHIDGcC4SHvefOBzXbJ+C++JMxs4yZbHJ4nCgnVPDqbVOB+IyW6fz2Z4TLEZwocmsidn1eT4EQ7UxfDYvFD/8PyRXMnzziaUcEaeFBOL8dMeLxJ//1s6iXIOwvekIpjzCLwQB+NmNc+nfyvX9vsCIInVV9tz6GEVVLsx7K4Ojazsk9tDtHqol2DqNQBeVv9RPpKL05bbtpSGttu5zjoG2JUaMpB4qlY5rrdPZkkL7oU6MLdYtafCuIfjnIW040SN0OFb6nh0tlipwairtxRmHRq8TGlzXCvPqN/SLYDFmIx5c03JQ7d9bQ== 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=KVk3PBUZFgcWHzsOyM+etroFQTVENaEQwvAh2w6O+zA=; b=i406Xl+odVOHk8L7Q0XJdGkM6Xq37R9VwB3//mS3ieZPcTnzM2L+T7aUBOoK9noXWXHe6lYUzW7YfncEGxDkvriLTs8WgD9oOpcIs2WDhQ5JD4e7feG7MxbrDEUdtNeVX5ALHb1uuw2LIgdI5K5wLRXaTa3ZJMF/dtqM1WHwmGjF5dlsUmq+Lv0Se06j8/jt4noMx4RHcI1yFDBzpNs9z/1eJYGp1jSaF/d77NSwDcJxsoJVBaNEQhTxIBtxJT5R5C9GOLpBss34kXGitClgbF8+e9ZTmhIQrjbF4CuWAhaajj5uYyeeJVzYV2ZEOyhtGVV0CbRVofQXM3/UdSufaA== 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=KVk3PBUZFgcWHzsOyM+etroFQTVENaEQwvAh2w6O+zA=; b=hK4d2ycnt7gAsgBVq9JYZ/lB+d8BlaU8/nDGslU/xNrqJTzTaEk5k5x7uneuy4juok2PTU9LEn3iJcmlTTgClr+0uUqFA7yN/4vGS9WelYudU4zT08/B7ppQjM4GANNB1zHMy6ULJWhzVqSAcl1+F8/skWVYHslO5TfJJmmJwB4= 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 DU2PR04MB8518.eurprd04.prod.outlook.com (2603:10a6:10:2d1::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.15; Thu, 12 Aug 2021 07:16:09 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::2590:514a:df1f:a793]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::2590:514a:df1f:a793%9]) with mapi id 15.20.4415.016; Thu, 12 Aug 2021 07:16:09 +0000 From: Hemant Agrawal To: dev@dpdk.org, gakhil@marvell.com Date: Thu, 12 Aug 2021 12:42:31 +0530 Message-Id: <20210812071244.28799-4-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210812071244.28799-1-hemant.agrawal@nxp.com> References: <20210812071244.28799-1-hemant.agrawal@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR02CA0105.apcprd02.prod.outlook.com (2603:1096:4:92::21) 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 SG2PR02CA0105.apcprd02.prod.outlook.com (2603:1096:4:92::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.14 via Frontend Transport; Thu, 12 Aug 2021 07:16:07 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 29ced972-efb3-44c9-104d-08d95d610e8b X-MS-TrafficTypeDiagnostic: DU2PR04MB8518: 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: plMyvRrnnsBi32JxBVgAUAsUgcluJU7T4+YdeflTZ44lFEckzdfpwNto+MIa1qPFXwnnHfLFYIDQpMXtU6YufPE57l5zLb0hPB6CIUSOgp5sfZcsPL4wZCd+BFTNxk0BERMWyrZ4o0fhrriLuJr42yJjppMQdf/aYfec8dvN6saDJ1LG1lOlvoygVkWPZsZssjwUvAfvKPnuc3Z1s5QIPpBxFo25KFUQ3/DGZ0uljzGKaPyJ1SzNetOsjKcA4CiBa19pdlwfH8WDPvnOJ4zX5ytGmCQJNuCGuKhpXHj5VFHxmOgdcME5qNFD6QGnFVkiDScDZ7OxsCOPqMNHi0He6iR2yXl6F8dnGECNNvWqfjst6j8FEtS6YqU1v5tHO1RCMXY3QCEilLAaieRhpVthhOHLgWQal0CgVlpyVO+fJFOvKyWl9jeGHHzVa98B42UNTDRmyLEO5ZHAkEsLNzViEl1bGtqUWbkz42MG0AFJRTYDZ9OiP1tKqbmWaUxkm3w/9h5zZwbubfBWjmC9zFbVoIEDQBnNe4AydtoBOwoXo1InW5FaMpJwlyof9vk4VDy69nwtucHN9JcJK1iSQtf8cXe/mGlnM3BBlcmbY8cF5xdPAfy0oMb7qF63l/PtP2he0rwWIAfUwpGM5pU3YJJC781G2vt7OwB28tAEiWcypBEJ49hiz4m+Frv1EIOGyxucZpAcg8QNvV1b0KyXF5ACow== 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)(376002)(346002)(136003)(396003)(39860400002)(366004)(5660300002)(6512007)(1076003)(52116002)(38350700002)(38100700002)(36756003)(956004)(2616005)(478600001)(44832011)(6666004)(83380400001)(6486002)(316002)(66476007)(66946007)(4744005)(6506007)(2906002)(186003)(66556008)(8676002)(26005)(8936002)(86362001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?8pqZNiSg5NVLhbipIRzmBMfz5f3SpVOgxKK+7r78F+d0bDIe8zFIpImZD3Sp?= =?us-ascii?Q?8M1ISExMUwCDQT5/QIElY+MUBuWfmG3fZigcFTXSLxNqla0Nl5LDAZcyQRoe?= =?us-ascii?Q?rJROul59dRSVdtk8mTohmjhd1IW2wUqNbbU9Jw8RqoXK6KdUsvWaU3O/o8mh?= =?us-ascii?Q?Jhgs4gmDYW/JmHZdcFxL2SuTgKLwL65KeocQLmqTpyD0D3+M9kd0kz9ZZQtu?= =?us-ascii?Q?JgzEN0Ssh2ymMrUQERpRWJSs2AOKL9f7lMMcDmVHGbNpHOnCQhK0mJFTXDB2?= =?us-ascii?Q?NFHkhbN0YXLYGMa/q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YpxH4XE3XbHEvyhfaM1LmlGnMTQWOKCs34fnxEoFoeK+q1WraRV72DxN5yfG?= =?us-ascii?Q?LMh8a2ekLVYCYShm8If/eLyuonNIv+jSgptQq0oPEssVHcEvj/9I1XuCVhsn?= =?us-ascii?Q?gr0hBuLncrsZob6yupzV3HNe?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 29ced972-efb3-44c9-104d-08d95d610e8b X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Aug 2021 07:16:08.9977 (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: UTJOFUszVaH+WJoc8ZyUoMq49UcmmKLtr4ezWUZLeBm800+IefKF6fBqqXvYZFgpYc/o58V0DbDFb/Mtz5934w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8518 Subject: [dpdk-dev] [RFC 03/16] 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 --- 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