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 4C6F0A0C48; Thu, 17 Jun 2021 18:09:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04B7B4067A; Thu, 17 Jun 2021 18:09:30 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2064.outbound.protection.outlook.com [40.107.236.64]) by mails.dpdk.org (Postfix) with ESMTP id 5DBAB40150 for ; Thu, 17 Jun 2021 18:09:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kxl0/6DikonQwnrwobHFRRQQGRAYoHCAm+HIm0DsTSwM+7ie0439eDoT+/7bw+QxIT9gmSWiIok40AzF140tfcWVLjtazI6GIWW58y1k1hUQjbqc4337nF5+QoHOYP/1cq+7uVnPtU4qCQidK1AiQfhAYisa7pfkFojchKXLJYKYSmR2yIA7k+mH0HX6STLSdAeStyBO28u58K7byswRCsyxfnMYPGKC4m/Q5SCDAGYYJCInyfFnWpx1VXRREQtbkqlaSVMIOYPcJUjGYnH0jtatJoJJ+HLkoKVWpJ8fn4Dm1y3YTuBGL9e4IcuLN7/cbB2r1JlseZsX4n6/jGCb0g== 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=2a2lSyeB7OaMG1xTJFgTv1GKd87AYhsJbgRgRSykwmY=; b=hKirpkKu9Z0Wmq3Pga1fDzxSpXN00jjTxvwnTNmLj0+v0VgHNVSPmPY0Vo0aGtDRr9tWsrboIgM3gSc8vlRCbSLSEIAKXSGbsR7mhDu9hnz8NPk+/52JRhLhClZg4owDH3K0qgOx7+2JSJ7ArCw/TLuKLjFr1h7psWLslD0Fgr3lFMB5tyYbwd8AlzUUjPxNA/mEio3oJK7sZ/T7lb+jzgDsNXhq/XdBTvPKwYPWvh6aGF4U6s4EGNQ4Yb5AKyxKbwTEu5fZeIomhtySLHbq4fB+9KfkaTEO1oLXf4UxuaJqLhuzvejVFIBFIeSK0a4rzT+v7Yx2D7apxPtpvZygLw== 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=2a2lSyeB7OaMG1xTJFgTv1GKd87AYhsJbgRgRSykwmY=; b=XSdY8Oh9guM+QL+Y5yPEUlQssy2SpKsXk1OHh2LFoSS1YHmqod4wZ5AuJt8MTJ+uS1fl4gAA8nAsjD/L9vIvIXBr8ikWn47ZDKqlzC1OJmS15qXegf3ScZixQYUhVVF9v6hB50vH1zTfz3YWP8FKWJgnBbWdLKajSIfn/KzLHXoMzKiZIan9J06ExFs81kI18FRZBi+fbTCx+IjWK6D93KO6KApgawyANGXjYPKh81XmR8WoTrhEro5DRVU4gqvFvVpBOLSxRQRQw1vYI9G/HREEZD4la63oDtVUuzQoMHNPK4N2PaE+EOP4f4RQWiXLUBbGWgdxdXJI+Zr2piYDDQ== Received: from BN6PR11CA0032.namprd11.prod.outlook.com (2603:10b6:404:4b::18) by BY5PR12MB3956.namprd12.prod.outlook.com (2603:10b6:a03:1ab::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18; Thu, 17 Jun 2021 16:09:26 +0000 Received: from BN8NAM11FT035.eop-nam11.prod.protection.outlook.com (2603:10b6:404:4b:cafe::a2) by BN6PR11CA0032.outlook.office365.com (2603:10b6:404:4b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.21 via Frontend Transport; Thu, 17 Jun 2021 16:09:26 +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 BN8NAM11FT035.mail.protection.outlook.com (10.13.177.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4242.16 via Frontend Transport; Thu, 17 Jun 2021 16:09:26 +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; Thu, 17 Jun 2021 16:09:23 +0000 From: Tal Shnaiderman To: CC: , , , , Date: Thu, 17 Jun 2021 19:07:45 +0300 Message-ID: <20210617160746.9228-2-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 In-Reply-To: <20210617160746.9228-1-talshn@nvidia.com> References: <20210601124950.15908-1-talshn@nvidia.com> <20210617160746.9228-1-talshn@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL105.nvidia.com (172.20.187.12) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 95ab0ccc-ff41-4bee-d9e9-08d931aa47b9 X-MS-TrafficTypeDiagnostic: BY5PR12MB3956: X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: h87eqQiXkDaPXdX/qoFoBubSb0CILxGfMqnYOr3SVli2oIcS+g0C8YO6POskpCIcWPqixD0SIz7r6e26o5WCH5Sqvv6goMdUXhzb+h30xPas1lvBGN7Didie3WAkviWB1oLIE8lRrjS8TwKeFQ/fv4KtsqVqIdWcMqB8SVeLkBiV+6AO1xnbU41Kju8RwpC2wrDPEKB4YbMbor/bHNAVl3Cos5nc3UbEfrONBy84+jxzbjIr7LlfF/wdBTd0sM4TVTMUYEYS/K8HUDLFIjWCwBBFShENknryHyGjTs+DYssmRu5MG/hGw41ZLT4boxAac1ybDAqt0Hv0GpEn72jJLp2V08rEsw1hiePG0esezepNDgzNkmnPLxD29kqBft4Cf6gtyeRlNUBCqXZPK4RVUG1HpgF4iU1ofvFfUaOVpiwT3xW8c2V1Fc5cGgjDiE6O/JfdrVYlA8wWbGTbCPN52jMAa6gBWcqbDPVjPpx63P4UvDFOR8MGczKhtlW1u8Z+SMMoA5REwEgmZ9q/833IAVpeo+0Tja2GRxym/ps2hHY/YV3A50R+a2/WTL7Zlq+XSbp4cN92ZaFQBDbNJIjD0sNNLI4ucwVOVOgZ14g+3jtiLTR8qkkVzmgdpC0gPUPL0WsKc8aOzAJQnmqEjYsP8OZx0peJ9ah1hM5MMObRg28= 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)(376002)(136003)(346002)(39860400002)(396003)(36840700001)(46966006)(426003)(6286002)(5660300002)(70206006)(316002)(478600001)(16526019)(26005)(70586007)(186003)(107886003)(82310400003)(36906005)(55016002)(356005)(4326008)(36860700001)(336012)(54906003)(2616005)(1076003)(47076005)(86362001)(6666004)(4744005)(8676002)(7636003)(6916009)(7696005)(82740400003)(8936002)(36756003)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2021 16:09:26.5340 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 95ab0ccc-ff41-4bee-d9e9-08d931aa47b9 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: BN8NAM11FT035.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB3956 Subject: [dpdk-dev] [PATCH v2 1/2] 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. --- v2: Added a docu patch. --- Signed-off-by: Tal Shnaiderman --- drivers/net/mlx5/windows/mlx5_flow_os.h | 2 ++ 1 file changed, 2 insertions(+) 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