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 464655B16 for ; Tue, 27 Jan 2015 06:46:51 +0100 (CET) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP; 26 Jan 2015 21:46:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="445597885" Received: from kmsmsx151.gar.corp.intel.com ([172.21.73.86]) by FMSMGA003.fm.intel.com with ESMTP; 26 Jan 2015 21:33:06 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by KMSMSX151.gar.corp.intel.com (172.21.73.86) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 27 Jan 2015 13:46:45 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.192]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.64]) with mapi id 14.03.0195.001; Tue, 27 Jan 2015 13:46:43 +0800 From: "Cao, Min" To: "Liu, Jijiang" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 0/6] Support NVGRE on i40e Thread-Index: AQHQORpd5+qWCt3+BEaVHoy7E6rfz5zR3Gpw Date: Tue, 27 Jan 2015 05:46:42 +0000 Message-ID: References: <1422243805-10906-1-git-send-email-jijiang.liu@intel.com> In-Reply-To: <1422243805-10906-1-git-send-email-jijiang.liu@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 0/6] Support NVGRE on 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, 27 Jan 2015 05:46:52 -0000 Test by: min.cao Patch name: [dpdk-dev] [PATCH 0/6] Support NVGRE on i40e Test Flag: Tested-by Tester name: min.cao@intel.com Result summary: total 2 cases, 2 passed, 0 failed Test Case 1: =09 Name: nvgre filter Environment: OS: Fedora20 3.11.10-301.fc20.x86_64 gcc (GCC) 4.8.2 CPU: Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz NIC: Fortville eagle=20 Test result: PASSED Detail: check normal packet + ip filter=20 check vxlan packet + inner ip filter check vxlan packet + outer ip filter check vxlan packet + outer ip + inner ip filter check vxlan packet + inner udp filter check vxlan packet + inner tcp filter check vlan vxlan packet + outer ip filter check vlan vxlan packet + inner ip filter check vlan vxlan packet + outer&inner ip filter check vlan vxlan packet + inner vlan + outer ip fil= ter check vlan vxlan packet + inner vlan + inner ip fil= ter check vlan vxlan packet + inner vlan + outer&inner = ip filter check vlan vxlan packet + inner vlan + inner udp fi= lter check vlan vxlan packet + inner vlan + inner tcp fi= lter Test Case 2: =09 Name: nvgre checksum Environment: OS: Fedora20 3.11.10-301.fc20.x86_64 gcc (GCC) 4.8.2 CPU: Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz NIC: Fortville eagle=20 Test result: PASSED Detail: check normal packet + ip checksum invalid check vxlan packet + inner ip checksum invalid check vxlan packet + outer ip checksum invalid check vxlan packet + outer ip + inner ip checksum i= nvalid check vxlan packet + inner udp checksum invalid check vxlan packet + inner tcp checksum invalid check vlan vxlan packet + outer ip checksum invalid check vlan vxlan packet + inner ip checksum invalid check vlan vxlan packet + outer&inner ip checksum i= nvalid check vlan vxlan packet + inner vlan + outer ip che= cksum invalid check vlan vxlan packet + inner vlan + inner ip che= cksum invalid check vlan vxlan packet + inner vlan + outer&inner = ip checksum invalid check vlan vxlan packet + inner vlan + inner udp ch= ecksum invalid check vlan vxlan packet + inner vlan + inner tcp ch= ecksum invalid -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jijiang Liu Sent: Monday, January 26, 2015 11:43 AM To: dev@dpdk.org Subject: [dpdk-dev] [PATCH 0/6] Support NVGRE on i40e The patch set supports NVGRE on i40e. It includes: - Support RX filters for NVGRE packet. It uses MAC and VLAN to point to a queue. The filter types supported are listed below: 1. Inner MAC and Inner VLAN ID 2. Inner MAC address, inner VLAN ID and tenant ID. 3. Inner MAC and tenant ID 4. Inner MAC address 5. Outer MAC address, tenant ID and inner MAC 6. Inner IP - Support TX checksum offload for NVGRE packet, which include outer L3(IP)= , inner L3(IP) and inner L4(UDP, TCP and SCTP) Jijiang Liu (6): add gre header defination add nvgre RX filter in i40e test nvgre RX filters add GRE packet offload flag=20 support GRE packet TX checksum offload test nvgre TX checksum offload app/test-pmd/cmdline.c | 37 ++++++++----- app/test-pmd/csumonly.c | 105 +++++++++++++++++++++++++++------= ---- app/test-pmd/testpmd.h | 4 +- lib/librte_ether/rte_ether.h | 12 ++++ lib/librte_mbuf/rte_mbuf.h | 6 ++ lib/librte_pmd_i40e/i40e_ethdev.c | 6 ++ lib/librte_pmd_i40e/i40e_rxtx.c | 15 ++++- 7 files changed, 139 insertions(+), 46 deletions(-) --=20 1.7.7.6