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 86BD31288 for ; Mon, 8 Jun 2015 09:32:51 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 08 Jun 2015 00:32:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,572,1427785200"; d="scan'208";a="742843457" Received: from kmsmsx153.gar.corp.intel.com ([172.21.73.88]) by orsmga002.jf.intel.com with ESMTP; 08 Jun 2015 00:32:47 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.110.15) by KMSMSX153.gar.corp.intel.com (172.21.73.88) with Microsoft SMTP Server (TLS) id 14.3.224.2; Mon, 8 Jun 2015 15:32:46 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.23]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.94]) with mapi id 14.03.0224.002; Mon, 8 Jun 2015 15:32:44 +0800 From: "Cao, Min" To: "Liu, Jijiang" , "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [PATCH v2 0/6] support i40e QinQ stripping and insertion Thread-Index: AQHQnOKBJ8jC8zGy2EC7VldiH2LFiZ2YTgCAgAnxGSA= Date: Mon, 8 Jun 2015 07:32:45 +0000 Message-ID: References: <1432629400-25303-1-git-send-email-helin.zhang@intel.com> <1433214967-22247-1-git-send-email-helin.zhang@intel.com> <1ED644BD7E0A5F4091CF203DAFB8E4CC0575EC4A@SHSMSX101.ccr.corp.intel.com> In-Reply-To: <1ED644BD7E0A5F4091CF203DAFB8E4CC0575EC4A@SHSMSX101.ccr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 0/6] 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: Mon, 08 Jun 2015 07:32:52 -0000 Tested-by: Min Cao - OS: Fedora20 3.11.10-301 - GCC: gcc version 4.8.2 20131212 - CPU: Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz - NIC: Ethernet controller: Intel Corporation Device 1572 (rev 01) - Default x86_64-native-linuxapp-gcc configuration - Total 2 cases, 2 passed, 0 failed - Case: double vlan filter - Case: double vlan insertion=20 > -----Original Message----- > From: Zhang, Helin > Sent: Tuesday, June 2, 2015 11:16 AM > To: dev@dpdk.org > Cc: Cao, Min; Liu, Jijiang; Wu, Jingjing; Ananyev, Konstantin;=20 > Richardson, Bruce; olivier.matz@6wind.com; Zhang, Helin > Subject: [PATCH v2 0/6] support i40e QinQ stripping and insertion >=20 > As i40e hardware can be reconfigured to support QinQ stripping and=20 > insertion, this patch set is to enable that together with using the=20 > 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. >=20 > v2 changes: > * Added more commit logs of which commit it fix for. > * Fixed a typo. > * Kept the original RX/TX offload flags as they were, added new > flags after with new bit masks, for ABI compatibility. > * Supported double vlan stripping/insertion in examples/ipv4_multicast. >=20 > Helin Zhang (6): > 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 > examples/ipv4_multicast: support double vlan stripping and insertion >=20 > 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 - > examples/ipv4_multicast/main.c | 1 + > lib/librte_ether/rte_ethdev.h | 2 + > lib/librte_mbuf/rte_mbuf.h | 10 ++++- > 15 files changed, 243 insertions(+), 43 deletions(-) >=20 > -- > 1.9.3