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 2425A4414A; Tue, 4 Jun 2024 08:28:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0DBF443428; Tue, 4 Jun 2024 08:28:21 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2046.outbound.protection.outlook.com [40.107.237.46]) by mails.dpdk.org (Postfix) with ESMTP id 232A64027B for ; Tue, 4 Jun 2024 08:28:19 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BNCfcdCmUH6fjT/EcPeT6dGFU00sK3oGFUpsGiZKzAab5anIgixuJTU5DQFb5pgheNlxJ4NTkXXSit7OkkaNymg4vr7PLoKW3Z2+1cXR7wQZL/4fl4HMJ2nu7jRdElsNycFmUhNe3l5JBZI0wYdFvr1naMY+lhRqAdWt14MvDnxQLWFJmhyz1PcYjD8vwJKxyhwcAftVLMzeDU3WqnP7A52iuTpnM7j9mb37VIICwL7eFpzQx2rwHQhfb7wSF0SHy/3RKImkdzY2aae93sx+cBU5uoVMAKliRSAHdPCMnlp5ATr26K4xp00iGQewbfItLojdRYt1OMs5srCYzzUTSg== 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=S03oRE6aZ7n9lxOr443LxSZmcoIcNl881435rRK+0G0=; b=ZEgHb9ILU4Tv5kkWDOaN8vlJGgyGEy5vytbEL6X1yWMqfRRlzQak3QoX102gjDolN+bbOusuMB3dtTQC4k9DBZI4tnL2mWHOUBrjLbVQc2AZZviayunbnFhNhLUg7w7LfwRpNsrY947TQPydI6obu/P2uKfpx9eEkpKuJRvbPYAMwgEmCMtC4bxT+1fVUZiZV+TLpbs6lCml9ZgaHfhMr179/dI/vzXMFrKuaLUz8wCj3C51RyZIhUeBo5GTayl+HnVgqBXiPGn6QOLzR1o30g2n4KV5zDzRZCqaP19zkpW6DqUg9xe/2MHynRd9VKlcbb+o/A2HIvOI2DVgFiSniw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) 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=S03oRE6aZ7n9lxOr443LxSZmcoIcNl881435rRK+0G0=; b=Mc4vxd6bUR8O1103DrZhW7aD6EjYQzx7N/4nm9ji5phWPtHo8MOnJ4BwPeY70HDN0ohSYJfN6Woi2aqMx2kMT1T2pjhBeJbpbWDv3rOycuy3xx2oW8pRXBsucCVeTAmS8sbTi+35v0El+AN57xRM4vVhWl/BA19ZZcdynSg8tQh3DavKVI/ZBMIPg0dabIiqaFp9QL6S56EIL6Cq/pifMgt5CYsOaEa7fpn5V0/5AfB7T4+oOQvflJdEH4e6Sd9YVM1M1QEBav6l6fqGPUrXLY69R7Hz8tiOSJpLtO0Q6/GZj6FdG3/i6R0FY2O3ERXcdykVb53ZF3D3a4IIfVBsyA== Received: from BN8PR07CA0009.namprd07.prod.outlook.com (2603:10b6:408:ac::22) by MN0PR12MB6029.namprd12.prod.outlook.com (2603:10b6:208:3cf::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.21; Tue, 4 Jun 2024 06:28:16 +0000 Received: from BN1PEPF0000467F.namprd03.prod.outlook.com (2603:10b6:408:ac:cafe::6b) by BN8PR07CA0009.outlook.office365.com (2603:10b6:408:ac::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.28 via Frontend Transport; Tue, 4 Jun 2024 06:28:16 +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 BN1PEPF0000467F.mail.protection.outlook.com (10.167.243.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.15 via Frontend Transport; Tue, 4 Jun 2024 06:28:16 +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.1544.4; Mon, 3 Jun 2024 23:28:03 -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; Mon, 3 Jun 2024 23:28:01 -0700 From: Gavin Li To: , , , CC: , Subject: [V2 0/2] net: extend VXLAN header to support more extensions Date: Tue, 4 Jun 2024 09:27:43 +0300 Message-ID: <20240604062746.355383-1-gavinl@nvidia.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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: BN1PEPF0000467F:EE_|MN0PR12MB6029:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c82915f-d5f3-44e9-b665-08dc845f84ef 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|1800799015|82310400017|376005|36860700004; X-Microsoft-Antispam-Message-Info: =?utf-8?B?d25XUDhBcmpxMmphRnhpOUxPQlF5eXhkUWNKdFVtMnVRc21IaGFqbE0wL1Jt?= =?utf-8?B?OTc2b2RWSE11N1FRdUpiUlE4d1JsUjlQK0VVTFpxY0pzRDhySXZWVUhZMDVP?= =?utf-8?B?NUJMRVdLclV1VjU0aXAvbFhOU1hSTk14c2E5NWZ2VVNka21Uc2I3TW5RTDVn?= =?utf-8?B?OWdNVVErVjZBZS9MU1RxQ0R4VE5NODVxZU9qSmlMcW1TckVFbzRuME0wOFhj?= =?utf-8?B?UE1MdnBFRER4QVJzS056V1JoNlNLdEcvS2k1SGFHR2Vta29iNDZueExCdkdi?= =?utf-8?B?Uzg0VkRFN1J3RVpWYUN0ZzJkdDJHb0hLS2N0YVI2b3hxUWgxYi92THo5UGxn?= =?utf-8?B?Q0FJZS9XeXk3VEdnWDk0U2lldjVxSm1KSWRORTllNWhzRGlRamg1MlBLb25q?= =?utf-8?B?TUxrdXlWVEdLeFQ5QU5kRVYyMHViL1V5SUkrSVFjWHFXUTdZOTVZN1ZaL2tv?= =?utf-8?B?RUpWNDRMclpYL3RkNTcvam9HRE9RYUx4QWtMcFhHblptTHVVOTR1SHdxOEpQ?= =?utf-8?B?ZXk5bW1PKzNiRjFLVzdVelNqZzBFRXMrS3Rpc09qcVdhc1plNmZPM3JjcVly?= =?utf-8?B?T1hjQ2xDKzZKbUhLVnUvT051R2NVZ0lKMWl6cVZEZGU2V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1OaUN5YU82UklxcU4wV1hvc1Z6KzFY?= =?utf-8?B?OHZZazdxSnEwREdmOC8vdk5SYXJYdnFwbEpOWHVOSU45WkVGNFZPbTl1a1Rm?= =?utf-8?B?cktNTEh5YjNOUm9vcko2NXMyWjN2SE9uV3VkZGkzaDIrdHBGaC9SVWJucE1y?= =?utf-8?B?L0gvS3FzME9aZHZQZ09FR1UvSnRxTzN5RGxOcnRTWDBBdWJNT1JEOXBEcSsy?= =?utf-8?B?Z1FkUEJCUzFmbjVQSC81N295eUNld3c2K3RreHVWaXltZElzUlNnUzYySFAv?= =?utf-8?B?VTkwNk1iTmdNa3B4b08wbSswYjV6MEc1WUdLMjBnTVlVRnBCYlJNbU0wT1NV?= =?utf-8?Q?IymyOWRWvETW7?= 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)(1800799015)(82310400017)(376005)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 06:28:16.4642 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4c82915f-d5f3-44e9-b665-08dc845f84ef 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: BN1PEPF0000467F.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR12MB6029 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: introduce VXLAN-GBP and VXLAN-GPE fields --- changelog: v1->v2 - add all supported bits in testpmd command line - documented all bits in testpmd doc --- app/test-pmd/cmdline_flow.c | 110 ++++++++++++++++++++ doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ++ lib/ethdev/rte_flow.h | 20 +++- lib/net/rte_vxlan.h | 83 +++++++++++++-- 4 files changed, 211 insertions(+), 13 deletions(-) -- 2.34.1