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 AA8A6A0C45; Mon, 25 Oct 2021 10:47:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 94B70410F8; Mon, 25 Oct 2021 10:47:08 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2077.outbound.protection.outlook.com [40.107.102.77]) by mails.dpdk.org (Postfix) with ESMTP id 9CE0B4003E for ; Mon, 25 Oct 2021 10:47:06 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kMTEhLluC0ssvG7QOf1GJyWwi57D4gO7m42PuXClfe4A48cuqX5Iha2FxWL8PggOBpP3nbibFaum0EqPJRL3krVc7HTZZhJtMgiSyEZUKZC3Wt6nyyQmfa6yGuDqwikxw4alqYaQrmUje0WjknODuUBpg6nbpCZ+2pPCGRd9rL+y9tRrrUTdeFE5cIBMea5QPC0iC6jalfY6eMPmaeZzhMD24mLF86PS1BE2H8tam7+euA/kaxvVyRVnkd9FOKuXVFddXNvb9mb792kr5td7Dh/GMIITiezNXy3IeQW0752+v+s+RnPbciK+Tvv6rcVKHrXOqOwMBgMlboZd0N4+Bw== 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=Tmvcs+tk9EUiWOUGpgo14pJPCdTdikpgf3DpQZXuzgmqD6a2uQzlPCzcF+Wjv/lsaVW83cQ31qCsYbT6CVvMSYBoM76T3mI8JMMECigDbJ6QQ09GdBsRbF13Ryu72TJkYNT+E5fLVy7aT7oDdxi6ArYRG1V1fBf+ZULRLsU5ZsWGEvhisZbUj7qdKjI5f2pbIopsdOVUM0343WAg3EB0E1h4Ty78RPBulSPzLiL/ydV1lLAJF4fVc2sGm9AJq3o1kEfdxpgBDSS1EjYd6oJkYYdDJyPZvLYGrJx07L4nwxVJHlZDIO8SGqewAVaznFX5CHVkrWqt0nre0HSnxzdzfw== 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=gPExOK27TUcWYNL7amMsmndDpMaNoH9sGL0tT3kMjpNpegNe/0QGMoIrRC7RGFhn7CMNAKEaVUS24OOF1FbzpPkmOuhBFXY35lgeK07mli9oN8NfbH73K3ATDSuBuixPqRYgAxSEdiCJ8POrssJPa0cSdELXlndLpgtAyush3YUZhf46mOTcSnuQarpORynF7Sb7D+iQzK1nrlDqTi2rJaOxefQezpUJxQGFoj4pBti3P+ZAuQypQBsbhXjvn5d3DbUpJTHDfsa11A+m9wnxXvhOtJD7JSrN82PO3yn3SqOGrY3f+AXRB9BI55gF8JRUmHFUVa8mi2kwWFtGEknrKg== Received: from MW4PR03CA0308.namprd03.prod.outlook.com (2603:10b6:303:dd::13) by SN6PR12MB2735.namprd12.prod.outlook.com (2603:10b6:805:69::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Mon, 25 Oct 2021 08:47:04 +0000 Received: from CO1NAM11FT027.eop-nam11.prod.protection.outlook.com (2603:10b6:303:dd:cafe::15) by MW4PR03CA0308.outlook.office365.com (2603:10b6:303:dd::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18 via Frontend Transport; Mon, 25 Oct 2021 08:47:04 +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 CO1NAM11FT027.mail.protection.outlook.com (10.13.174.224) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4628.16 via Frontend Transport; Mon, 25 Oct 2021 08:47:03 +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; Mon, 25 Oct 2021 08:46:52 +0000 From: Tal Shnaiderman To: CC: , , , , , , , Date: Mon, 25 Oct 2021 11:46:13 +0300 Message-ID: <20211025084617.4952-2-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20211025084617.4952-1-talshn@nvidia.com> References: <20211017094133.18988-2-talshn@nvidia.com> <20211025084617.4952-1-talshn@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL107.nvidia.com (172.20.187.13) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fa694353-96c6-4ad8-a53d-08d997940492 X-MS-TrafficTypeDiagnostic: SN6PR12MB2735: 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: 8uJsZH5KSlzTnFda8jL2yclWk1AMuSpXdyBs4mCmyc7bdUG+zHhYZpBzDTr5jPXxmJsEnvTGx5ph3niTgGwhebeAY4VQiNLQ3G6XVBDMDm42iQc1xpJYH29VjMv2jGf9wj/x1FDmXB/OGH+YMIPKZjbcOs5hAJ/RRDpt7LJWrcncz836uB5d/E9hrb3vm/0nLpKcRThueXoLUy4Edu1/S035oIssThp8LxFnd0K/gziDfRk6Q4brE1zV3aG4tiSS/4ZkT+k8vnYvexbHTJjV2CobqocX/FNuf0q4spi234b4l2NJpid8WWGAsQa93aeW/9updiSRWVtC5l4pkpD0L8gaD5Q32D2MgNHJL0b/gJRwWNjQKcdQ9TLTNPVDE2A885sMCq1m684uC6Grha6TQsrt7pcaQWfSO5nXaX5WA+FRCqdkdTw9uYZZgpBpD0ST5nsQZYvcUtuXApWl+nywk6jPNK5NiHVOkNFdr9gbJaecL8xGlniZhJoHVp5qnr9+zP/ebtcHR93V9MWttC7H1iYW0S4v3/NtSEf07TfM2D4MwoAtKxuYMWr6RGfSX9egq+7rFsTIRn9hl69oTYphJ95HwJiKTTjejSUazuliLhbyTbitj5FIK8p044mjr7Q2CGmlWgxjHbb7A4yBhJqMkhZoe4zDnWQpQzK3rMt9WWxmBQ1LWgvAVMfd/ozksZLyCrwrVULYj+eQY6RLpia8ag== 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)(8676002)(107886003)(47076005)(36756003)(4326008)(86362001)(316002)(8936002)(83380400001)(6916009)(2616005)(55016002)(508600001)(7696005)(2906002)(36860700001)(82310400003)(1076003)(336012)(26005)(6286002)(7636003)(6666004)(70586007)(5660300002)(70206006)(356005)(186003)(426003)(16526019)(4744005)(54906003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Oct 2021 08:47:03.6209 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fa694353-96c6-4ad8-a53d-08d997940492 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: CO1NAM11FT027.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR12MB2735 Subject: [dpdk-dev] [PATCH v3 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