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 BF1BD2E8A for ; Tue, 26 May 2015 10:36:48 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP; 26 May 2015 01:36:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,497,1427785200"; d="scan'208";a="715584379" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga001.fm.intel.com with ESMTP; 26 May 2015 01:36:47 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t4Q8ai3a005677; Tue, 26 May 2015 16:36:44 +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 t4Q8agHL025337; Tue, 26 May 2015 16:36:44 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t4Q8agx0025333; Tue, 26 May 2015 16:36:42 +0800 From: Helin Zhang To: dev@dpdk.org Date: Tue, 26 May 2015 16:36:35 +0800 Message-Id: <1432629400-25303-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1430793143-3610-1-git-send-email-helin.zhang@intel.com> References: <1430793143-3610-1-git-send-email-helin.zhang@intel.com> Subject: [dpdk-dev] [PATCH 0/5] support i40e QinQ stripping and insertion 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, 26 May 2015 08:36:49 -0000 As i40e hardware can be reconfigured to support QinQ stripping and insertion, this patch set is to enable that together with using the reserved 16 bits in 'struct rte_mbuf' for the second vlan tag. Corresponding command is added in testpmd for testing. Note that no need to rework vPMD, as nothings used in it changed. Helin Zhang (5): ixgbe: remove a discarded source line mbuf: use the reserved 16 bits for double vlan i40e: support double vlan stripping and insertion i40evf: add supported offload capability flags app/testpmd: add test cases for qinq stripping and insertion app/test-pmd/cmdline.c | 78 +++++++++++++++++++++++++++++++++---- app/test-pmd/config.c | 21 +++++++++- app/test-pmd/flowgen.c | 4 +- app/test-pmd/macfwd.c | 3 ++ app/test-pmd/macswap.c | 3 ++ app/test-pmd/rxonly.c | 3 ++ app/test-pmd/testpmd.h | 6 ++- app/test-pmd/txonly.c | 8 +++- drivers/net/i40e/i40e_ethdev.c | 52 +++++++++++++++++++++++++ drivers/net/i40e/i40e_ethdev_vf.c | 13 +++++++ drivers/net/i40e/i40e_rxtx.c | 81 +++++++++++++++++++++++++-------------- drivers/net/ixgbe/ixgbe_rxtx.c | 1 - lib/librte_ether/rte_ethdev.h | 28 +++++++------- lib/librte_mbuf/rte_mbuf.h | 10 ++++- 14 files changed, 255 insertions(+), 56 deletions(-) -- 1.9.3