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 D60A2A0524; Tue, 1 Jun 2021 14:51:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9B88340689; Tue, 1 Jun 2021 14:51:09 +0200 (CEST) Received: from NAM04-MW2-obe.outbound.protection.outlook.com (mail-mw2nam08on2084.outbound.protection.outlook.com [40.107.101.84]) by mails.dpdk.org (Postfix) with ESMTP id C705440041 for ; Tue, 1 Jun 2021 14:51:07 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EwQziCRaPl0U8/3cTEFVnpalmDtSazhQBBbe4SYD/f6Yvm4BVaUl9qmq4ih0HjIMcZ2m5YiT7AUbcR8Byza74Fb1bH/8y+mwhyHgfSLEU+onxjZcgaZ323jD5sRvjrkgs1E1uhq0mrIHK5dsgicETyOrb9HV+hRc7SZPWgURZ59a8/s1OlJ6mQOzwowApV4Vbr+G8g51f7xoqL4xhERUZmOfIaz9eeZjj5dOaNRCUdXyWbZJi+7AyjXmWpjKpjFB54lRCJBfqRyaTrAy37xFpvpTqX1LQm0/E+JVR7jv9SApUxlI9jYblN7tEGEMc5UU5NCp97aQYVkZpWCqrIZLjA== 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=meMzsA9QkzLbNk+LX81vfSHuAlb8FARl24Yw//Do/S8=; b=RPXg1aR+t/leGHNOj1XHbO3m39lU6MiITNls+N1DyBNOHjYzDpmwCqR+kherOLkwY15pWLyq+lyTN3my7yeWjYwvwNZaZE0AuYE5eu3cY33Ek2reBv8wvl0Hr5WSUgOHFFIqRuPgwLaefMEHRpZhVwU2NiBneQKNpaAttQ9oawSZvUlhUp+6GHym+PBIwmSZrWKFEck9I2N/bHiCOuwrJ5x8LbzgMVQtSZZ5MhDKFscIddf2MWQGaGdJflgejeU1vDYd3hyGNIbl3//HrVVF0Kyvi+qXDXUXwjDQ4GQU0FNP2vNMxZPXQfIhnioVw69Jo0DHdi4RV5u+bbDjNUy0ng== 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=meMzsA9QkzLbNk+LX81vfSHuAlb8FARl24Yw//Do/S8=; b=TsacugJQWvVHHlc/d2w6IuuIr5mUU/RloZ9aZKzt2NaIO7I9EXc4lW4QpThtsBcAC2V1EZa257qnOW2WFnM44eA3IpHziMtaKno0Xjuqbb3LVhlPv4P6pCQoxGi9rz4jh6pFTHipwuK2uCruDdnMq+HoT3iAcIOsq0AWRsDvUkx9MshMCbcTNcvFH7224/bMKIQ/zolo9j3ctMgNy15wXp5K2yfOX+xnWO7X1jWS9BLkzTE/LLMjFN8qQ34yJhUhAwGtu/5ySlSbf1L1bY5oTeURWNng4wKaGrSdpfQutBibqehlE/o+KbAYpPtoYIxm04EFifyx+oXiWK1pctABzA== Received: from MWHPR04CA0055.namprd04.prod.outlook.com (2603:10b6:300:6c::17) by DM6PR12MB4973.namprd12.prod.outlook.com (2603:10b6:5:1b7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.24; Tue, 1 Jun 2021 12:51:06 +0000 Received: from CO1NAM11FT029.eop-nam11.prod.protection.outlook.com (2603:10b6:300:6c:cafe::81) by MWHPR04CA0055.outlook.office365.com (2603:10b6:300:6c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4173.22 via Frontend Transport; Tue, 1 Jun 2021 12:51:06 +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 CO1NAM11FT029.mail.protection.outlook.com (10.13.174.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4150.30 via Frontend Transport; Tue, 1 Jun 2021 12:51: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.2; Tue, 1 Jun 2021 12:50:57 +0000 From: Tal Shnaiderman To: CC: , , , , Date: Tue, 1 Jun 2021 15:49:50 +0300 Message-ID: <20210601124950.15908-1-talshn@nvidia.com> X-Mailer: git-send-email 2.16.1.windows.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.6] 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: 4f7032d5-d53e-4d66-d43e-08d924fbea97 X-MS-TrafficTypeDiagnostic: DM6PR12MB4973: 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: R4j05mTCJg+hCBmOqNCLUmR7cuOxSpVV2M5F58+i2+omOCdjXXkLU4ZvXPldi5QNbF/YFcXEnYMtnosnN1v1GGunaia+VmO8MjuOJtf3Bcx0kaVaaJWhnQCTWk33Ku6OGhab/gpbcXdxF1QotNZrM5e4vzbEYMFu7fh3GZA6+g6BGbZq37mfaeOt1UCKUduAGUvbHFrbCE2L6m8uM47GNyIt78NsVzBpvprVtvXZD+2y+8Alt+mJV2DI1ovEQmnWenyRWwcdT9gMxfj+BMoP1k+RyMXjnaW1H3Jzj4buWvlnvwKOXmI4FVmyDXDAgllnu0T0lSxGpXuN9LEG0OW4N2nIU4zNkhdtoSbL9areOylRQ+NyW1vL324HJXNIiA1QpYdY8jrqOi1qYTGh1SWg637IUjQ/WOiNtuTqCgHUZmFPVnTFklYGiIAotN1mfTK6YBYDBGWYRh5T92HJbKz3D++cAWtdnbNXnKfis+hBMH2qPqKguyItygcVNvxmEg5x/U2036v4In1/wSI9rw0OQ4eLdPAmywt6IUiw4pHxNQHlJUwFRFVEfbZQ4Vk2q0WRVJFFTWg1rl/eghbfVs8/cwV9XGG9useylDZEP67FYgfa6DM3byq6GQrpJfQWJudPapUPLZmw6LbbPjt3255DEGE++Rzt5Xlc6NspYWvVfMc= 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)(136003)(396003)(346002)(376002)(36840700001)(46966006)(36860700001)(6916009)(7696005)(26005)(5660300002)(82740400003)(86362001)(36756003)(47076005)(316002)(356005)(2906002)(55016002)(16526019)(336012)(4744005)(6286002)(8936002)(70206006)(70586007)(186003)(426003)(4326008)(54906003)(36906005)(478600001)(2616005)(7636003)(82310400003)(6666004)(1076003)(8676002)(107886003); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2021 12:51:03.9726 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4f7032d5-d53e-4d66-d43e-08d924fbea97 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: CO1NAM11FT029.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4973 Subject: [dpdk-dev] [PATCH] 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. 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