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 EAC4AA0547; Sun, 17 Oct 2021 11:42:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6ACE5410F6; Sun, 17 Oct 2021 11:42:11 +0200 (CEST) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2068.outbound.protection.outlook.com [40.107.212.68]) by mails.dpdk.org (Postfix) with ESMTP id 2F92B410F6 for ; Sun, 17 Oct 2021 11:42:09 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V1MEuLKzkG9il+V6ksExsq0xqUX7Ky3y9FBrZhJbAICP84cIHNYidbO5h3JZ1p3VmRbP7eskDBOcp6dPp/O8QSIlc2lAcY9FfwH7p8Lpv4OgMQ0iLXVjrNSW1GUQL1AKfRSAQLKj51/nKew05jcWltt7kSywlrEdGmI+estta7h9y8vdXzL/DzjAwzfV6TTHdJ6mWaJxODhVJeMO42EWdjJiWV/7KxSQZtUflhB6kZTPaF8vwO4kknmajqHkvWKnFKBT/gK9AUYT3GfSWeoBq7wZ5P2be7namzRaNaBA8rk6HGKYBewiOb+bZyz//AQpvM/oAZx25DpfGQ84Kaepjg== 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=rFCKQ7rN8wIae0q68GSVWxlV4W5kv85Z51rt5IsqVVc=; b=BNbL52+/DTY/X7u/1B/kWwOArBg+wXBa6ixSgHn+92eh/dv4tBV3XajFnGiLLjbO0iZ0xqnpR0r0wBpRrXpeiMgl004H1SfPEZDnDacuyHdC3F3EVdrc7hBi9mw1q6K46oXA+naVgbeSpEdUc+OLcZ94M2fd7sZ2J4EMhT0ufDQG9s20FwvAy0cPBlFbLQ8VtwEWMwibOzVWWKKbux1T8/Mu0yqPJGT41LHfjgPZ8vcSqyREEyMz8Mo+5w5akO0b50t1MBdbFjuKBC1iyDKnnJ3JG/CPc6j0PhEgwvbndIBKpLTnubskgOeq5kfXLE4/3KmQsHD69vJw7taAtI+k3Q== 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=rFCKQ7rN8wIae0q68GSVWxlV4W5kv85Z51rt5IsqVVc=; b=NH3Xw7ovr+LqfdI+18PVlhDluIMpt4cCGdVAxmPBRrqs1BZRBwjsJ97sGfUnPWxnYVseQk59wFDEb+320XhYtTGO1cEk03nyqMtS+B34o0KwATEJZ/LFHNpplD0zRs2/C2oP5YgufUiIwWoImmXJj/1Qur7s08A5vfori4nKPsO9KMwYw+cIVE6oKpAM2zsxQZq5L2VczJy2EcjZvYbWWP0TrABFaLAwtUvJmC+xSplwcnZvKuuaBvAC3M6xmIafOS1fTbYR6I8ssTEPJyend8nOA/4p1Ts0m80mE9YJsDVVTI1nGjSNnqhXyLguPv2qvknFxjFPvQckLnjalIU1Yg== Received: from BN9PR03CA0636.namprd03.prod.outlook.com (2603:10b6:408:13b::11) by BL1PR12MB5349.namprd12.prod.outlook.com (2603:10b6:208:31f::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.16; Sun, 17 Oct 2021 09:42:05 +0000 Received: from BN8NAM11FT032.eop-nam11.prod.protection.outlook.com (2603:10b6:408:13b:cafe::c4) by BN9PR03CA0636.outlook.office365.com (2603:10b6:408:13b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.15 via Frontend Transport; Sun, 17 Oct 2021 09:42:05 +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:05 +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:02 +0000 From: Tal Shnaiderman To: CC: , , , , , , , Date: Sun, 17 Oct 2021 12:41:27 +0300 Message-ID: <20211017094133.18988-2-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20211017094133.18988-1-talshn@nvidia.com> References: <20211017094133.18988-1-talshn@nvidia.com> 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: 62b60b21-4ccc-480c-64db-08d991526161 X-MS-TrafficTypeDiagnostic: BL1PR12MB5349: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3044; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FR65WeYLuGBGjf2OJ3u6U0Uo9GuzoiLioY6qcTla0UqDl6BYRtUPQiAdEJ9HkohJjUdbZC7x8Us+kG2yF3mHZdaaFmbIvjzBMVz6UzJx6SPktx6bf9CjG/hM35MipXKNcccDw43rYypSTHejA/pWNjK3X5+HKW1TgrLXAYgRTOcl4GmuY2vNR4QIIVFOCRPLz5KETGEcRsa0JXSsP8GBks/k6Im/Iie7yw/5gMnB5YvEs48Xu81aZgy1OPg4La63IqDdvONDiUoa6Ead9nAx6lQQ3wC2blUwd2Jv8oCUTUFpPyG10ohaPZfYQLiFuTjDRkODu259H7UJ0XiWmEMzekz5Rar1IAALeHrT8KliMyU3RJr8/mPR0KHFXOMminOZ0egrjtVQggx7L4GRPbeUcRMZpwJOr7IHEg7gseYZdnljlFi8HhhbsP6xEPBLT0rMQq4do/yauN3a4skmEtMGR8Mo8kqqDZIX1VNMe7WjjdSXZu2ZJKZrLFQ/cvt8h+hM07fy7Le1dbGvQsvvFur44O96R0X5wZMmfKD+xT29Gu7cJa0vtCL7oWF8kb4kXICO/udUyocGQsd6Ji75w8tBwjE/+AzQ2O9ZneffhnZEs2pz5Hn5XlcbGn12VIqGN6CbG1p8LzIIqeGSdJoVQV6a3RhEDCtUz4pWBltgMXc1T0qxLDM1d6gdI3sw9X2AUs+wF6R3KJFI7ZuIj9NLm4fsxQ== 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)(46966006)(36840700001)(426003)(5660300002)(1076003)(47076005)(4326008)(70206006)(316002)(7636003)(107886003)(6286002)(83380400001)(36906005)(336012)(508600001)(26005)(55016002)(6916009)(2616005)(6666004)(356005)(186003)(16526019)(7696005)(4744005)(86362001)(8676002)(82310400003)(70586007)(36756003)(36860700001)(8936002)(54906003)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Oct 2021 09:42:05.5115 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 62b60b21-4ccc-480c-64db-08d991526161 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: BL1PR12MB5349 Subject: [dpdk-dev] [PATCH v2 1/6] common/mlx5: add DV enums to Windows defs file 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 needed DV enums used by the crypto PMD and missing for Windows OS. Signed-off-by: Tal Shnaiderman Acked-by: Matan Azrad --- drivers/common/mlx5/windows/mlx5_win_defs.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/common/mlx5/windows/mlx5_win_defs.h b/drivers/common/mlx5/windows/mlx5_win_defs.h index 47bfc907e7..9f709ff30d 100644 --- a/drivers/common/mlx5/windows/mlx5_win_defs.h +++ b/drivers/common/mlx5/windows/mlx5_win_defs.h @@ -93,6 +93,18 @@ enum { MLX5_ETH_WQE_L4_CSUM = (1 << 7), }; +enum { + MLX5_WQE_CTRL_CQ_UPDATE = 2 << 2, + MLX5_WQE_CTRL_SOLICITED = 1 << 1, + MLX5_WQE_CTRL_FENCE = 4 << 5, + MLX5_WQE_CTRL_INITIATOR_SMALL_FENCE = 1 << 5, +}; + +enum { + MLX5_SEND_WQE_BB = 64, + MLX5_SEND_WQE_SHIFT = 6, +}; + /* * RX Hash fields enable to set which incoming packet's field should * participates in RX Hash. Each flag represent certain packet's field, -- 2.16.1.windows.4