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 EE303A0A02; Tue, 4 May 2021 23:09:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 60EF640147; Tue, 4 May 2021 23:09:25 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2079.outbound.protection.outlook.com [40.107.212.79]) by mails.dpdk.org (Postfix) with ESMTP id 788C240143 for ; Tue, 4 May 2021 23:09:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fSvXivAqyG600xVOQ8Qfb5fOudtZbMLVrRXl9nfvYK5jWVunUq0u05+Xsk2GDvgSfF3qkLOAVsS2CoOlhOIx78/wKK09+X17GlG2L0O6pUspPB7nyLOwcgmcgo2RF6hwzSN9RV1jdroxacpabQodJDdA8IuxcXWDW103UHPGUWs8l8BhPNUo40RWxHDvb10D2aQAAZJWghbCpd/X7kzYX/zzx80ylwspm5/1MXg8dK9KRA39o8OwTXZ3lVK0rSkaMBGqvLmh6ewSWtpK0rLYwIFHdZxarQX/4x+MaUdpPK2HptOiu9SxYaFLDHmmoH6AySw0pE0DtCe0xWZ5wguF4Q== 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=iwNz0iHM6r5PvUE9RFTBd/5lgCfCyTPrsmrCFkoPN5c=; b=kdbZ/wpjiHhOoo/mCyutH5F4Y6b/dezA5BmubFaPfFXhh/jQlmcaL3jGqwVKUFWlV0nI0kcRhQp0JhYstnMVK9rcvBY35hNIhpa3u9AP30x9hbQU5Yyk+mPCEhzEqJ7K10Bw6U/m9plzdL/SV1ReGt5p/d5499aVTqXk7Lw/wAp7Da5OG44K4/8jTZV8w/ZGjqYWanoEdwnlE6Uq+Y0jAge/m/EqJwlz0L9oG787ROcg5mMSCCxBpGZswZcdxBJxSQsQgqUPc+1WCq/dws/wlJjle9CmzN8iKvdoO0RnVZB0+qNLsbnwXDKeoexCPu0qNoG7+EZeOUI/ih41iQGFVw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iwNz0iHM6r5PvUE9RFTBd/5lgCfCyTPrsmrCFkoPN5c=; b=mBLqsWaMaFB9Fvgb6s6F6ow7s3EuWmHFVMYY/Lq4KfclcaQqVzEt5BxKAcYz3fUqp09t2J1ErnhO+nT7aehDnsVkyHUlBc0lJ98kT7Vg0Xlzorcjq3j8Xp+ausLVzXY/3vo9LV0Ak/Jn+Z0XVl9Kd4QCOTr6okT4DPUQzmP1zz9kyWYKsxS3+HIXT2Yt8Oxf/IYuOzL0RrT+ewjGWlgQfJiqk1a4bKj6+YcDcCq6c8dUPv79BnWru5jwgWUcPDpLMWVlzBlKvTg9rgqKGvel5uL+HFDuLXqkvuSL2mw7y5LEqDaiUrCOLNbfP2mzRITZP/k4ItoUOMC3REtHYiATtw== Received: from MWHPR13CA0047.namprd13.prod.outlook.com (2603:10b6:300:95::33) by DM5PR12MB2438.namprd12.prod.outlook.com (2603:10b6:4:b5::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.40; Tue, 4 May 2021 21:09:22 +0000 Received: from CO1NAM11FT066.eop-nam11.prod.protection.outlook.com (2603:10b6:300:95:cafe::fb) by MWHPR13CA0047.outlook.office365.com (2603:10b6:300:95::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.10 via Frontend Transport; Tue, 4 May 2021 21:09:21 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by CO1NAM11FT066.mail.protection.outlook.com (10.13.175.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4087.27 via Frontend Transport; Tue, 4 May 2021 21:09:21 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 4 May 2021 21:09:19 +0000 From: Matan Azrad To: CC: , , , "Thomas Monjalon" Date: Wed, 5 May 2021 00:08:42 +0300 Message-ID: <20210504210857.3398397-1-matan@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210429154712.2820159-1-matan@nvidia.com> References: <20210429154712.2820159-1-matan@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e153b4a6-c1f5-47a4-cfe8-08d90f40e36c X-MS-TrafficTypeDiagnostic: DM5PR12MB2438: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: HPq0xLb4TPFD6xariNax3lc93isl7Worf85Y0C6jkkS/WDteDn1hzkP9Hb4QuyDBcchFgsewJxnVN8aVRtayOoKgbBphutD/kODkBcJRv9KQo7qH4PejPkiOTLxOUw8W/yp7n6T0uJpjLIcv+NFRlAE4fui1n5HPfMOoUIhyeI5NeaasS3NiciKctTBPormLKyuCcCAvLc1Sd2xaDsaOsOlWL+4ynuZh7uTvbKk3YACcnoEPcFsvPElOIdOHN4VrSpjHpxvWcUrO12/MFKXZWNCfbe8aXIiFge9fCP6WGDZ61VRQvSSbeMxP2lQjCDEICTbQdPXB/XKgqaGB+yylWlYCPpei07PiziF4e1hJT+apDgprNJMWKrYzM89hUkU/zK8Q7MZbpPShrsOB8oAjsGKd0Gev+5/tCAoZ4bfDiKCDGmY6zE5mYRDTHkmZotiYdwhD+NwbwCOIW56RnLPJCsixffK2D4LrWkyDA616SpeZsgxSOVUuSG3rnp4CfyPwILi0j3O0lgd83P8Cb3AZnQq945Z6S1NQ14Jfoh41anXwks9EiYZcLYnR5FlYoBTQ5PeFV6O9xC52C7vTy5Ge/4dTvJxVJwFtZqcsQ90qtzYY7Qpd5Nznfj/D3Uoby26Yo8u+N60egoiQ5+MwPV31b9a33c01t1ugCusG0MCfgIk= X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(376002)(346002)(136003)(396003)(39860400002)(36840700001)(46966006)(478600001)(2616005)(7636003)(47076005)(356005)(86362001)(316002)(54906003)(36906005)(55016002)(82310400003)(336012)(82740400003)(426003)(8676002)(6286002)(8936002)(70586007)(36860700001)(26005)(70206006)(1076003)(2906002)(16526019)(5660300002)(83380400001)(186003)(4326008)(6916009)(6666004)(36756003)(7696005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 May 2021 21:09:21.6379 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e153b4a6-c1f5-47a4-cfe8-08d90f40e36c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT066.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB2438 Subject: [dpdk-dev] [PATCH v3 00/15] drivers: introduce mlx5 crypto PMD 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" Add a new PMD for Nvidia devices- crypto PMD. The crypto PMD will be supported on Nvidia ConnectX6 The crypto PMD will add the support of encryption and decryption using the AES-XTS symmetric algorithm. The crypto PMD requires rdma-core and uses mlx5 DevX. v2: Add data-path part. v3: Rebase. Shiri Kuzin (10): drivers: introduce mlx5 crypto PMD crypto/mlx5: add DEK object management crypto/mlx5: support session operations crypto/mlx5: add basic operations crypto/mlx5: support queue pairs operations crypto/mlx5: add dev stop and start operations crypto/mlx5: add memory region management crypto/mlx5: create login object using DevX crypto/mlx5: adjust to the multiple data unit API crypto/mlx5: set feature flags and capabilities Suanming Mou (5): crypto/mlx5: add keytag device argument crypto/mlx5: add maximum segments device argument crypto/mlx5: add WQE set initialization crypto/mlx5: add enqueue and dequeue operations crypto/mlx5: add statistic get and reset operations MAINTAINERS | 4 + doc/guides/cryptodevs/features/mlx5.ini | 37 + doc/guides/cryptodevs/index.rst | 1 + doc/guides/cryptodevs/mlx5.rst | 152 ++++ doc/guides/rel_notes/release_21_05.rst | 5 + drivers/common/mlx5/mlx5_common.h | 1 + drivers/common/mlx5/mlx5_common_pci.c | 14 + drivers/common/mlx5/mlx5_common_pci.h | 21 +- drivers/crypto/meson.build | 1 + drivers/crypto/mlx5/meson.build | 27 + drivers/crypto/mlx5/mlx5_crypto.c | 1092 +++++++++++++++++++++++ drivers/crypto/mlx5/mlx5_crypto.h | 92 ++ drivers/crypto/mlx5/mlx5_crypto_dek.c | 136 +++ drivers/crypto/mlx5/mlx5_crypto_utils.h | 19 + drivers/crypto/mlx5/version.map | 3 + 15 files changed, 1595 insertions(+), 10 deletions(-) create mode 100644 doc/guides/cryptodevs/features/mlx5.ini create mode 100644 doc/guides/cryptodevs/mlx5.rst create mode 100644 drivers/crypto/mlx5/meson.build create mode 100644 drivers/crypto/mlx5/mlx5_crypto.c create mode 100644 drivers/crypto/mlx5/mlx5_crypto.h create mode 100644 drivers/crypto/mlx5/mlx5_crypto_dek.c create mode 100644 drivers/crypto/mlx5/mlx5_crypto_utils.h create mode 100644 drivers/crypto/mlx5/version.map -- 2.25.1