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 62AD343C3B; Thu, 29 Feb 2024 17:05:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 53E3A402D5; Thu, 29 Feb 2024 17:05:54 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2045.outbound.protection.outlook.com [40.107.223.45]) by mails.dpdk.org (Postfix) with ESMTP id A9C054025C for ; Thu, 29 Feb 2024 17:05:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NUui3ROB4wY+C4cVR524KKh66f0MLLcqDQroYoAUIXVFwvc6qgc84eyfDxNMfB7S2GZuRC+VnW7aks1+QRAzJJ1EWYD2X5hndhhnyc1TWk9/l3rlfe8eziDdth/4YR1UMOXbZLk9cbTuAypEAoCvASR6u6/8kPQ9DMrz7ywctHRaZdrAN63vb7DssSHmfxmgOhK0qlt0uN6WzA5xwZO9w7yE/SQ2RU4XZzvSq6hLYR7NlGAEq4LM1THqGRP8VYCDNUF8v0IZkq+MAjQn9ots81hiFcvhz9uc+qZVVsa4P72CmkIH2ChbI0uWQBRt8xiAcISlDFwojOi91e/FNIh+Aw== 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=IbWibNBxv/AWHc/GXu3GFlDTXubLqkDoeLlH7/YJoao=; b=E00Hu1pxfjKcU7NwrlYnFXPi95M2hx+NZgf0J8N8+VulD7VOJvYSdRAjCCe/6mxXyyuR3jYhgar+pzcxmM//PoKu8DWMUlDwql78bK7Um5RDbYjGBcF1vkXAR+4ZcCyzlwB4qm1s3G/woBb5CU+hD+KySUm+bkIdMYRcqsgpcSfyMBnRsXXCUH8yHqBF9bPY3abjclpP3TcIhSaYdxDyXMlTp2EePbIUHzV54ViTruKe71IpqV3Ec300p4jZm98vgMMvDpSS8cQh9l3KvPxIS59r5w+pMh7mwShGbOxNMfKwxpZ6Q3ajHpRkSYr7IO4YgFTgTUw31mwosngOb70wFg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) 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=IbWibNBxv/AWHc/GXu3GFlDTXubLqkDoeLlH7/YJoao=; b=i2rHzaTA8Rybzzi54CLb5lEiCOMnpcpCRnZrlL3NUumGgrzApyfVoFTS3gkr9S1NMDJhIj/SyPv3+CHXVzZQwshdzrlj32qlCoRdBO7VVfLQn55di39h/WW/Df12G4E61C+XCJu8rSM+OsqGXBRGsMR5ZqffMo/I8dUXX1NQfEVCL1i2DSW4MOejrNUhJqGePIgZlS8ulzhopko/t+O8w8nuU6sllHP8tUDgkQV+m9gQZnXv/Vm6rFKdWmtPMVMXGirZ6laEYE5g8kkCgMbXdnhbgAAmynR47cGm5qndXQW7EDSe7LLv3p0e8bHp2U+URht0MXfKvj/vMesfuZhmoA== Received: from BN8PR07CA0005.namprd07.prod.outlook.com (2603:10b6:408:ac::18) by IA0PR12MB7506.namprd12.prod.outlook.com (2603:10b6:208:442::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7316.39; Thu, 29 Feb 2024 16:05:49 +0000 Received: from BN3PEPF0000B077.namprd04.prod.outlook.com (2603:10b6:408:ac:cafe::87) by BN8PR07CA0005.outlook.office365.com (2603:10b6:408:ac::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.32 via Frontend Transport; Thu, 29 Feb 2024 16:05:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BN3PEPF0000B077.mail.protection.outlook.com (10.167.243.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.25 via Frontend Transport; Thu, 29 Feb 2024 16:05:49 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Thu, 29 Feb 2024 08:05:22 -0800 Received: from nvidia.com (10.126.231.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Thu, 29 Feb 2024 08:05:20 -0800 From: Gregory Etelson To: CC: , , , "Ori Kam" Subject: [PATCH 0/2] fix IP-in-IP tunnels recognition Date: Thu, 29 Feb 2024 18:05:02 +0200 Message-ID: <20240229160505.630586-1-getelson@nvidia.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PEPF0000B077:EE_|IA0PR12MB7506:EE_ X-MS-Office365-Filtering-Correlation-Id: 1470cd27-9bb8-437f-e4d3-08dc39404c03 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: I1+Eo6plPAQ0YiTng2b2waY67Lnk7uXCctkTUupmfRAL2eHUf8R8YhAqitf63OVrIPrhcL/OE6EshGGHsxWTTTh1HSJ+x5/pSftbR9TKbZRsDq9UiyFkAY3OVQDepPMOase4LSkgtdYopAKUK9snEQSlDa3ma9zAKKjwFZLYQm7q9ng/PzJLnlIJ771emteG2gcfr1JrxJBlnPURO25YxMt63TNTIZ6srWJtAv/K1IKd4W60mS9XAmh97vwwfkpFq4w9kcxT+Jx5gBuTGdDZ8gkCrIipf4i8S8YJu8H4v1OMh9VDv12vPx4qvoIatHlC/wy3CYl3ZM94FiQWEKx/cSP2cWzZMhooskGQ964kxfw/6Tk6gGkeqp9cirPbWq74fBZzrwglFZed61xh0FAhMa7IVzRdtRlwG4mrZDqWAKoNgzFUvZj+hg4xPWS84LkFiNKYGRuj7IkWApD83vr8HcxpPOwLI3wQ43Z0ZcQznJs1vpQfHBOitld9w/8jexBtWz/CkT9DDT1rP1SjIpgzFLWao93rzwPLj/8JkhmCgrAzFwSpeMkL/tqqmGN4ZlesXVSE/sh5jZ+Sko1rBrPUr/Y08qphFoSkfWWsT87wsrVWIC3ZRHOmNeaZTwS5wIE5m5QRoNsqVRs2v3MeTluDRklxtXYOFmupySZ9vsHzraM+ju6KULcDIapHRto+BroWoaxRtj/OrjVW/1GfObfPM7MC+v3o7LEarQ5l35Lde+jHI5KyIUXaH3EjJNz9wVAF X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230031)(36860700004)(82310400014); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Feb 2024 16:05:49.1250 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1470cd27-9bb8-437f-e4d3-08dc39404c03 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN3PEPF0000B077.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA0PR12MB7506 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 fix IP-in-IP tunnels validation and recognition Gregory Etelson (2): net/mlx5: remove code duplications net/mlx5: fix IP-in-IP tunnels recognition drivers/net/mlx5/mlx5_flow_dv.c | 243 +++++++++++++++----------------- 1 file changed, 117 insertions(+), 126 deletions(-) Acked-by: Ori Kam -- 2.39.2