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 351E1A0C47; Tue, 12 Oct 2021 17:54:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6C92B411C1; Tue, 12 Oct 2021 17:54:46 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2086.outbound.protection.outlook.com [40.107.223.86]) by mails.dpdk.org (Postfix) with ESMTP id BAF4F411B9 for ; Tue, 12 Oct 2021 17:54:44 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dlUCPVsSbycoDJSSupPq5hLxoesOx/W7WwEZuy3K26dlXZKMaOFRC918w0S/6YaPtMLKo7Lqw3hZlmy+w0CqQbeet/oQADSqwWWUD5dB6cx+D63PHhOzjajOS2mt647egK0l1x7C3Ko6t/z/bvDK/28Ft3+4efWOixSQ84t1TMN2zF7SoE90HPFRmuwaMrsnAE5LD90F7bhB6QG4g6bDNp24/VLzAm38Ul7ln6jRiJg5sgoew7SFyAzdz2F73gSESP95TqX9NTpwjDB8Qa2DAc/tTvGWyPEgukOpdWB3B4bYx7NwG9p/ckfyK1XS13czNq66XKnxaYs9y2oxIor8wg== 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=kZhgM5UvEM+UXTxrwWAp81AoT3JapKoU6w93WrO/eEAFB8u+1BizwB8aCNINjo2ivfm6RS8bHJgpW+06sgZsTn/VfD1y9AKpxr+oUMQ7VTdsHrBHvxf7jtHesxAx46H+k+Xgn4ogMXoSV7kdhxnBnjd8aHJNgRhSvhJhvMvApH+rQmW/foGvhHs64HNQekH5KF4MDBfGSxG8qRQ7sPFgMU66YdJB4v6/bXbTf9M3GgIzI9K2E4X2mjMkVujsRB0eESRpzxZoLCM4QXyWT6yzYOb3P4G+0looMjjgJiMwN1hPnxegF5HGpATsijWIAbUh0jmhicZgWwCCuZ3/sla8Rw== 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=tFbJHZKVzNpftZCiY3C8Ffl4tpgXjukGImCtdx4heocGxG2MzoZvBQDD1+uT1VOfPgbzgvK7fRjn9L0GYVATD3/b2N4eWGwqr9YCxoUbfPaUw34FA47MhlphL1QzBKJe3oXIouhgbicoPxDz+UkGCdDh8Q2hF9+oTuwKtjfxZ3txxJQGX/BFG1+lReNj8fHQ/vAqq5wYCAsg4sIW7l5yZLq7DM0bvRKC2CHOSoMqE64UL+pxoTrPumXBxS7ARN4EPEN4v7W/W7EDd+PDCPZEK7VPfApfPR+Fj1bohgWUGtlTvOIdQm2AIrnoBc04Q+SnCSfAQ9FmR/H2QHp+5f2Aog== Received: from DS7PR07CA0024.namprd07.prod.outlook.com (2603:10b6:5:3af::6) by DM6PR12MB4153.namprd12.prod.outlook.com (2603:10b6:5:212::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.19; Tue, 12 Oct 2021 15:54:43 +0000 Received: from DM6NAM11FT025.eop-nam11.prod.protection.outlook.com (2603:10b6:5:3af:cafe::21) by DS7PR07CA0024.outlook.office365.com (2603:10b6:5:3af::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4608.14 via Frontend Transport; Tue, 12 Oct 2021 15:54:43 +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 DM6NAM11FT025.mail.protection.outlook.com (10.13.172.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4587.18 via Frontend Transport; Tue, 12 Oct 2021 15:54:42 +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; Tue, 12 Oct 2021 15:54:38 +0000 From: Tal Shnaiderman To: CC: , , , , , , , Date: Tue, 12 Oct 2021 18:53:55 +0300 Message-ID: <20211012155359.8908-2-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20211012155359.8908-1-talshn@nvidia.com> References: <20211012155359.8908-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: ea63d416-92cc-4351-da01-08d98d989b4f X-MS-TrafficTypeDiagnostic: DM6PR12MB4153: 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: Or7DsOGWoABc/Zgi7sFeKRsyJ5UQgyEzjPnxsvJGPchA6CRg4KmyfgoWo0xRbpK9svTisK+TgmYlL10j1bTdui0HHu2z/f2EYrmIXmdC4zSV+SI/Xu4tja4H1mqOtybMN5HBRBQ+GDnbUHUCGQoVlGrRVwDgRzjR852MSoUd212qGj6M0bBeg0bfMHfznKPCTW1FQ8TKt2mofrqzr3SZTXrPjTmuIk0doV6uJ98QM4lN44IStWIHIBZI7gwxKKo5K4sTTDH3WGMopOwyDEc500XGw69Wua0KTC/MxNu7eFHrK32bDeDFSWuhYN9eIxsGeul7kWiYTZi0bbz12dQFMiGUEeMNU/IEW21f2GcNfU6aFzoxK46IVo2wbSIHL3g5Nhmy1tLk+zkUIwPZ/Ygb+zUhkfCDpKjW2VSUSR3exA8E3R7ccMKuYIf+5+Qb80ubat+iuu76WcwFvuOhcmzdXKXd6AZzB0B1qva73KPe/D7kCccoUf+YNugHdYPQ5jwTYb0jeHmxKWIdAqWRIIO4LNe75O6G/j9XXH3EAedHWUKbf5OiKgAlcshmAeDykiXyP82aRoFf4bDeQ56VPRZTvIkixcoyWTEHfKd2L0xjCpd3tbfV6AWdk6EgevCaoKL8qW1YkQRDcr0geYp8udsQoeTVTzvTXRKr9M2Cm088TvlLj2U/uRpQRONScuexEPv4TfGRXt4PCugEmNw2bv2jBw== 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)(2906002)(83380400001)(6916009)(82310400003)(7696005)(16526019)(186003)(26005)(1076003)(4744005)(336012)(356005)(54906003)(107886003)(36860700001)(8936002)(8676002)(316002)(6286002)(47076005)(86362001)(426003)(36756003)(5660300002)(4326008)(6666004)(2616005)(508600001)(70206006)(7636003)(70586007)(55016002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2021 15:54:42.8893 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ea63d416-92cc-4351-da01-08d98d989b4f 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: DM6NAM11FT025.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4153 Subject: [dpdk-dev] [PATCH 1/5] 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