From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id E8455B6F2 for ; Fri, 20 Feb 2015 17:59:03 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 20 Feb 2015 08:54:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,615,1418112000"; d="scan'208";a="654893427" Received: from dwdohert-dpdk-fedora-20.ir.intel.com ([163.33.213.98]) by orsmga001.jf.intel.com with ESMTP; 20 Feb 2015 08:59:01 -0800 From: Declan Doherty To: dev@dpdk.org Date: Fri, 20 Feb 2015 17:01:44 +0000 Message-Id: <1424451707-12342-2-git-send-email-declan.doherty@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1424451707-12342-1-git-send-email-declan.doherty@intel.com> References: <1423701947-17996-1-git-send-email-jijiang.liu@intel.com> <1424451707-12342-1-git-send-email-declan.doherty@intel.com> Subject: [dpdk-dev] [PATCH v3 1/4] librte_ether:add an ETHER_TYPE_TEB macro X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2015 16:59:04 -0000 From: Jijiang Liu Add an Ethernet type definition for Transparent Ethernet Bridging. Signed-off-by: Jijiang Liu Signed-off-by: Declan Doherty --- lib/librte_ether/rte_ether.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/librte_ether/rte_ether.h b/lib/librte_ether/rte_ether.h index 7e7d22c..a8b3e1d 100644 --- a/lib/librte_ether/rte_ether.h +++ b/lib/librte_ether/rte_ether.h @@ -329,6 +329,7 @@ struct vxlan_hdr { #define ETHER_TYPE_VLAN 0x8100 /**< IEEE 802.1Q VLAN tagging. */ #define ETHER_TYPE_1588 0x88F7 /**< IEEE 802.1AS 1588 Precise Time Protocol. */ #define ETHER_TYPE_SLOW 0x8809 /**< Slow protocols (LACP and Marker). */ +#define ETHER_TYPE_TEB 0x6558 /**< Transparent Ethernet Bridging. */ #define ETHER_VXLAN_HLEN (sizeof(struct udp_hdr) + sizeof(struct vxlan_hdr)) /**< VXLAN tunnel header length. */ -- 1.9.3