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 54F3EA0C55; Wed, 13 Oct 2021 21:05:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 191264126C; Wed, 13 Oct 2021 21:05:08 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80078.outbound.protection.outlook.com [40.107.8.78]) by mails.dpdk.org (Postfix) with ESMTP id EB49A41261 for ; Wed, 13 Oct 2021 21:05:06 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WGr4u20/vl5R6XazAwFwgE42LVqkOyTuNV/VqpnWcM9NNUOgdip82THd44RrJ4qjz5Y7ai2q2/bNPKL0TY6em3XaKSkw2lJkYFxgld/t26iVF+m5LxZlFhHXIqBIKieiKFF4djasykjMn3eqYl/R6SMU5IPxRRoE2182hNi77hC2bJzP8mhBu/zALxJ2hbbwvIRXDzMu01CQLpA+MU1bhMMeYFTcsAR4GaamfWsfa9LhD3Yz1r/uuGiBta4txct2ELPByV7RImCrjKOtSaXx7aYR0qJi6kJ7Wx0HcDD848vMOsp6VxWdeDzRAHcMquZZ9+uj1hgDLnhWaZYkk8Wu8A== 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=N0FDoKzozgS0TFeer2weaMVlX8GbUjKIBa6v5vJQOEk=; b=CdhR2W+BkDulZiYDbUyGn925soyOaA2kETRyWPI16ma5wGQ0pSxH9M5eMo09pVkCeOgOW6iSOTTSePD703S+JmxarCxn4Fl6RPIOv8AlYs9vKSrd/cnMXhLqr0Vu+Qn47EdXviQDsQHz9q+DhFhrk0PzJc6Sv1X6LVwKN6eT1ET0pXnE51/wcviW/d1BTViOU7TlBSPex05NmhD9aOdL6DF5i4A5IYbbaYC6Wzy4CKEgxKGsmBrXsIKMzXiXXg0qRSnur2gcNJH2OlH+JQB7ADF/blUf4i1vLgSrvPg/mU2SHJlAVDDkDcYyIk3R8eeLWHD6BEdz+MkVEg73SYAfSQ== 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=N0FDoKzozgS0TFeer2weaMVlX8GbUjKIBa6v5vJQOEk=; b=dXAcyg/U//fJiusyala4l2bOgG5E+FUqlTGCchfwRPHZEgVWZ6i05Iw6aq6aOmjnRcmZh1hzORqBsPvF1eCjq5bJ5sgWTEesLTpmdF6cpX/U5WePy2lDxSuQuCcTan62l68Jf4CSrVx152HS6m6qCTht4endybJBc7at5Q6Sa0g= 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 DU2PR04MB8949.eurprd04.prod.outlook.com (2603:10a6:10:2e0::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15; Wed, 13 Oct 2021 19:05:05 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::945d:e362:712d:1b80]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::945d:e362:712d:1b80%3]) with mapi id 15.20.4587.026; Wed, 13 Oct 2021 19:05:05 +0000 From: Hemant Agrawal To: dev@dpdk.org, gakhil@marvell.com Cc: konstantin.ananyev@intel.com, roy.fan.zhang@intel.com Date: Thu, 14 Oct 2021 00:30:20 +0530 Message-Id: <20211013190032.2308-4-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211013190032.2308-1-hemant.agrawal@nxp.com> References: <20210907075957.28848-1-hemant.agrawal@nxp.com> <20211013190032.2308-1-hemant.agrawal@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR0302CA0011.apcprd03.prod.outlook.com (2603:1096:3:2::21) To DU2PR04MB8630.eurprd04.prod.outlook.com (2603:10a6:10:2dd::15) MIME-Version: 1.0 Received: from dpdk-xeon.ap.freescale.net (92.120.0.67) by SG2PR0302CA0011.apcprd03.prod.outlook.com (2603:1096:3:2::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.4 via Frontend Transport; Wed, 13 Oct 2021 19:05:04 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ae1ef4ab-b0f0-4bb0-ca90-08d98e7c5e15 X-MS-TrafficTypeDiagnostic: DU2PR04MB8949: 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: zCPyFSbiwFP+5N8NldhAyYTW/6H76Pe/aqqQ1bsEXL3DuXGwK0xWp007v7Iv/pmMHDEiFQ6xk2EMvvRAxPS/CztE1oYHnboZdvyOvIsA/2zSjNM1zIz+VoRip4Nafl5DxYugownffJLUI+zZga6MbsZlYMb9e+b65KlndNRDrFlKIxB8dEKpI2ZCKYNVIu/kr7craQ5XZHu8qBo8lRMWb7GcEycS99t7QxuJkbrCcoU93AArzY/pdO9WhEJAYH9kqerGUybHfUCUMl5T8DKiiioLFERmxJmWEidIqWQErJIRwLCezoXRMRBzPQEN03/6wS1lLxP2AlhCb1CY90US92tWIC0rYpkX3rgdS7ia/uYi+hiBev6St3qed3RUYt8OJGeIlqDrKy1WVoSMELDC+VD/TCxa7CagbDWjgadvFnB/3aZgeZnyJjkLCaZPiD5IsVS03LTdGJ62JXdUEhIRvfaJla4PAKKx67HefHNur6LQGo0Ff+6ShjWJKPGpqo6HwCXm7ninDgCBOpks8EnlSRIjMRMN4hTfZKeB+M2+wOcoTClZfvHLnmqzxNpwzuacW9XWrASeN3XCJ52CDEOXp98/258AFV6H9iOQUrs/7F0Itd9gvJQdz+WWV9YuxsRYFkOGHuoGlG9KeDH0Op+mieXusAKH1Md7IeHWS3Z6MOqINGhQvzGdrTCyeoyzLfGyV0JzOILj4aNx1i4vv4DHBw== 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)(366004)(38350700002)(38100700002)(86362001)(316002)(186003)(8676002)(1076003)(26005)(6486002)(508600001)(36756003)(2616005)(956004)(83380400001)(5660300002)(6506007)(66946007)(6666004)(4326008)(66476007)(6512007)(44832011)(8936002)(52116002)(66556008)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?tY3VwRngn7z65EyANgIhi5UAFOSe1BmNxH9pb1xRmcsdyZRJJIuBfBuCbNCR?= =?us-ascii?Q?AFkIS9+ze+ZS3Ay33aXn5cHcPTkIZXMhl4NJRwRsNR2b0Mm3U1qqqUWz/4t8?= =?us-ascii?Q?nqpSNPdp8t8kSuM+QB/HGTSbGLFyKSAdmnZ7VFO7pMMNI39RLUopWBVxJ7mi?= =?us-ascii?Q?ZKdnXIPDVmfm9hN/sDVDX12oPM3HVKivjobM2JFKwnh+WU7ti90cNDWg4Mry?= =?us-ascii?Q?AS3BLgZDp6k0/UfaHsBGNohT6aWiNU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= =?us-ascii?Q?YRCJeKo82WS08U1L2Oh1vYDuuDNecJwtyiUOF6YOZCRtNY4rsyB/Hxg/zOXJ?= =?us-ascii?Q?U1FfdWeZRnjhqwm5ga267jk/gSPdul7PrjwBLpjRbaFLTT27ZwZPcwBcM7dX?= =?us-ascii?Q?M6rA3M+iRZ38WRHFlFehvp4C2mpKWjiaDDBu3gcaDFzhqvxHmYV1GtkC0hdL?= =?us-ascii?Q?4QhlYTl908n4iLVXhNJOy5hL?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ae1ef4ab-b0f0-4bb0-ca90-08d98e7c5e15 X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Oct 2021 19:05:05.7560 (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: G239B80mthyenFX8m0alXXg7ZG3xqDEvJG9fp/N91zt+tKK0PgyD5r8gDe2SvG6GHW/Cy+RYjEwxfT+U7jlwKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8949 Subject: [dpdk-dev] [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. 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(-) 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. -* cryptodev: The structure ``rte_crypto_sym_vec`` would be updated to add - ``dest_sgl`` to support out of place processing. - This field will be null for inplace processing. - This change is targeted for DPDK 21.11. - * 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 exposed 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