From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id B49B7C582 for ; Tue, 5 May 2015 04:32:32 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP; 04 May 2015 19:32:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,369,1427785200"; d="scan'208";a="489388087" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by FMSMGA003.fm.intel.com with ESMTP; 04 May 2015 19:32:31 -0700 Received: from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com [10.239.29.89]) by shvmail01.sh.intel.com with ESMTP id t452WSgG001987; Tue, 5 May 2015 10:32:28 +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 t452WOQq003644; Tue, 5 May 2015 10:32:26 +0800 Received: (from hzhan75@localhost) by shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id t452WOcj003640; Tue, 5 May 2015 10:32:24 +0800 From: Helin Zhang To: dev@dpdk.org Date: Tue, 5 May 2015 10:32:17 +0800 Message-Id: <1430793143-3610-1-git-send-email-helin.zhang@intel.com> X-Mailer: git-send-email 1.7.4.1 Subject: [dpdk-dev] [PATCH RFC 0/6] support of QinQ stripping and insertion of i40e 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, 05 May 2015 02:32:33 -0000 As i40e hardware can be reconfigured to support QinQ stripping and insertion, this patch set is to enable that with the update of 'struct rte_mbuf', and testpmd commands. Note that the Vector-PMD will be updated soon later. Helin Zhang (6): mbuf: update mbuf structure for QinQ support i40e: reconfigure the hardware to support QinQ stripping/insertion i40e: support of QinQ stripping/insertion in RX/TX ethdev: add QinQ offload capability flags i40e: update of offload capability flags app/testpmd: support of QinQ stripping and insertion app/test-pmd/cmdline.c | 78 +++++++++++++++++++++++++++++--- app/test-pmd/config.c | 23 +++++++++- app/test-pmd/flowgen.c | 8 ++-- app/test-pmd/macfwd.c | 5 ++- app/test-pmd/macswap.c | 5 ++- app/test-pmd/rxonly.c | 5 ++- app/test-pmd/testpmd.h | 6 ++- app/test-pmd/txonly.c | 10 +++-- app/test/packet_burst_generator.c | 4 +- lib/librte_ether/rte_ethdev.h | 28 ++++++------ lib/librte_ether/rte_ether.h | 4 +- lib/librte_mbuf/rte_mbuf.h | 22 +++++++-- lib/librte_pmd_e1000/em_rxtx.c | 8 ++-- lib/librte_pmd_e1000/igb_rxtx.c | 8 ++-- lib/librte_pmd_enic/enic_ethdev.c | 2 +- lib/librte_pmd_enic/enic_main.c | 2 +- lib/librte_pmd_fm10k/fm10k_rxtx.c | 2 +- lib/librte_pmd_i40e/i40e_ethdev.c | 50 +++++++++++++++++++++ lib/librte_pmd_i40e/i40e_ethdev_vf.c | 13 ++++++ lib/librte_pmd_i40e/i40e_rxtx.c | 85 +++++++++++++++++++++++------------ lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 11 +++-- lib/librte_pmd_vmxnet3/vmxnet3_rxtx.c | 6 +-- 22 files changed, 297 insertions(+), 88 deletions(-) -- 1.9.3