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 11BBFA0547; Sun, 17 Oct 2021 11:42:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8242A40041; Sun, 17 Oct 2021 11:42:06 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2048.outbound.protection.outlook.com [40.107.236.48]) by mails.dpdk.org (Postfix) with ESMTP id 079984003C for ; Sun, 17 Oct 2021 11:42:05 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UDoq36HHm+o3jIg/0BBGBMMPqvZz79aHnxDiRwL6nr56u7r9JYTNB6/D75AEeWPzTfS1WCK15MhOxRnKI38DYVS0TXTEijYSpl7m17EJqa0h42N8j/Z91i8TFaSXvclUds5vj4kWwy0C3s93lkdbFhW4CL8iKYrYczDeGa8sI2vd+495JPdGBLAHJ6xM/0lrK38M6oocdNJTSS6N4Ir2A0kaNjIrTjaojLExpgldgkyTm13Q5UkjkSi8///qq+SLVVouHG2Xs0jReNNKwRf+/iZEDedM1vJiDTDjpQkTuBBmtVS2gJily2InLi/IxT74cS5aCtNV1pv2zf1GJgs5mg== 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=HCz9kGfCUMN0Cdt1kjsJdawdEutyfl0/GY0Y6pawySQ=; b=L12ZvmReHW1MkG64lvDRcniYg2rzN8UWKUsoUlwGfJhsYDZwut0dnlV6Z7MucinRNR9a2zhLZd0MapybB8horE2z205H4lWp+eSZ5cF+EoXeY9DQnfd4/gCHgRzAziRsyTauw7m79vneuVRJU0NgrhE/JtSVZ2SjZfR+kHQ1gk39ood/z7yC7//3+4Xdqn6qJpbZuDnTBJYislFTxIxE9FfBg1h5E90B2LYeejf76ILHNr4GzB0Sef4vqQBq0qHj3P9kVtGl/rYdeO6IDAr7GIDIFHr3OoGcT1Rn8zlBWgRTcSK4RS/BXQv4C1xYTx+9Pkmk6LWFwfwOxRvf1pNOnw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=marvell.com smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=HCz9kGfCUMN0Cdt1kjsJdawdEutyfl0/GY0Y6pawySQ=; b=gBavg5dxJ8+efVwkIdtiGPI8b1PQ87V/2yiewAvQKr7PxtNvHfovHwuzni7VcRBvT/qrO48YbJAhxPJd1O3456TxMll31RKsyz5K9xIGcfvJZsP8Pgsw6cnx77birkDMJMLMgAD5QKGIOMl3nxai28DFZsEUBwXsr1PPckl+aH1mDcjpUA9ePBKrHLd1ZaDIkyVocDEpPh5Zt6rl88MyUyNJNpSobfRm5c+OmbnnWGGyuQIkZc7CcK18y92rxnELMTrV5aPRxIC1I/h/hDSk/ZH3NiUD0uyZzUm2Wbejfd1yguloys9BJTUxvnZlkjcXnvMTQZwcJDAUWPP3WKVB8Q== Received: from BN9PR03CA0635.namprd03.prod.outlook.com (2603:10b6:408:13b::10) by SJ0PR12MB5408.namprd12.prod.outlook.com (2603:10b6:a03:305::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.17; Sun, 17 Oct 2021 09:42:03 +0000 Received: from BN8NAM11FT032.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13b:cafe::c7) by BN9PR03CA0635.outlook.office365.com (2603:10b6:408:13b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16 via Frontend Transport; Sun, 17 Oct 2021 09:42:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; marvell.com; dkim=none (message not signed) header.d=none;marvell.com; 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 BN8NAM11FT032.mail.protection.outlook.com (10.13.177.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4608.15 via Frontend Transport; Sun, 17 Oct 2021 09:42:02 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Sun, 17 Oct 2021 09:42:00 +0000 From: Tal Shnaiderman To: CC: , , , , , , , Date: Sun, 17 Oct 2021 12:41:26 +0300 Message-ID: <20211017094133.18988-1-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.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: 91fcc8d4-3b8f-4b6f-6686-08d991525fe1 X-MS-TrafficTypeDiagnostic: SJ0PR12MB5408: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1201; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /wn3PJyiRc/HeLPnd6QQED+VQ0zRXICDEUH4G461+HeU0KmcHcYLNIFyQfeHJDh1wTmbhed3ieOyJLnB/HBDkWl08UdkX3gEcdwMs4k8A6gO8CvM+X6F4sRZpk7KThk+JglKKfgtjQbMohV064Qux5WD8eAfjVEVfgviak8EQ7SkRSgXG3aq4CW3VawSzaYbik60CYCNXsu8FVjOcdVnHecz/cYrNGmW7DLS1v7VaWOSzxGJkfbOD7fYOYQGfwm/CCo9+e/u4mXPAseW3GWaA89lLl4co6q0FyD2Hch5blAUM6cAci8j4hPTHk4WSFFO84lVnsGE0IXikffwwhyVY6syDj6tusuqSkHVATc3mlWofKUGk11agSm1n35FvW82G3+Bx6/4smHHehPfWTHbxYfWn5CZR+KGhQVmEmB4UmWgcTAhPsnRurMRtZghUv2h6kJnPMir9MCvoxBn7wk/BwqFHXiYN55P7SrUdhVdPNJ2GtfSG0SuoScRXywQELwCPrvkeZmlqfZeyLVC25bGkXQlf2UnlzLP7U3gR/DC3jS+PrPRijSvMfaVTacWRN9D+E2Qs/BAjSN4p/UR9jbT1c5te9GjkyHaX08fA4ucfIKe7qAzUO1Wt5qi5/HDj9fQkSr925a67eGDzUGWaTUk9wC8ln2BAU1zhgtNdOV+m5q2bvA6DZySdPKcJUE3hZwGpQv+6kxrIcrd1C7UDTDNOw== 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)(36840700001)(46966006)(336012)(82310400003)(2906002)(47076005)(316002)(426003)(508600001)(4326008)(26005)(186003)(6286002)(2616005)(36906005)(54906003)(8676002)(5660300002)(1076003)(7696005)(16526019)(36860700001)(8936002)(356005)(107886003)(6916009)(83380400001)(70586007)(70206006)(55016002)(7636003)(6666004)(86362001)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2021 09:42:02.9979 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 91fcc8d4-3b8f-4b6f-6686-08d991525fe1 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: BN8NAM11FT032.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB5408 Subject: [dpdk-dev] [PATCH v2 0/6] Support MLX5 crypto driver on Windows 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" Support the MLX5 crypto driver on Windows OS by moving the driver's control path communication with the Kernel to be OS agnostic. --- Depends-on: series-19421 ("mlx5: sharing global MR cache between drivers") v2: Split build change for mlx5 only and the rest of the drivers [AkhilG] --- Tal Shnaiderman (6): common/mlx5: add DV enums to Windows defs file crypto/mlx5: replace UNIX functions with EAL functions crypto/mlx5: use OS agnostic functions for UMEM operations crypto/mlx5: fix size of UMR WQE build: check Windows support per driver crypto/mlx5: support on Windows doc/guides/cryptodevs/mlx5.rst | 15 ++++++++++++--- doc/guides/rel_notes/release_21_11.rst | 1 + drivers/common/mlx5/version.map | 2 +- drivers/common/mlx5/windows/mlx5_common_os.c | 2 +- drivers/common/mlx5/windows/mlx5_win_defs.h | 12 ++++++++++++ drivers/crypto/aesni_gcm/meson.build | 6 ++++++ drivers/crypto/aesni_mb/meson.build | 6 ++++++ drivers/crypto/armv8/meson.build | 6 ++++++ drivers/crypto/bcmfs/meson.build | 6 ++++++ drivers/crypto/ccp/meson.build | 1 + drivers/crypto/kasumi/meson.build | 6 ++++++ drivers/crypto/meson.build | 3 --- drivers/crypto/mlx5/meson.build | 4 ++-- drivers/crypto/mlx5/mlx5_crypto.c | 18 +++++++++++------- drivers/crypto/mlx5/mlx5_crypto.h | 2 +- drivers/crypto/mvsam/meson.build | 6 ++++++ drivers/crypto/null/meson.build | 6 ++++++ drivers/crypto/octeontx/meson.build | 6 ++++++ drivers/crypto/openssl/meson.build | 6 ++++++ drivers/crypto/qat/meson.build | 6 ++++++ drivers/crypto/scheduler/meson.build | 6 ++++++ drivers/crypto/snow3g/meson.build | 6 ++++++ drivers/crypto/virtio/meson.build | 6 ++++++ drivers/crypto/zuc/meson.build | 6 ++++++ 24 files changed, 126 insertions(+), 18 deletions(-) -- 2.16.1.windows.4