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 83584A0524; Sun, 2 May 2021 09:27:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 65BFB40692; Sun, 2 May 2021 09:27:46 +0200 (CEST) Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-eopbgr760070.outbound.protection.outlook.com [40.107.76.70]) by mails.dpdk.org (Postfix) with ESMTP id A7DDD40685 for ; Sun, 2 May 2021 09:27:45 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=a0R1uMy/yEOvTVaKShCnxJFSdyg3zuURZZOKTf0t9QQJTwI3/vdOxSR58eerMc3/Tx74VS2E63gt0UUcqmlw0U3QRg4zP7Dsmyq1ORE5RDym5kPuGp5ot8xYyb7Nzjzmn5L9ogD2XdOWHlsEeQsnoTsHhAqTOz0o8e8yU6wa4dr/mcg73KsxMjqzDhFHPeSnYMu72VOLcjFsVvld//OmbMJ/hloSTvbGTIsoAri6KQByvyVUgXhuwzThZdvTbfU12hxw1cHtd0boMPcs3ndUUjq9VGw8w9mKmFyyZVtOkYCdTLLSoJ3MHb6czWXy7XNSoZBj/fvDIj+f/OCagkg1Tg== 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=45O4VOaNXkPTOZaaAaHRawJy5S94gGgNd4LaVKvQHdg=; b=Wfc2Mrde2iNX/qUcQdhXv1WT15cCAQhh1LyOyPhYOlQh88UIm+jVG8c3/j8Px6sZgeJV1ngxHbRe/B79SD2u4cjEO9pBEklsTcGY8DBZwtL4EXUBjLMwFJXGwE3Ue50XjAiM6MVeLcpCTJaUSNhKNUyew3YxDnIgMoPAVMQDFm5nCWFsHG/aisdWD+B3SoZS5oOesNsW5tT2/C4WL4VeI66WJbA/oP12TahQhhhfOxXZc8Mf8sA+XTgYK6Iq6zeJi861bJQZTqpad1MbcPuamgbkOLPNYGriI2kIlwM4GczlHAeWTxuXVqyoMHihUl3DsZYH1LwrXw7HhGLeDkyx4w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; 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=45O4VOaNXkPTOZaaAaHRawJy5S94gGgNd4LaVKvQHdg=; b=lKDcgujuTHsWK1ZqgfmVYDaBBzxOuIpD/uKgYwLl8wjgC+FlE652N6bJpPYxe66n5WGaTwRmg1gb2TvgLh2Z3mJlYuS4NAYUGheFx+bupJCI0pTua7Bc74pZjJHuw3MsQBWVxm/Ol9vJYYzszQQ9bLIfu5V/SSF8DpEL3B5sm1HuothT+xnKLV6h3i82XdrOnWnv+caTbJKL6DlhLOXj9F3B+H1RdVKxQpbBVyXtqidPKPzJCp6KQLr80Xs2uAITWzGq7jRYt25iKyqgwn8O0u9mhCMWzToCIG8G+ZKJANsoBaWmxoN2usHWA2g6sWQlnTAGf6YW36U+c3qaoalTrw== Received: from DM4PR12MB5389.namprd12.prod.outlook.com (2603:10b6:5:39a::7) by DM4PR12MB5040.namprd12.prod.outlook.com (2603:10b6:5:38b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.35; Sun, 2 May 2021 07:27:44 +0000 Received: from DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::3c4a:fa65:315b:37f1]) by DM4PR12MB5389.namprd12.prod.outlook.com ([fe80::3c4a:fa65:315b:37f1%6]) with mapi id 15.20.4065.026; Sun, 2 May 2021 07:27:44 +0000 From: Matan Azrad To: "dev@dpdk.org" CC: "gakhil@marvell.com" , Suanming Mou Thread-Topic: [PATCH v2 00/16] mlx5 common part for crypto driver Thread-Index: AQHXPQ583I9EOd4dOEWGBCVTpfji2KrPzxEA Date: Sun, 2 May 2021 07:27:44 +0000 Message-ID: References: <20210408204849.9543-1-shirik@nvidia.com> <20210429154335.2820028-1-matan@nvidia.com> In-Reply-To: <20210429154335.2820028-1-matan@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [79.178.45.202] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8023d3c0-e7fc-4a95-d045-08d90d3bc6fa x-ms-traffictypediagnostic: DM4PR12MB5040: x-ms-exchange-transport-forked: True 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: qME1buFanGxYtg1Po6TutUp27g37I1tROZaSDN1+5F0RwN79z4k4ZSYgT8leFLE8uVZJ0RD3BVc7oD5Q+3Vrcd6wA+NKLg70UfAySbjpY6J4/VUDiGQCN4y1OgyjV9+GwpzsX/DAlsBIb6SxDq96FyFIVV0KiAX+xNdKKfViiJUlDZzqxrx5GfLEuhULGjyTc6NRsq9bdHi6HqGdGgEidGpkwxRrPrAM2V9K0LAwLcjLm61vYynZzY0jDkQp2klJavD73Q2TUMjFDfkhS63+YQEsUan4EhzhZKTmefUbQ9xBY0k5sWwmWGqoYYHSjUcnqTC5QhVzyUXDi23PJSRuVXJRPPHlFpOtMlFvSOx8deSU2g5N/w365TnfgkycoMSq8CRiQ1b56M87/AvNNpmzTqBq4RNAkfhBXbIFNqjD1jFXCaA00GoVLMMcnZdxil3G8Ozibds4vbQ/MVp1ukM6WVFYEnrgKn2DliAyVB/yqtQVywFczHQq8+qJT1bB5eQCFpEcy/KEYXzCcPlXqkiLnHeCCcFQgxNvCeKmqeNbasJAAUqGiYgsqde8GyWGUoML/6mcWjCy+yu7NhL/4FphYhMx2HpBGqd0JjYMUd4YjYA= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5389.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(376002)(346002)(136003)(366004)(396003)(8676002)(7696005)(76116006)(38100700002)(66446008)(64756008)(66946007)(66476007)(66556008)(8936002)(83380400001)(71200400001)(2906002)(52536014)(6506007)(316002)(6916009)(54906003)(26005)(107886003)(9686003)(478600001)(186003)(122000001)(4326008)(55016002)(33656002)(86362001)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?RoQO5zS3MRM8wJuNu2mo975QPbVAMoWWajfTsr78D6Xs2ITmI+9cq/u78laB?= =?us-ascii?Q?HWc2WRa+4hmXofIgIpp6N16PTIpc1Yu3IFUXd9DJkvDvxWrFHL592jxzc8L8?= =?us-ascii?Q?VWjI8dy+a475YO0hEMSKpHMDkedN4ipaEJJGHIOgiOPP5bOwzS7KB/wdSrD6?= =?us-ascii?Q?SMVUfN+DiPf7HYOkbN4xQizFSSGO365khtMYO5pF4a746Cbfky6nF89hkx9p?= =?us-ascii?Q?BIM9Z8kNtwOIawXWtsHhwVV0YuGMMrwdzwtcTYnMbZhC/Rt6L5psy78KyWIq?= =?us-ascii?Q?SbMsaCpDXI3RK1cOjmBVcOZ4ElDdn6gXt+1hxjwTR4gn/CAiQYMsOgPySGqs?= =?us-ascii?Q?bYr7UjL1L62eIs7gpD1Eyy+S3oJNxpa1PmcPQk2MUrGjZ683W6b+ijocG6vS?= =?us-ascii?Q?+AinhtAAKEsImc/fpOwVwnrwNjCZCOiCPSGoTwjVKvgbp8QUI5sfXtvai5rL?= =?us-ascii?Q?xUECOFkxr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content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5389.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8023d3c0-e7fc-4a95-d045-08d90d3bc6fa X-MS-Exchange-CrossTenant-originalarrivaltime: 02 May 2021 07:27:44.0978 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: l63rIxwXgnc3eyXbJDgOdh3P0LBEJFBfnG8CeaDigcjPft8qsxBjyHPLUJyOEalOkPh3pUzMbPNb+JN5PYEERg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5040 Subject: Re: [dpdk-dev] [PATCH v2 00/16] mlx5 common part for crypto driver 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" From: Matan Azrad > 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. > This is the mlx5 common part that added support for DevX commands > needed for crypto driver. > Also includes PRM definitions. >=20 > v2: > Add data-path part. >=20 > Dekel Peled (12): > common/mlx5: remove redundant spaces in header file > common/mlx5: update GENEVE TLV OPT obj name > common/mlx5: optimize read of general obj type caps > common/mlx5: add HCA cap for AES-XTS crypto > common/mlx5: support general object DEK create op > common/mlx5: adjust DevX MKEY fields for crypto > common/mlx5: support general obj IMPORT KEK create > common/mlx5: support general obj CRYPTO LOGIN create > common/mlx5: add crypto BSF struct and defines > common/mlx5: support general obj CREDENTIAL create > common/mlx5: add crypto register structs and defs > common/mlx5: support register write access >=20 > Shiri Kuzin (2): > common/mlx5: share hash list tool > common/mlx5: share get ib device match function >=20 > Suanming Mou (2): > common/mlx5: fix cypto bsf attr > common/mlx5: add UMR and RDMA write WQE defines Series-acked-by: Matan Azrad > drivers/common/mlx5/linux/mlx5_common_os.c | 30 +- > drivers/common/mlx5/linux/mlx5_common_os.h | 5 + > drivers/common/mlx5/linux/mlx5_nl.c | 2 +- > drivers/common/mlx5/meson.build | 15 +- > drivers/common/mlx5/mlx5_common.c | 2 +- > drivers/common/mlx5/mlx5_common.h | 2 + > drivers/common/mlx5/mlx5_common_devx.c | 2 +- > drivers/common/mlx5/mlx5_common_log.h | 21 + > drivers/common/mlx5/mlx5_common_mp.c | 2 +- > drivers/common/mlx5/mlx5_common_mr.c | 2 +- > drivers/common/mlx5/mlx5_common_pci.c | 4 +- > drivers/common/mlx5/mlx5_common_utils.c | 221 +++++++ > drivers/common/mlx5/mlx5_common_utils.h | 202 +++++- > drivers/common/mlx5/mlx5_devx_cmds.c | 312 +++++++++- > drivers/common/mlx5/mlx5_devx_cmds.h | 66 ++ > drivers/common/mlx5/mlx5_malloc.c | 2 +- > drivers/common/mlx5/mlx5_prm.h | 610 +++++++++++++------ > drivers/common/mlx5/version.map | 24 +- > drivers/common/mlx5/windows/mlx5_common_os.c | 2 +- > drivers/common/mlx5/windows/mlx5_glue.c | 2 +- > drivers/compress/mlx5/mlx5_compress.c | 30 +- > drivers/net/mlx5/mlx5_utils.c | 209 ------- > drivers/net/mlx5/mlx5_utils.h | 194 +----- > drivers/regex/mlx5/mlx5_regex.c | 30 +- > drivers/vdpa/mlx5/mlx5_vdpa.c | 32 +- > 25 files changed, 1317 insertions(+), 706 deletions(-) create mode 1006= 44 > drivers/common/mlx5/mlx5_common_log.h > create mode 100644 drivers/common/mlx5/mlx5_common_utils.c >=20 > -- > 2.25.1