Message ID | 20210825071510.7913-4-hemant.agrawal@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:6f15:0:0:0:0:0 with SMTP id x21csp345320jab; Wed, 25 Aug 2021 00:19:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzK0IUxJG29yhqDWv6+W6s2Jdg5HueJCXoqsQ3l8vns/sCX+HLoG84Ow+AbV7QKT4j5zMxu X-Received: by 2002:a50:a452:: with SMTP id v18mr26405288edb.17.1629875946374; Wed, 25 Aug 2021 00:19:06 -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 b15si3242793edd.273.2021.08.25.00.19.06; Wed, 25 Aug 2021 00:19:06 -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=M+oxE0pJ; 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 B2EC9411CF; Wed, 25 Aug 2021 09:18:53 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20057.outbound.protection.outlook.com [40.107.2.57]) by mails.dpdk.org (Postfix) with ESMTP id A68B9411CB for <dev@dpdk.org>; Wed, 25 Aug 2021 09:18:51 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MxZIvQhA4owsH1gYk0Wotk+sOqu3eji6ugtKMMEChhBvfRrHkgEpafl+5D5RVVHhqDSK2/h9Fmai1ot7ayqnefZsaEMicAljxInADVZVHGgFubeW2CDhnUQ2tuWMYqlD3CZkjpz8sVdtwsbE77nr9Hx9vlsUH43EbD4Nzj9HkppLs/nxAD2df6YPJQOD36uX+0vuQfSeICf6j9lwNZIAYGb35M0g5KnIIWKK5S8vjjHcWV2YiP6P3ki6doFr/F6QWVAM+PSXH5InyeDRn6TF1bCkyE/ucs5gLWKIHHNsgngazsZlrPElIirCkVztiFjZNoJymn9NN//3feyTuE6iBw== 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=HcqcWjhTGS+Hm+/WaWofzZ8ia4MJv73r0FGdd5I5yEqRbcrmrPqT1qEdLHowmrLNFazLcN5jd/hpmVpgEEhinJDXoH115N5VVC1FXebutGiZZv5pRi2Fiq+jgUVR7CNmRxGh+fMnNO353/XWgw1jXaD6Ii5OxXjLaVQbs7yF0C1Qq5tTZTYwigpS+9uHYh/5QBHqTdEuxaOhbgLnPRmXBcV8NeK9FQY7N2VxBqQJePziuC6Whcx2vqsCGfIoqPDCls33v8bjrd80ETFt2mTMccZQDVq+itA6XWdHWc2f2WUNOGcmZtLm7mde36Nl/Q0z2hNdFKEF4oUZrH7f93CZOQ== 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=M+oxE0pJem078ero1aQYIp2zcbgEZAkUk3BB+h7SGcinpuV/LmbwEmPyS2KUqRpVk2dO8eum7k3SGpReb8uX8svyjoAHqvTTE2OCX2pilNI5wIK70DKIcZ6Omqb+cuiI8dmc/iutblBvTfdJL9T1Oew+8Bm0A6VFjK747RwLS1k= 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 DU2PR04MB8614.eurprd04.prod.outlook.com (2603:10a6:10:2d9::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19; Wed, 25 Aug 2021 07:18:50 +0000 Received: from DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::2590:514a:df1f:a793]) by DU2PR04MB8630.eurprd04.prod.outlook.com ([fe80::2590:514a:df1f:a793%8]) with mapi id 15.20.4436.025; Wed, 25 Aug 2021 07:18:50 +0000 From: Hemant Agrawal <hemant.agrawal@nxp.com> To: dev@dpdk.org, gakhil@marvell.com Cc: konstantin.ananyev@intel.com, roy.fan.zhang@intel.com Date: Wed, 25 Aug 2021 12:44:58 +0530 Message-Id: <20210825071510.7913-4-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210825071510.7913-1-hemant.agrawal@nxp.com> References: <20210812071244.28799-1-hemant.agrawal@nxp.com> <20210825071510.7913-1-hemant.agrawal@nxp.com> Content-Type: text/plain X-ClientProxiedBy: SG2PR01CA0126.apcprd01.prod.exchangelabs.com (2603:1096:4:40::30) 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 SG2PR01CA0126.apcprd01.prod.exchangelabs.com (2603:1096:4:40::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19 via Frontend Transport; Wed, 25 Aug 2021 07:18:49 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8af0c51d-bcbe-4445-2375-08d96798965d X-MS-TrafficTypeDiagnostic: DU2PR04MB8614: X-Microsoft-Antispam-PRVS: <DU2PR04MB861481CEA66CC080C2BED6DC89C69@DU2PR04MB8614.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: UGgueE9bHtFp3WIKmRnbA4KX+d3IdVIAPS0XJYWVRpaFbtC4hnfYiyl3QWCmvpl7EJ5CT8sbAoeprArSxccof5OAikkvCSl37QBYDbyIJ7oumbcoX0Lb9p7jRbRUjZ7TrJsRFJaouEvoqrMPn4dmF/ZkPULBsIvFgZxBZ/FQltICm6QknNzFrJVmqbBUW9chPvl/czhONJWM8EOpmGevvUJtx/6v6c7IyXb7q+uXE+kmtPR1soKYqFSDjJvqC/uxdRvo7CUSNjoSY7sdXszSI5k4GUgxtc7jmO/qS1u17PLKQN9OhCfz7DzSjHG6Qx+1sIWyxIlNu3YB/er3LTa8+mUH9py2AvjxFFIDBnKQa4J1oyJgOTY3/zQVvxH5rR2SU0aL9ybDMBYbmeBy8OmNUstWmtSG2kk2xZ2ZN09ZgS4GocZofvDIllk/cRucjFPUz3Jtr39nuWBIjjYQbIPKV3bNoxEa9Hv6dgRZiJ9A2IyG5PpgyJHsdqWRotgcDkGYB3kEsTPYf4pS49m5Y3HS7K7aTQJ7Iut7XbERMlWvYfBAGWwiSZxMDCEfGMBDyifXYjgdU8zSDaHdOUD84ED914yrewVuvyzRYszVWAd8vzQ2ahZ6/FHoxGHQkUoLbomuITOdsh0EDWtWuOfEQwuIXK/z8I2iy9wotlW1PJfFZAUqwgiB0niyFMzdW9X+nPsbjO9RpHVrmZU3Wehez7Fjmg== 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)(376002)(366004)(346002)(396003)(39860400002)(186003)(83380400001)(6512007)(66476007)(4744005)(66556008)(4326008)(86362001)(38100700002)(38350700002)(36756003)(316002)(6506007)(66946007)(1076003)(8676002)(26005)(2906002)(52116002)(2616005)(956004)(6666004)(5660300002)(44832011)(478600001)(8936002)(6486002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BYX9OBPGa+YxviVSYo6fQOk+Kg8rOAg6OjbiBnXGH7mXtd7ibZVL99APiXUjGAHS93x34CnnO5uFKLvUuf+ueelvFdh9rdIxu6nzQya9FbWEv5JDHVaauEv1gUP09N4gfyBsVEhoIdqQbVmsTmis4897W1rJFrMUACe7DyqadiCR1T5yEuv5gNuaWTSovVCljioxkjoTtSxzxMsGq99kuj90nID0qPzIG54GJbHv693T7pJBQjy3e0NtI162JElat406C6PdZGIEJNLHXDAFXvgMmVZmzm37PWRSbs5r+J7LBnV5W5dN67A3oKVaxWp+dABPy1XZklsbBrqNVlbiwfQWmU6AL0ucNv7kFJ2lDdL5W70mkTNEFj/3TFMoH+QXfsH4S6YALBZkBwZV5ouCa1VDf5B5oYg4YW3tyuHCgeAEfaYMsZak+XglSfydAzkl97Jv15urFe/yKywPT9IgpzAt3nDgofSuO01Q1YirMR92+Jmxvtc12hA/iKnPCFN/j90X+zY8mI/4R53xJ4b0iisSoX1ymDGmRX7Q1ILWJULpI2RqrJ5UyNY6rYo2+RDItrkstvbbs38SoyNeUVMcnzSguld7CaCpAw02rh90abk+lgnFwMsfLJTvhuCqB/dAIUZXLYLbwRNmMIT+T9vTdZiSEu/7Pzrr5UencSvN8Epl4ZxwD55P540SgkJRx61if/qM8Nx8CGrCc8NKu9plXJ//HopIZGEpIplzH8P4IcjeK6jSFjgc02oANB6nrnzc0dq/orkT9HstfbEKYq/NAZGjXD4+rY4RyVcRqdBhg1lIbViI6aw5jVelTCVpSICvE3F7nYJ7RTew8q/lC/WcCcEUIxXZD6x+1dnTyhZ3yOKEG2rsGMLQPxjVTGh4p+eWyLz3/l+hIadWXMlmI7o70eD30HjOAqmJaYjiXV8gjRrOwe6gmHr763SVhCUUfENywhsprrmpZt5OXq5HqwywtzjzUFpDv2SDqvREK2H3u6U0abm/yIvpcPWl+8rHiIxuWk6TueKWfImhw5nhTgo5hvR1bc7rKh+mILZUUkhgNnjHQUnhVBstodZEYwvWhU15mf19QKgKe7sBJDa/VUJEUDJoxc6iB4XVDpGBXkIB6jt+wql7jyBu2wJtKhT/5g1QLF2U4JlO0i6lktAuxohYQAAdNZ4UrcoKuXleAyx/teNqZbm92TZKF2DkDEuohhxJ3Uq/OKl813+Gjr7q+tmwkq6qsI6UR0bDyb/CZhQ2NB5vwGJkuh++MlVEGbKM2Rohx/MsGmU5daHc4maHVgMJTJnXEcF0Avma16DQj5b8Ea7dA6jwFOOXxe4k+PQcQkRW X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8af0c51d-bcbe-4445-2375-08d96798965d X-MS-Exchange-CrossTenant-AuthSource: DU2PR04MB8630.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2021 07:18:50.8093 (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: hCEI/0zaRNPp2aHEEncov2upM2UXycCHdSmfN0ESOxWMmOKqlNFcsG/ffRZDkf6XG0IotuTirmJrOe/Dk2yd5g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8614 Subject: [dpdk-dev] [PATCH 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 <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
|
> 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> > --- Acked-by: Akhil Goyal <gakhil@marvell.com>
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