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 CEF694414A; Tue, 4 Jun 2024 08:28:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D0B24348B; Tue, 4 Jun 2024 08:28:25 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2049.outbound.protection.outlook.com [40.107.236.49]) by mails.dpdk.org (Postfix) with ESMTP id 974394348A for ; Tue, 4 Jun 2024 08:28:23 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AK18qt2boS+ZelA098N+cNzCs/iPAyogGuptd5OTremrc4FJEc0K1tesKIyRMGJdzultvd6hUNz9Q0RbJ2UkMXdmBQbDnn4vZDkK3CUH1ZAgvkG4KSElTR5Ib2wPwofYhLRortfUf1JMv2vYUqniibGe7kNA9QL7la0hKoXuMe5/cYkrBmPYeXir7zLs+0Y+hpr/6h537QgIxKuE9DiO8ZoZ+gk/dLsUriThQY5083Bz6a7DypukKcUrqq0+ADe9NbENQW6HDDFk573TbLt1YWWwc1Xqrw5hrAwew3/KbhxRJfQnmQreYeJpKjM/Cs/Vv1Otgc+CSt347FK2jX3O/w== 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=/y/FYncmch/mMOvWaW0x8U+uHHOMLmaxRZAOK/y780Y=; b=Fv88Fy+w2Uw2ycxsBnJHennJ1MmivwRVhVaDCccdYqlGw+XGQw8T7RzPRinq31+G9Hz0EjXoJnfCfXdISU6oArcoNIey3/8vhtBnglltscAuE0a/2nCpqCazBt/LuYdym3Qu7ZKXQ86Q7zOlg6iDOZUCnlYOMbPHUPGIM1irSUR0lhlB1yQ6XTaFUUmJ+DaKsnzHSCmwph9koqaKzDz1DsCmMhIgyIc0AoNT52Ia2bTrmLZvlmhn6psxRw0NkBx8FgMVUS6dD9F0mGBoWHAdXLmEHLbN4Le2Myg00DOpjXAc7EuYlj9kLo0k3iyHw2tE2LLFYgWWHvyDpCPPCinpQA== 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=/y/FYncmch/mMOvWaW0x8U+uHHOMLmaxRZAOK/y780Y=; b=Jy5wnyL595lRNqx7YvjRHJyJvtnk+br8huhyf4ecHIBHhkREFkDaxU70GV/luY3eQgPjr/IQdvJErvsRXvtO3a9ujKr0K1N7ub5ahQRuwsHSXlyf48qmKCuwTvufzgqWoAf4NFu4wdzTmwn9h9oibkUkyVF0DkbP8758Y8QaCo0h+LbcuWNIPpOi4jOBY/PSQzV+EgoJNK9Gm1qEnEeyY3yx2ot+Dl27/qNarVg1rjEm93Qv2sWAoPTYx4N1GTSAGIpkzc0QosQbbgBuBu6MoxtLNlhwiEUi3ag/vvSWEohyhVXWvbrYCDWX6N5h09xAd1goHo+bw78b6QGYENJLpA== Received: from BN9PR03CA0581.namprd03.prod.outlook.com (2603:10b6:408:10d::16) by DM6PR12MB4057.namprd12.prod.outlook.com (2603:10b6:5:213::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Tue, 4 Jun 2024 06:28:19 +0000 Received: from BN1PEPF00004685.namprd03.prod.outlook.com (2603:10b6:408:10d:cafe::5) by BN9PR03CA0581.outlook.office365.com (2603:10b6:408:10d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.30 via Frontend Transport; Tue, 4 Jun 2024 06:28:19 +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 BN1PEPF00004685.mail.protection.outlook.com (10.167.243.86) 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:18 +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:06 -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:03 -0700 From: Gavin Li To: , , , , Ferruh Yigit , Andrew Rybchenko CC: , Subject: [V2 1/2] net: extend VXLAN header to support more extensions Date: Tue, 4 Jun 2024 09:27:44 +0300 Message-ID: <20240604062746.355383-2-gavinl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240604062746.355383-1-gavinl@nvidia.com> References: <20240604062746.355383-1-gavinl@nvidia.com> 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: BN1PEPF00004685:EE_|DM6PR12MB4057:EE_ X-MS-Office365-Filtering-Correlation-Id: e3879ebe-3625-4927-9027-08dc845f8642 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|82310400017|1800799015|36860700004; X-Microsoft-Antispam-Message-Info: =?utf-8?B?WENsYzFqN1BOS01uWFZncWtZV0FTejNuK3F5bktFQW1mZHNlY3V1eDFRSjdk?= =?utf-8?B?eS9qcDZZMDBGYVJnTkUvenFxK2xEd1FUdTdVL1VCVTU0MkQreVZBMkNiOUZH?= =?utf-8?B?ZDJLT0Q3dVpjM0t6YUsxYlRZRWE4UWlDZHhmaVZKN0VCb0ZyM2N0WjQ3NUlE?= =?utf-8?B?UkQ1aFFaMUdZQUpoN1lYVE5CcWtQZzFZT0M1bER6SE9HOGRNQTBRcEc3Z2or?= =?utf-8?B?UW1ZTDdmNUlhR1QzajVmajBrdWZPMEo4SUI5eWNTaGhMWlVldWcwZjAvUHRW?= =?utf-8?B?RGNLNDQzb2FNamdaUXc0QUkwZktaRFloZTVnTkt1V1ozODNuaUxyeStiNEow?= =?utf-8?B?WWw3U283VDZxL3R2dWk1VUZYclVkWUM4T2w5OXlpQUtUNU1HL0xQQk9OSmRy?= =?utf-8?B?ZHZXTWVPbmgzOEN3cGwzZWtUbUJGV25MMXdCanZlSHdEcnppYnVTcENLT2Ru?= =?utf-8?B?dC9hRGlrT3p4a01TN1QveHhIZ0JodDVSOTNSSVlDaUJDQmtrVStieXpvTm9i?= =?utf-8?B?VktjNlZ6TktFR243RzkzR2gxRFBpbHRkK0tpVkFLR3JvVWJISXlDS0VnNnlV?= =?utf-8?B?TlAwaWJDak50TzU0VXBTcTVTUi9mMmswQVJvaUp3cVVWbFpxdmYrVzBQQUV1?= =?utf-8?B?cGpFcVZna0psa1ZudDJJVTlIbE5YRndLd0MxRENIQ3VZTnJhaDZFWmV5L1NX?= =?utf-8?B?ZEhXQ2xLdTh4cStYWElacEhRWlA4aEVheWpSZE9KVVQxZmFzU3hPTDNOZEdV?= =?utf-8?B?bzBNSTFSUWc1SGM4ZmtPMDlHY29ydUZvbVlVL201UnQ0R0l5VjVWWnlOQWhI?= =?utf-8?B?RGZENWI2c0pGOFhNYUdHWGtLLzVLM1JoMDdrRWsvcUo2cmlkaUIvRXUrcm1a?= =?utf-8?B?T3l4akQwYzBvRms3MTBiN05YcThBbVFuRExBZkRUQVVSMkx2NDh5ZjdmSkJL?= =?utf-8?B?QmxPK1BhdThmcXBnUkpkS1BjN2ZvbkM2eno2Zk9MYkZJQkU1bUJUblVReSt2?= =?utf-8?B?ck1WYUJ0Zzlpd3c0Y2MrRUtYaEUwK3VhWHhQQkk3Q01obncvbS8ybUlqR052?= =?utf-8?B?TWw3cHptKzVnUjRsTSt1OWREOE0zSnk2dXJLR2tKcUtmb2FCNnJpZjI0Sktp?= =?utf-8?B?UHJQQThkWnJxMFh4azk3TXQrOFJaVjgrNmUyR0pCTkhzeGZWM3JRWDhzT04w?= =?utf-8?B?ODV2UWtPc0VsSWtrOWsxcUxsUWltYlJzcDJsRDM0V3pKa2x1djJjN09YVEFv?= =?utf-8?B?K1QveEI1SWdpeU83eC9GaDYzR1F3RHRNeEhua1hUUTJtbGpmK3pFeDdBMjBm?= =?utf-8?B?MkpHRmtMNWtsL0I5eFgyQjA2Z3V4cGhMMmdIVVdLeHhoV0FzMkN5RFZEaHhi?= =?utf-8?B?SzEvaHlGUUlaL2o0ZUNXZEdTNlBjSHRJcHl0TVpERHA0SUZpWmF1cE1GWktw?= =?utf-8?B?WUI2K0tzVWROemQzM29kSjhXMCtHMnhZWmdFU1dEV2Nwd0pyNXVFclBjR2I5?= =?utf-8?B?aW1ZbTZ6Zy8rcThmRVFFdDV0MXYvalpIanY3WU9SdVhDRUkyaC9jOWhRWE1Z?= =?utf-8?B?aTEvRUpYNStyOW5pY1ArS2lwMUJNN2JrVlJBMXFxaTFraXJlTzFWVFlEdzRR?= =?utf-8?B?Z2RpRVN3MmxreFVQTVpYVUpGYnBZQktSZDYyR3RkM2VadGFlcHduVFlBeDE5?= =?utf-8?B?TElzQ0JxQkNuNFJ3TG5JcnN1aHk1bFR2OXQzOWZ4eWVrQytjUDcwb2V5WFJt?= =?utf-8?B?SE5NTFVjZVRZVm1CYitqUytCMDhoNHVZY1NONWZjVUdiVkRiNGMyREE1dEhI?= =?utf-8?Q?0Jl3wrbMFFRg+ZpaSjuqAFb/RSsNNVwJiv6ME=3D?= 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)(376005)(82310400017)(1800799015)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2024 06:28:18.7161 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e3879ebe-3625-4927-9027-08dc845f8642 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: BN1PEPF00004685.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4057 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 Currently, DPDK supports VXLAN and VXLAN-GPE with similar header structures and we are working on adding support for VXLAN-GBP which is another extension to VXLAN. More extension of VXLAN may be added in the future. VXLAN and VXLAN-GBP use the same UDP port(4789) while VXLAN-GPE uses a different one, 4790. The three protocols have the same header length and overall similar header structure as below. 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |R|R|R|R|I|R|R|R| Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VXLAN Network Identifier (VNI) | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 1: VXLAN Header 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |R|R|Ver|I|P|B|O| Reserved |Next Protocol | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VXLAN Network Identifier (VNI) | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 2: VXLAN-GPE Header 0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |G|R|R|R|I|R|R|R|R|D|R|R|A|R|R|R| Group Policy ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VXLAN Network Identifier (VNI) | Reserved | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 3: VXLAN-GBP Extension Both VXLAN-GPE and VXLAN-GBP extended VXLAN by redefining its reserved bits, which means the packets can be processed with same pattern and most of the code can be reused. Instead of adding more new items by copying/pasting code for the VXLAN extensions in the future, it’s better to use existing VXLAN infrastructure and add support code in it. In this patch, 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. Signed-off-by: Gavin Li Signed-off-by: Thomas Monjalon --- lib/ethdev/rte_flow.h | 20 +++++++++-- lib/net/rte_vxlan.h | 83 +++++++++++++++++++++++++++++++++++++------ 2 files changed, 90 insertions(+), 13 deletions(-) diff --git a/lib/ethdev/rte_flow.h b/lib/ethdev/rte_flow.h index 6e8ab1d4c7..b27d5aa94c 100644 --- a/lib/ethdev/rte_flow.h +++ b/lib/ethdev/rte_flow.h @@ -355,6 +355,9 @@ enum rte_flow_item_type { RTE_FLOW_ITEM_TYPE_GENEVE, /** + * @deprecated + * @see RTE_FLOW_ITEM_TYPE_VXLAN + * * Matches a VXLAN-GPE header. * * See struct rte_flow_item_vxlan_gpe. @@ -1103,7 +1106,12 @@ static const struct rte_flow_item_sctp rte_flow_item_sctp_mask = { /** * RTE_FLOW_ITEM_TYPE_VXLAN. * - * Matches a VXLAN header (RFC 7348). + * Matches a VXLAN header (RFC 7348), + * including GPE (draft-ietf-nvo3-vxlan-gpe-13.txt) + * and GBP (draft-smith-vxlan-group-policy-05.txt). + * + * GPE is distinguished with its UDP port. + * UDP port may be specified with ``rte_eth_dev_udp_tunnel_port_add()``. */ struct rte_flow_item_vxlan { union { @@ -1346,6 +1354,9 @@ static const struct rte_flow_item_geneve rte_flow_item_geneve_mask = { #endif /** + * @deprecated + * @see rte_flow_item_vxlan + * * RTE_FLOW_ITEM_TYPE_VXLAN_GPE (draft-ietf-nvo3-vxlan-gpe-05). * * Matches a VXLAN-GPE header. @@ -1367,7 +1378,12 @@ struct rte_flow_item_vxlan_gpe { }; }; -/** Default mask for RTE_FLOW_ITEM_TYPE_VXLAN_GPE. */ +/** + * @deprecated + * @see rte_flow_item_vxlan_mask + * + * Default mask for RTE_FLOW_ITEM_TYPE_VXLAN_GPE. + */ #ifndef __cplusplus static const struct rte_flow_item_vxlan_gpe rte_flow_item_vxlan_gpe_mask = { .hdr.vni = "\xff\xff\xff", diff --git a/lib/net/rte_vxlan.h b/lib/net/rte_vxlan.h index 997fc784fc..8ce93ae569 100644 --- a/lib/net/rte_vxlan.h +++ b/lib/net/rte_vxlan.h @@ -23,27 +23,80 @@ extern "C" { /** VXLAN default port. */ #define RTE_VXLAN_DEFAULT_PORT 4789 +/** VXLAN GPE port. */ #define RTE_VXLAN_GPE_DEFAULT_PORT 4790 /** * VXLAN protocol header. * Contains the 8-bit flag, 24-bit VXLAN Network Identifier and - * Reserved fields (24 bits and 8 bits) + * extensions (Generic Protocol Extension, Group Based Policy). */ __extension__ /* no named member in struct */ struct rte_vxlan_hdr { union { + rte_be32_t vx_flags; /**< flags (8 bits) + extensions (24 bits). */ struct { - rte_be32_t vx_flags; /**< flags (8) + Reserved (24). */ - rte_be32_t vx_vni; /**< VNI (24) + Reserved (8). */ - }; + union { + uint8_t flags; /**< Default is I bit, others are extensions. */ + struct { +#if RTE_BYTE_ORDER == RTE_BIG_ENDIAN + uint8_t flag_g:1, /**< GBP bit. */ + flag_rsvd:1, /* Reserved. */ + flag_ver:2, /**< GPE Protocol Version. */ + flag_i:1, /**< VNI bit. */ + flag_p:1, /**< GPE Next Protocol bit. */ + flag_b:1, /**< GPE Ingress-Replicated BUM. */ + flag_o:1; /**< GPE OAM Packet bit. */ +#elif RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN + uint8_t flag_o:1, + flag_b:1, + flag_p:1, + flag_i:1, + flag_ver:2, + flag_rsvd:1, + flag_g:1; +#endif + } __rte_packed; + }; /* end of 1st byte */ + union { + uint8_t rsvd0[3]; /* Reserved for extensions. */ + struct { +#if RTE_BYTE_ORDER == RTE_BIG_ENDIAN + uint8_t rsvd0_gbp1:1, /* Reserved. */ + flag_d:1, /**< GBP Don't Learn bit. */ + rsvd0_gbp2:2, /* Reserved. */ + flag_a:1, /**< GBP Applied bit. */ + rsvd0_gbp3:3; /* Reserved. */ +#elif RTE_BYTE_ORDER == RTE_LITTLE_ENDIAN + uint8_t rsvd0_gbp3:3, + flag_a:1, + rsvd0_gbp2:2, + flag_d:1, + rsvd0_gbp1:1; +#endif + union { + uint16_t policy_id; /**< GBP Identifier. */ + struct { + uint8_t rsvd0_gpe; /* Reserved. */ + uint8_t proto; /**< GPE Next protocol. */ + /* 0x01 : IPv4 + * 0x02 : IPv6 + * 0x03 : Ethernet + * 0x04 : Network Service Header + */ + } __rte_packed; + }; + } __rte_packed; + }; + } __rte_packed; + }; /* end of 1st 32-bit word */ + union { + rte_be32_t vx_vni; /**< VNI (24 bits) + reserved (8 bits). */ struct { - uint8_t flags; /**< Should be 8 (I flag). */ - uint8_t rsvd0[3]; /**< Reserved. */ - uint8_t vni[3]; /**< VXLAN identifier. */ - uint8_t rsvd1; /**< Reserved. */ - }; - }; + uint8_t vni[3]; /**< VXLAN Identifier. */ + uint8_t rsvd1; /* Reserved. */ + } __rte_packed; + }; /* end of 2nd 32-bit word */ } __rte_packed; /** VXLAN tunnel header length. */ @@ -52,6 +105,9 @@ struct rte_vxlan_hdr { /** + * @deprecated + * @see rte_vxlan_hdr + * * VXLAN-GPE protocol header (draft-ietf-nvo3-vxlan-gpe-05). * Contains the 8-bit flag, 8-bit next-protocol, 24-bit VXLAN Network * Identifier and Reserved fields (16 bits and 8 bits). @@ -75,7 +131,12 @@ struct rte_vxlan_gpe_hdr { }; } __rte_packed; -/** VXLAN-GPE tunnel header length. */ +/** + * @deprecated + * @see RTE_ETHER_VXLAN_HLEN + * + * VXLAN-GPE tunnel header length. + */ #define RTE_ETHER_VXLAN_GPE_HLEN (sizeof(struct rte_udp_hdr) + \ sizeof(struct rte_vxlan_gpe_hdr)) -- 2.34.1