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 018BB4415C; Wed, 5 Jun 2024 10:10:30 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7214D402E5; Wed, 5 Jun 2024 10:10:30 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2084.outbound.protection.outlook.com [40.107.93.84]) by mails.dpdk.org (Postfix) with ESMTP id E48C9402DC for ; Wed, 5 Jun 2024 10:10:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HEwkXS3u0JI3+kwLfGCcpSVD+byh2/Emi09GrTnSWLSXLqlSf9PvixdgWQG1GA6FcLOMvX0c+le5k2nvKS2UyCr3HQPrpcL8jweHOg2aR203CnzsG4Dlbal1tKQowvgwxTCngT+4Z/ZE15bskwJRGcuksmjfguOEMIvfu4fXy3PTs0W6BycVoqpgXw2PJXgM758GX8qL/9bCpOnvliEHVPbJXC884HFjXhD7CMuQ/ENDpdZh8b/IB/KyZNg1NdN52mdhZeVwXV9ZEE5AAQL1N57QiqfEMkR0li9cow67UuNtoB4RQImtbqP8sKb3U+itx+t/cUNiVZrcHMqlzmlT3Q== 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=Id0f7dLcvtW1NqudXzARaVeBKnNUpwy/pqNThxSBr/w=; b=jIpcnehEvtXI/kdwIo9KnwF31R9SXmumFJrsMwYbUfq4t9jVoaWpRnkB2ZGgIE3KAHQ/7BQG30cGbILLtJJuCgK+lLciz57W+gL541i2VDt+nAFYdiP8nfRvL90mMQjmtuxEhCOlJBxBYHfrblC8PSQE3RtpT0cblBRs1HlnO6AHVzUOCpSeIOcOEZqdfiMm891td9VThUZEMci3SbRt9XsA5NOKlWcJAKkY814czIC6/B24X89MPwpLO0TWAiI/MiKtr6kjR0EQH4TormNZed7pcSSqG3Kbgwu+UqzerqvSpZWCltUOOKMNNxFXMWaxs7E/5j0drlxfDpwWFNrCfA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=monjalon.net 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=Id0f7dLcvtW1NqudXzARaVeBKnNUpwy/pqNThxSBr/w=; b=fR2CL8OuKDjk/H8ACTwHrPdaheG94W9fGVH33eJEiUxlHFMZ7CEeyzpG0kZhwOh4kWzgvS6KBrar4OsIN3+zLpy9djryrHmls0Fn6Oebg8GwfkGHoDYug4XQkFNUliSNlU/YZh0OGYTVW3nvrhcvLDx8lIOgmQcwB6C7Aq9PV6hUPd2t0lGDMXg1AffvjcsWj02SVd9jng0A6QoxJWQ5GbB0mG/r0w60xQqa01ZBDLJTxzoljfyeBwCvJ5KuUCNhVBSKST+Ss7uHmMYOLcaOyUzLzow7J4Xmc0TyoWbkl6nVJ+ELBGudqj74ZMn9Vc1KJ76paiN7cL8wFBLnTOiD4A== Received: from BL1PR13CA0234.namprd13.prod.outlook.com (2603:10b6:208:2bf::29) by DS0PR12MB8197.namprd12.prod.outlook.com (2603:10b6:8:f1::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.31; Wed, 5 Jun 2024 08:10:26 +0000 Received: from MN1PEPF0000F0E3.namprd04.prod.outlook.com (2603:10b6:208:2bf:cafe::41) by BL1PR13CA0234.outlook.office365.com (2603:10b6:208:2bf::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7656.15 via Frontend Transport; Wed, 5 Jun 2024 08:10:26 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by MN1PEPF0000F0E3.mail.protection.outlook.com (10.167.242.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Wed, 5 Jun 2024 08:10:25 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Wed, 5 Jun 2024 01:10:10 -0700 Received: from nvidia.com (10.126.230.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.1544.4; Wed, 5 Jun 2024 01:10:08 -0700 From: Gavin Li To: , , , CC: , Subject: [V3 0/2] net: extend VXLAN header to support more extensions Date: Wed, 5 Jun 2024 11:09:51 +0300 Message-ID: <20240605080953.534998-1-gavinl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240604062746.355383-2-gavinl@nvidia.com> References: <20240604062746.355383-2-gavinl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.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: MN1PEPF0000F0E3:EE_|DS0PR12MB8197:EE_ X-MS-Office365-Filtering-Correlation-Id: 46052775-66ab-4809-5d9c-08dc8536f4be X-LD-Processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230031|376005|36860700004|82310400017|1800799015; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?aEdBknTH5BvDPdADl7Z3UdStlPPn14pRgzuQUWz4n9zEseg61vpYObCoP8Oj?= =?us-ascii?Q?1l/wCdk8Ufst0geCQg2Ag7ATIRPl1ynGz4uyl17ETz9FBU5PQg1xTa4rHUMz?= =?us-ascii?Q?V+UUt6KVL8jFwuplz7WLjNYRK1YD4qGSeeTu3Oi/BPsFzkyIZE94c7aReoYf?= =?us-ascii?Q?EpHfmA7lcHAPwaSeFmnaxw8z4W6C27+FVgULbDJcz0I+PACH04ktsiNf9MFn?= =?us-ascii?Q?8NXz0IM+/i98+D7tw54MouxtUOvbWfTgXfMjuYY0dyrS9YGw9tecc8DRD96s?= =?us-ascii?Q?AaFeyOrqHhbS9S5qP4UGwfGyP81IfS9pymsCxCgBJeZ1nJA4U8Bo2p991CBW?= =?us-ascii?Q?a0OJH9POyki8PwDr8ZlX/clZLznEU7kdnDyxCeagwteYFsvXDEESU+jv/JjQ?= =?us-ascii?Q?xv+qFzAfUsYCADKAxJG/hgoLmhT5nJB55nJx5O3udPww6HjDnDWq+m41uu7V?= =?us-ascii?Q?MQ8aMxT0fLlX11joOgx56Ojt/kFeLKD/yjjgBZlzqNg8+aMbru3wBEj/MmCi?= =?us-ascii?Q?X8t9aaEHK42x2lLbw8SBD872IMnmnEfywcqNbXaxHpy+SPUBtpr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RY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(376005)(36860700004)(82310400017)(1800799015); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2024 08:10:25.8425 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 46052775-66ab-4809-5d9c-08dc8536f4be 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: MN1PEPF0000F0E3.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8197 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 In this patch series, all the VXLAN extension header will be merged with VXLAN as union if the overlapped field has different format among protocols. The existing VXLAN-GPE will be marked as deprecated and new extensions of VXLAN should be added to VXLAN instead of a new RTE item. RFC https://patches.dpdk.org/project/dpdk/patch/20240130112520.1971315-2-gavinl@nvidia.com/ PMD changes https://patches.dpdk.org/project/dpdk/patch/20240514032131.153409-1-rongweil@nvidia.com/ Gavin Li (2): net: extend VXLAN header to support more extensions --- changelog: v1->v2 - removed deprecation (removal) note, it should be decided later - reworded deprecation comments to use @see for replacements - merged bits in a single place to avoid redefinitions - documented all bits - move big endian bit-fields first as it is the networking standard --- app/testpmd: support matching any VXLAN field --- changelog: v1->v2 - add all supported bits in testpmd command line - documented all bits in testpmd doc v2->v3 - add three bytes rsvd0 fields in testpmd command line - remove rsvd_gpe from testpmd command line - remove all existing "vxlan-gpe" in testpmd and doc - consistent naming of "VXLAN GPE" and "VXLAN GBP" - other minor naming issues --- app/test-pmd/cmdline_flow.c | 195 +++++++++++++------- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 35 ++-- lib/ethdev/rte_flow.h | 20 +- lib/net/rte_vxlan.h | 83 +++++++-- 4 files changed, 240 insertions(+), 93 deletions(-) -- 2.34.1