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 7FF92A0548; Tue, 22 Jun 2021 17:35:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 09D984003F; Tue, 22 Jun 2021 17:35:23 +0200 (CEST) Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2089.outbound.protection.outlook.com [40.107.243.89]) by mails.dpdk.org (Postfix) with ESMTP id 59BE34003C for ; Tue, 22 Jun 2021 17:35:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k8zC3pSJRSOQLKNf3YG+HQ64f6rFb6DMfQc8mBENSVrw1fqJUUSIhS2de64wtFPCKSHNOhoqUA2UhjlPgq6t9EXOCZkjNXTZVjdlUf+7GRYjOPqtOAaBXqwzE402Run68IEJ2MiwSgYVkFqp6XEx9sO2Y2MpwTa7kMae8EPPWwDZ+vTIfdQ4mXl2GiEBR1HmaOLhgmMuRmdqUdFg5bl+uYe+pk8ZfgnmTh0FPKkdS03CbkWMdFCHjKNTlOBmtpOKUU9b5ipl/7jMVftgdKjhtVSDguE+rI9bg0vRCy44MqbwQdBckZBklgdPJ1C16WHGe15n4F9cntQELYvrF7w6Eg== 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=/OggvksLaIk4d+XD591MsUwUJLWHV9aCBtVusKvT7P4=; b=kooQIPezTCvQkAQsMrdlUtaVRE2jJtLl1D7Coii2vGf7mXxWpi8JEPAazPRbRPQ0fSHS+DL9cHpjqr4BQwCpqJT3K0irjeens5WgSarZI7yHRR5Z9xRX+JaFsDSmI9SD+2aA8tqJA9YJNcU9cO6KMI3Zc5ujlLoOEl8MdTHKey24dHy8sKHvcbMLQs6VRav39Ae786Ekh306puqnx2/zIYz/449NXs5gT7z81BHjhIafGgs2L2/MulVIoI/9EiBf6I5vGAEvxqqovifU0ZZpbqiQMkfoKlez5ULyNfmy+M52mwZMjdBNtQd5ZQ6Xv3klKjYgcJg6wafgQOROh6kJLA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=monjalon.net smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none 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=/OggvksLaIk4d+XD591MsUwUJLWHV9aCBtVusKvT7P4=; b=Saf6D1yKasUKW0MQfx3TePe1ryeHJKUoZ0GTfQZJxliuLMZwt5JiyzUmOKa1iecSAvw7HoFQJZwJvehtWUBbMwn93ybpGAzC7mw5BKfuaptFr4Av5j/T95dabb5c8jI1B2IumMz4jbSHDdBtK+OrLaE75IaEjXej7RB0hg8idGDw1r/cEkFshMchIY0CpJsEHNKG4icGoJM+rIpMWyRSF9hs9W/sMPyjYcfKlefxGohWrnc6DlZzjM5GoS8/OCdg+ERfb0VjuSROYr458wRX/gdXFyAt4eB9ga/YyOQMNxtMN2MhtQ1uOgmqQRphvCewiLv+5xp6ZpbpxamD8CZEGg== Received: from DM5PR07CA0155.namprd07.prod.outlook.com (2603:10b6:3:ee::21) by DM6PR12MB3481.namprd12.prod.outlook.com (2603:10b6:5:11a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16; Tue, 22 Jun 2021 15:35:20 +0000 Received: from DM6NAM11FT067.eop-nam11.prod.protection.outlook.com (2603:10b6:3:ee:cafe::f4) by DM5PR07CA0155.outlook.office365.com (2603:10b6:3:ee::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18 via Frontend Transport; Tue, 22 Jun 2021 15:35:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; 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 DM6NAM11FT067.mail.protection.outlook.com (10.13.172.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4242.16 via Frontend Transport; Tue, 22 Jun 2021 15:35:19 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 22 Jun 2021 15:35:17 +0000 From: Tal Shnaiderman To: CC: , , , , Date: Tue, 22 Jun 2021 18:34:50 +0300 Message-ID: <20210622153450.12324-1-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20210617160746.9228-2-talshn@nvidia.com> References: <20210617160746.9228-2-talshn@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.5] 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: 1abb0ba7-1910-4902-289f-08d9359357e1 X-MS-TrafficTypeDiagnostic: DM6PR12MB3481: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr 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: 6Da4SEWtc9zbhgHj3bbcSh0c2/RES9Ix9UHj8O/7Ax4Al4kOndbWcRVlFIF5GStWWWjfPnRdiDu6AOzxyKcMtHUn+u56sT3vpjcIuuYsKa06fNeTgdXVYlZ4pKxS1kU/MWfwytG5uTHtf/8UGCUv6MDBGZ6IaddFORtkQZDncJQwy1iuzAugng7wjRcAfo0edsev+GLcn66YI1+KUH2H0B1o8HE3iFBrRI7fuMhf6JQ6y2R4K1GZ0RRdYdy61SzUz3DWNZ0+AT8GR694VHaL/1iEDDGjoQq4AMG8FVlK3apErIPMTurjN7k7NInvkNHIOFNL9pWKtZ9AAD2JcUQYUvOwkPCNtBVOCpmb/uar43NK5yt/xrR75+UA00isyj6Md3qUE+amG98t6BgKYt02WRhksRmzPwpJ75cSBn+emhOyb6Rt23E80cJDGLzhWY8+3Z4uZKpTdlAQECVPDNRKElJrwpdeTUmDUFN/aNP8mZBT/VL9dHWPRLIY1WZk0+2M4I6xOfB1F55lCdTX36DM36rIKsoZ3tNzsCYsuIKFhiTcMe6taevbE165AZOhrpxn7G3CDIoN9De+QKQfZX9UbFNdJo3zxBAM0tTZsplGF3t5BLuwgeCx760KM2Rj+QVIW/jJYKYTiYgdW6YDueOJ5iMXlt02OcF3TfpfCSzFecw= 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)(39860400002)(376002)(346002)(136003)(396003)(36840700001)(46966006)(70586007)(70206006)(316002)(16526019)(186003)(36906005)(6286002)(7696005)(36860700001)(36756003)(1076003)(82740400003)(26005)(4326008)(55016002)(54906003)(5660300002)(8676002)(82310400003)(107886003)(8936002)(336012)(6666004)(47076005)(426003)(2616005)(86362001)(356005)(7636003)(478600001)(6916009)(83380400001)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2021 15:35:19.9384 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1abb0ba7-1910-4902-289f-08d9359357e1 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: DM6NAM11FT067.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3481 Subject: [dpdk-dev] [PATCH v3] net/mlx5: add TCP and IPv6 to supported flow items list in 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" WINOF2 2.70 Windows kernel driver allows DevX rule creation of types TCP and IPv6. Added the types to the supported items in mlx5_flow_os_item_supported to allow them to be created in the PMD. Added description of new rules support in Windows kernel driver WINOF2 2.70 to the mlx5 driver guide. Signed-off-by: Tal Shnaiderman --- v3 merge code and docu changes to a single patch. --- --- doc/guides/nics/mlx5.rst | 3 +++ drivers/net/mlx5/windows/mlx5_flow_os.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 83299646dd..eb44a070b1 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -123,6 +123,9 @@ Limitations - IPv4/UDP with CVLAN filtering - Unicast MAC filtering + - Additional rules are supported from WinOF2 version 2.70: + - IPv4/TCP with CVLAN filtering + - L4 steering rules for port RSS of UDP, TCP and IP - For secondary process: diff --git a/drivers/net/mlx5/windows/mlx5_flow_os.h b/drivers/net/mlx5/windows/mlx5_flow_os.h index 26c3e59789..df92f25ce6 100644 --- a/drivers/net/mlx5/windows/mlx5_flow_os.h +++ b/drivers/net/mlx5/windows/mlx5_flow_os.h @@ -42,6 +42,8 @@ mlx5_flow_os_item_supported(int item) case RTE_FLOW_ITEM_TYPE_ETH: case RTE_FLOW_ITEM_TYPE_IPV4: case RTE_FLOW_ITEM_TYPE_UDP: + case RTE_FLOW_ITEM_TYPE_TCP: + case RTE_FLOW_ITEM_TYPE_IPV6: return true; default: return false; -- 2.16.1.windows.4