Message ID | 20210812071244.28799-4-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6638:396:0:0:0:0 with SMTP id y22csp83267jap; Thu, 12 Aug 2021 00:16:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzFrcbflVCxerVE4JC/FpZjCcdJJWoJZn6KVtLSTXB6oX5Q786/NI43eZTIBZx2xVKPefki X-Received: by 2002:a17:906:1b54:: with SMTP id p20mr2293140ejg.395.1628752589229; Thu, 12 Aug 2021 00:16:29 -0700 (PDT) Return-Path: <dev-bounces@dpdk.org> Received: from mails.dpdk.org (mails.dpdk.org. [217.70.189.124]) by mx.google.com with ESMTP id dr8si2096523ejc.307.2021.08.12.00.16.29; Thu, 12 Aug 2021 00:16:29 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) client-ip=217.70.189.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector2 header.b=hK4d2ycn; arc=fail (signature failed); spf=pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com 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 <dev@dpdk.org>; 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 <hemant.agrawal@nxp.com> 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: <DU2PR04MB8518DC0B3ABBC6DE9FAF656889F99@DU2PR04MB8518.eurprd04.prod.outlook.com> 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: 8pqZNiSg5NVLhbipIRzmBMfz5f3SpVOgxKK+7r78F+d0bDIe8zFIpImZD3Sp8M1ISExMUwCDQT5/QIElY+MUBuWfmG3fZigcFTXSLxNqla0Nl5LDAZcyQRoerJROul59dRSVdtk8mTohmjhd1IW2wUqNbbU9Jw8RqoXK6KdUsvWaU3O/o8mhJhgs4gmDYW/JmHZdcFxL2SuTgKLwL65KeocQLmqTpyD0D3+M9kd0kz9ZZQtuJgzEN0Ssh2ymMrUQERpRWJSs2AOKL9f7lMMcDmVHGbNpHOnCQhK0mJFTXDB2NFHkhbN0YXLYGMa/qxEtX1splSl+zW2Dl6R0tGUM8pXBCJoq1KeGBvmliKK7gdeXMa23H5oNKsHnc/L80URx3+NR8CJ3B9cksnTdHvUAAVuefoYfncIIAim1bz3DKTbBZFLxKdoaiyWSkKHb/1Z0qAN33s/3aYu6r2P2wx4KnEli+wknUm1oztkDafFb19aAueo53x39fjiD39Ia031I7t/X7n1Y89d4m5TVsLXcsRf2feiC21fTaiPStBdJrIhWU+clXpm7Y0UM1Oe+A9wOHloO4MT33CadNUkt5LDiWcCyd3ehWFS+1upl2VWQ12zmRkcexIBOAGfl0sDCi0IRI5qlcbc0Q0lm3dUCi6IE+DIxCsUx02BQ1J224GicrAvIXMzZf5X1TuERXuXaXNPsrKOgzv3La5aidavEMjbLSN/xaq/7nKEs80NHX1dOV9cJvGMYHH0dAwgRoacjV7sB6+TFWI0mdF9wjX+lZOQynABcb20SFjRTcPJsbmGGlY6uCIVFpMtZ2xjf3VJ1PDGYV+s5pH1qlhzEeGsdrZ5FpeX5Qrjn6ucVLy0HitNksgKIrJwLS6cu60B5qB9FwqIUYviNB/5oBdvKfJZXHrH9ixBRrDq+cd2Nn74VG/ZuZKZnIb1foNkIHbajaQOhO0kH3KMYobfqlL0o+ElRT/N0QvIny3fMmsCfFb7snettwmbN+09UibYQ2mSJSs5jHe/vyWPpXhY0G1D7QGjp8rf5RiLenwWuFk13ryMZodLcd9u+0TlUTp53IJstC0fObqWKH61JFn9xtTfoB400H+2XHNOJpcWDCtdDlw4yNiCKW5pSqUAdULxhfQLmQkrfZv17ZabdDpUy1nS8Ah6B1w9+RwmEDAXaMgrMOutEnwBcw0IMxGS9YpxH4XE3XbHEvyhfaM1LmlGnMTQWOKCs34fnxEoFoeK+q1WraRV72DxN5yfGLMh8a2ekLVYCYShm8If/eLyuonNIv+jSgptQq0oPEssVHcEvj/9I1XuCVhsngr0hBuLncrsZob6yupzV3HNe 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 <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> |
Series |
crypto: add raw vector support in DPAAx
|
expand
|
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 */
The structure rte_crypto_sym_vec is updated to add dest_sgl to support out of place processing. Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> --- lib/cryptodev/rte_crypto_sym.h | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1