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 633F9683B for ; Thu, 30 Oct 2014 08:05:16 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 30 Oct 2014 00:14:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,284,1413270000"; d="scan'208";a="623292280" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by fmsmga002.fm.intel.com with ESMTP; 30 Oct 2014 00:14:08 -0700 Received: from pgsmsx102.gar.corp.intel.com (10.221.44.80) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 30 Oct 2014 15:12:58 +0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by PGSMSX102.gar.corp.intel.com (10.221.44.80) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 30 Oct 2014 15:12:57 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.207]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.202]) with mapi id 14.03.0195.001; Thu, 30 Oct 2014 15:12:56 +0800 From: "Cao, Min" To: "Wu, Jingjing" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 00/20] Support flow director programming on Fortville Thread-Index: AQHP9BDt3EWoyPl4Ak+Qys5X0GVUbQ== Date: Thu, 30 Oct 2014 07:12:55 +0000 Message-ID: References: <1411711418-12881-1-git-send-email-jingjing.wu@intel.com> In-Reply-To: <1411711418-12881-1-git-send-email-jingjing.wu@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 v3 00/20] Support flow director programming on Fortville 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: Thu, 30 Oct 2014 07:05:17 -0000 Tested-by: Min Cao Patch name: Support flow director programming on Fortville Brief description: add flexible payload Test Flag: Tested-by Tester name: min.cao@intel.com Result summary: total 3 cases, 3 passed, 0 failed Test Case 1: =09 Name: Fortville flow director with no flexible playload(IPv4/IPv6) 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/spirit=20 Test result: PASSED Test Case 2: =09 Name: Fortville flow director with flexible playload(IPv4/IPv6) 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/spirit=20 Test result: PASSED Test Case 3: =09 Name: Fortville flow director flush 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/spirit=20 Test result: PASSED -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jingjing Wu Sent: Friday, September 26, 2014 2:03 PM To: dev@dpdk.org Subject: [dpdk-dev] [PATCH v3 00/20] Support flow director programming on F= ortville The patch set supports flow director on fortville. It includes: - set up/tear down fortville resources to support flow director, such as q= ueue and vsi. - define new APIs to support multi-kind filters and their operations. - support operation to add or delete 8 flow types of the flow director fil= ters, they are ipv4, tcpv4, udpv4, sctpv4, ipv6, tcpv6, udpv6, sctpv6. - support flushing flow director table (all filters). - support operation to get flow director information. - match status statistics and FD_ID report . - support operation to configure flexible payload and its mask - support flexible payload involved in comparison =20 v2 changes: - create real fdir vsi and assign queue 0 pair to it. - check filter status report on the rx queue 0 =20 v3 change: - redefine filter APIs to support multi-kind filters - support sctpv4 and sctpv6 type flows - support flexible payload involved in comparison Jingjing Wu (20): i40e: set up and initialize flow director i40e: tear down flow director i40e: initialize flexible payload setting lib/librte_ether: new filter APIs definition lib/librte_ether: define structures for adding/deleting flow director i40e: implement operations to add/delete flow director app/test-pmd: add test commands to add/delete flow director filter i40e: match counter for flow director i40e: report flow director match info to mbuf lib/librte_ether: define structures for getting flow director information i40e: implement operations to get fdir info app/test-pmd: display fdir statistics i40e: implement operation to flush flow director table app/test-pmd: add test command to flush flow director table lib/librte_ether: define structures for configuring flexible payload i40e: implement operations to configure flexible payload app/test-pmd: add test command to configure flexible payload lib/librte_ether: define structures for configuring flex masks i40e: implement operations to configure flexible masks app/test-pmd: add test command to configure flexible masks app/test-pmd/cmdline.c | 813 +++++++++++++++++++++++++ app/test-pmd/config.c | 40 +- app/test-pmd/testpmd.h | 3 + lib/librte_ether/Makefile | 1 + lib/librte_ether/rte_eth_ctrl.h | 343 +++++++++++ lib/librte_ether/rte_ethdev.c | 32 + lib/librte_ether/rte_ethdev.h | 67 ++- lib/librte_pmd_i40e/Makefile | 2 + lib/librte_pmd_i40e/i40e_ethdev.c | 148 ++++- lib/librte_pmd_i40e/i40e_ethdev.h | 34 +- lib/librte_pmd_i40e/i40e_fdir.c | 1202 +++++++++++++++++++++++++++++++++= ++++ lib/librte_pmd_i40e/i40e_rxtx.c | 175 ++++++ 12 files changed, 2815 insertions(+), 45 deletions(-) create mode 100644 lib/librte_ether/rte_eth_ctrl.h create mode 100644 lib/librte_pmd_i40e/i40e_fdir.c --=20 1.8.1.4