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 B8B50A0C41; Tue, 7 Sep 2021 10:04:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 242EB41123; Tue, 7 Sep 2021 10:03:50 +0200 (CEST) Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140070.outbound.protection.outlook.com [40.107.14.70]) by mails.dpdk.org (Postfix) with ESMTP id 8103241100 for ; Tue, 7 Sep 2021 10:03:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eqUCDUZzBKm3SJZYnyqZGKFOK9iCauV723RTLZ/cLkMyVbEdz3/+KNAYDWCD8YnpXb2RIqzcJQQtbpLePuLfZGyjvxirQjXHTzxTI87P7lPrkszIo27XzaS9wHqMrZ2i0gbLJifi/fzv665XX1JqGKNwhMfm+Z/CXk3oJiPIrE1+Ktxvde8xAej7kyT8qWPj7kDnHq7/zKQRB5xlmr/wfS2IB8fcDy0IXzSDXhS58lD/kI5P0spvRs4Ousq0BrHpxFYWwHsOZQ72sGAJckX7N/Jdr2GoAxMxuXqrI+rl+ELDFNAB61PnwK8xM3Na6PhbQNxd3lpDzdvS+PNseS5+ow== 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=EJrsrJI7X3tqmbSdz1cbM3dW9yVV8uKaeS7TAjhWZWU=; b=VGL9/zQCWLlC5/9yWMuLZ1BGcNnf6A9koL/YhAMe+ram8m3DJCdk8Vxoe6QsabKDsneLZnPTxbcWX1jbs0dLEj7Mh22rXpQpmjCDDcoez8rQ0fW0GDUdJp4JvohF/OTqP697rJrSZrP/dcx6e2j6B7HXTGn7OWovc2yZ3qIbjf72TIOiZUVj2sJvmu9kOTo2/75x2YT2RPjzVhLHDodeeqMCMzb86ueyWXGmnUHLxyJ1gYYUv/BcyL+juD9zuXXnccJqkTTcVcQEfB0uOJheSN3nzQsHUo23Li3Jd8OJfC38hHjr4ZlV2potvIph8nnowIuRrr/msC8Hrdo0cNi9dQ== 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=EJrsrJI7X3tqmbSdz1cbM3dW9yVV8uKaeS7TAjhWZWU=; b=QGteYPG0xEpV9lrrIRYRd0HUgCP08xoEkuW9ZJ5mIhNc4DeLkHkFC2Uxr5qa22fLj2AK1qzuPMb5hO+vMNZvcQ7EtojboJ3OEvBI0dknZvCNgc8kpVYQjS/G+yP1oFophah1aNuGvLRtbnt5L8oJI0VR4kvoHsxn5WByw0x+Cjs= 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 DU2PR04MB8551.eurprd04.prod.outlook.com (2603:10a6:10:2d6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.17; Tue, 7 Sep 2021 08:03:47 +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:47 +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:42 +0530 Message-Id: <20210907075957.28848-1-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210825071510.7913-1-hemant.agrawal@nxp.com> References: <20210825071510.7913-1-hemant.agrawal@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 30a70538-3d19-4364-19aa-08d971d60541 X-MS-TrafficTypeDiagnostic: DU2PR04MB8551: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 9Qfyb9D3ZG1Y/ijHaHM/No6gJpMwcmUqEC3TQFu1Bc/CaL7+ETLtz/xjHgTLwMjJDklcEdI8pw21VWIVoK8jiElbXSbUeHBAUisy5j7iuaMXTPDhYwE8aGVBeZFJMs+pUXYAPPSwjMDTBnt7dRitaLulOO4YOQoQihylBfD6vtgu77SLyZYoKNMcw2VDePWCxza4ZXqEGq34m1g114XKgRl7hDoHD4XKVZDyCVB7voOQS9te69blhqjqJjv+zuHRDQyG1CSkVIDevq7kCjlrkip5rQ00wC8A5bbPEL4G1hNlx8IZFccEO7V14lmuCWrisP2EAaam+6AjUgr8WEz8s0n7aDI77co+O+5CV+Z5b2xTAd53v7GFB+xpxaSBoY7x9fLf9EPDFV03iaFm21pqJG5Yz3QMenS6qlPT8fjtMOIJd+8owCd5wb1NsksLPd+6nofSfJaKEN4/SxHLaL2zt61CPq+kcvS6qy8y41ELlk6PHDiKayVy3E04xLwcWkh4TN4C9gEaLxJoOJwywDfZbrnved0+lq+5RWIlHeOk3XO+NwfMdeM2P9lx3pAjMq8pE5HxJP9KWFiW4psfntojd4853kWlO2dk1U1MOfqMWcO91S37xvYriLmtCJ8UGFJkuwOs96qSQIDjlv4XfnHDkLHLN4e5v+5B5fTkFYag6v7/Lj9aLKX9s1oslNFkDX03IPNpE2k7NSWOC81YB+NBvA== 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)(346002)(39860400002)(376002)(366004)(136003)(396003)(36756003)(38350700002)(6666004)(52116002)(8676002)(38100700002)(6486002)(956004)(2616005)(6506007)(5660300002)(66946007)(66476007)(83380400001)(2906002)(6512007)(316002)(26005)(186003)(86362001)(66556008)(4326008)(478600001)(1076003)(44832011)(8936002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?UlBSS3RxS2xKOForN2M0emorZEhId3AxUmJYMnFFalcrb2hDTmNjaTRRdzRq?= =?utf-8?B?RGxWQUpWYTZNQkdsZU1ybjhhUDFFN3gvOUQrK2g5a056M2krNHNjaVpaS0N6?= =?utf-8?B?WXgwNFZsRWcxMStwVnFsYU12ZWkxdkRRSGpIZlFpZUozVUVZUTB2YThkeDZ3?= =?utf-8?B?blhKUDBFMjZyVWUvdUx5MEkyVit4Q28zeDhtZEYzbXRGN1FPOHYzSGZoRTJm?= =?utf-8?B?ZmJGdmwveHNJTzlSbnpveTg3emtGU2laWGtQYm1UVExVZm9VQ3RodTkyUEVD?= =?utf-8?B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2bjJYM0pW?= =?utf-8?B?Y2MrS3pRbDBER0MyZ0ozUnVlajdnNFltaDRld3Ewc3FFNkRiREtYVkhJNjdO?= =?utf-8?B?WEdFVzY0NDczSlNUWEhVU3BGMjhKVW8rU0xwc3lIRElVU0R2MCtSVllQejRv?= =?utf-8?B?UVpMYkdzV0EzbGNTUW4rQUthai9kM0I0dE84a05LempMamJ2VzdrRnNPL1gx?= =?utf-8?B?MGFVcEJsbEZtTDlha1dCd2VCMmtUOHRMNFJlY3UvS09VN2NudDFCUk1tRUtT?= =?utf-8?B?TDdCVUg3Y0JPdjgzTHZyUWZidElIajVjay82bE5wMWtMWCtuSzR2clFzUkxp?= =?utf-8?B?SEMydGdSZGlEUjNzWER5ellUS2U5a0tHbGNPUDU1Z05oNnJFcjFnSWpVd2Jl?= =?utf-8?B?WUtrd1JWUXprRitLNndvUjR2a2h2V0hJdXhkOFV3SytiMG1iTHE5MkV6bnhK?= =?utf-8?B?Y3dnRFZ0dEg4M1k0Z1hVWUR0d3BDYUpyUGRIc2EyN3BpQjJ5bzBYOFBSZGtC?= =?utf-8?B?YWI4VmpVcFpMWFhpTU1vZTlNZ09uYUNkc2hrME00NTRMVjZTbFhkOFY3b1RD?= =?utf-8?Q?QoqnPRO0NPna2EXJK4iSkuCIvCGbvAoYa3rWiGG?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30a70538-3d19-4364-19aa-08d971d60541 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:47.7287 (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: r7T+KZawLddS1lajkEwWcQvL0mOKbtQgWtHcVEENULdbLb7qGliXk/bJIZl7s8asV4JT+lODxhHTSVZ4/10xRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8551 Subject: [dpdk-dev] [PATCH v2 00/15] crypto: add raw vector support in DPAAx 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" This patch series adds support for raw vector API in dpaax_sec drivers This also enhances the raw vector APIs to support OOP and security protocol support. v2: fix aesni compilation and add release notes. Gagandeep Singh (11): crypto: add total raw buffer length crypto: fix raw process for multi-seg case crypto/dpaa2_sec: support raw datapath APIs crypto/dpaa2_sec: support AUTH only with raw buffer APIs crypto/dpaa2_sec: support AUTHENC with raw buffer APIs crypto/dpaa2_sec: support AEAD with raw buffer APIs crypto/dpaa2_sec: support OOP with raw buffer API crypto/dpaa2_sec: enhance error checks with raw buffer APIs crypto/dpaa_sec: support raw datapath APIs crypto/dpaa_sec: support authonly and chain with raw APIs crypto/dpaa_sec: support AEAD and proto with raw APIs Hemant Agrawal (4): crypto: change sgl to src_sgl in vector crypto: add dest_sgl in raw vector APIs test/crypto: add raw API test for dpaax test/crypto: add raw API support in 5G algos app/test/test_cryptodev.c | 179 +++- doc/guides/rel_notes/release_21_11.rst | 8 + drivers/crypto/aesni_gcm/aesni_gcm_pmd.c | 12 +- drivers/crypto/aesni_mb/rte_aesni_mb_pmd.c | 6 +- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 13 +- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 82 +- drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c | 1045 ++++++++++++++++++ drivers/crypto/dpaa2_sec/meson.build | 3 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 23 +- drivers/crypto/dpaa_sec/dpaa_sec.h | 40 +- drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c | 1052 +++++++++++++++++++ drivers/crypto/dpaa_sec/meson.build | 4 +- drivers/crypto/qat/qat_sym_hw_dp.c | 27 +- lib/cryptodev/rte_crypto_sym.h | 13 +- lib/ipsec/misc.h | 4 +- 15 files changed, 2407 insertions(+), 104 deletions(-) create mode 100644 drivers/crypto/dpaa2_sec/dpaa2_sec_raw_dp.c create mode 100644 drivers/crypto/dpaa_sec/dpaa_sec_raw_dp.c -- 2.17.1