From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id B7BC029D2 for ; Tue, 8 Mar 2016 07:53:42 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 07 Mar 2016 22:53:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,555,1449561600"; d="scan'208";a="665634616" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 07 Mar 2016 22:53:41 -0800 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id u286re0D012661 for ; Tue, 8 Mar 2016 14:53:40 +0800 Received: from shecgisg004.sh.intel.com (localhost [127.0.0.1]) by shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u286rbAm015380 for ; Tue, 8 Mar 2016 14:53:39 +0800 Received: (from wenzhuol@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id u286rb5B015376 for dev@dpdk.org; Tue, 8 Mar 2016 14:53:37 +0800 From: Wenzhuo Lu To: dev@dpdk.org Date: Tue, 8 Mar 2016 14:53:32 +0800 Message-Id: <1457420017-15345-1-git-send-email-wenzhuo.lu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1454051035-25757-1-git-send-email-wenzhuo.lu@intel.com> References: <1454051035-25757-1-git-send-email-wenzhuo.lu@intel.com> Subject: [dpdk-dev] [PATCH v6 0/5] support E-tag offloading and forwarding on X550 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: Tue, 08 Mar 2016 06:53:43 -0000 This patch set adds the support of E-tag offloading and forwarding on X550. The offloading means E-tag can be inserted and stripped by HW. And E-tag packets can be recognized and forwarded to specific pools based on GRP and E-CID_base in E-tag. E-tag is defined in IEEE802.1br. Please reference http://www.ieee802.org/1/pages/802.1br.html. v2: - Add the introduction for E-tag. v3: - Add the hlep info for the new CLIs. - Update the doc for testpmd. - Update the E-tag insertion setting. v4: - Fix strippig is not working issue. - Update the filter adding function. One filter for one tunnel entry. - Update the release note to add some info about how to use this feature. v5: - Use macro for return value. - Correct print info. v6: - Merge some rte ops. Wenzhuo Lu (5): ixgbe: select pool by MAC when using double VLAN lib/librte_ether: support l2 tunnel operations ixgbe: support l2 tunnel operations app/testpmd: add CLIs for l2 tunnel config app/testpmd: add CLIs for E-tag operation app/test-pmd/cmdline.c | 677 +++++++++++++++++++++++++++- doc/guides/rel_notes/release_16_04.rst | 21 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 37 ++ drivers/net/ixgbe/ixgbe_ethdev.c | 548 ++++++++++++++++++++++ lib/librte_ether/rte_eth_ctrl.h | 9 + lib/librte_ether/rte_ethdev.c | 102 +++++ lib/librte_ether/rte_ethdev.h | 131 ++++++ lib/librte_ether/rte_ether_version.map | 4 + 8 files changed, 1528 insertions(+), 1 deletion(-) Tested-by: Yong Liu Acked-by: Shaopeng He -- 1.9.3