From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helin Zhang Subject: [PATCH RFC 0/6] support of QinQ stripping and insertion of i40e Date: Tue, 5 May 2015 10:32:17 +0800 Message-ID: <1430793143-3610-1-git-send-email-helin.zhang@intel.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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