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 7C01D137D for ; Wed, 24 Sep 2014 06:46:42 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 23 Sep 2014 21:52:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,586,1406617200"; d="scan'208";a="595986552" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga001.fm.intel.com with ESMTP; 23 Sep 2014 21:52:48 -0700 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 23 Sep 2014 21:52:48 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by FMSMSX153.amr.corp.intel.com (10.18.125.6) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 23 Sep 2014 21:52:48 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.204]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.230]) with mapi id 14.03.0195.001; Wed, 24 Sep 2014 12:52:46 +0800 From: "Cao, Min" To: "Wu, Jingjing" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 0/7] Support flow director programming on fortville Thread-Index: AQHP17NiIrviERT0IE6NOJ2bAqbPXA== Date: Wed, 24 Sep 2014 04:52:46 +0000 Message-ID: References: <1409105634-29980-1-git-send-email-jingjing.wu@intel.com> In-Reply-To: <1409105634-29980-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 v2 0/7] 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: Wed, 24 Sep 2014 04:46:42 -0000 Tested-by: Min Cao I have tested this patch with Fortville. Flow director is tested with 2*40G= , 1*40G and 4*10G NIC. -----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Jingjing Wu Sent: Wednesday, August 27, 2014 10:14 AM To: dev@dpdk.org Subject: [dpdk-dev] [PATCH v2 0/7] Support flow director programming on for= tville The patch set supports flow director programming on fortville. It includes: - reserve i40e resources for flow director, such as queue and vsi. - support the new ethdev API rx_classification_filter_ctl for all the configuration or queries for receive classification filters. - support programming 6 flow types for the flow director filters, which is called PCTYPE in fortville: ipv4, tcpv4, udpv4, ipv6, tcpv6, udpv6. - support flushing flow director table (all filters). - support to get flow diretor information. - support match statistics and FD ID report. - fix the the Marco conflict between rte_ip.h and netinet/in.h. =20 v2 changes: - create real fdir vsi and assign queue 0 pair to it. - check filter status report on the rx queue 0 =20 further plan: - add flexible payload comprasion as flow director's input - support sctpv4 and sctpv6 PCTYPEs jingjing.wu (7): flow director resource reserve and initialize on i40e define new ethdev API rx_classification_filter_ctl function implement in i40e for flow director filter programming function implement in i40e for flow director flush and info get fix the Marco conflict support FD ID report and match counter for i40e flow director add commands and config functions for i40e flow director support app/test-pmd/cmdline.c | 665 ++++++++++++++++++++++++++++++++= ++++ app/test-pmd/config.c | 54 ++- app/test-pmd/testpmd.c | 22 ++ app/test-pmd/testpmd.h | 57 ++++ lib/librte_ether/Makefile | 3 +- lib/librte_ether/rte_eth_features.h | 65 ++++ lib/librte_ether/rte_ethdev.c | 19 +- lib/librte_ether/rte_ethdev.h | 108 +++--- lib/librte_net/rte_ip.h | 5 +- lib/librte_pmd_i40e/Makefile | 5 + lib/librte_pmd_i40e/i40e_ethdev.c | 137 +++++++- lib/librte_pmd_i40e/i40e_ethdev.h | 32 +- lib/librte_pmd_i40e/i40e_fdir.c | 500 +++++++++++++++++++++++++++ lib/librte_pmd_i40e/i40e_rxtx.c | 176 +++++++++- lib/librte_pmd_i40e/rte_i40e.h | 125 +++++++ 15 files changed, 1906 insertions(+), 67 deletions(-) create mode 100644 lib/librte_ether/rte_eth_features.h create mode 100644 lib/librte_pmd_i40e/i40e_fdir.c create mode 100644 lib/librte_pmd_i40e/rte_i40e.h --=20 1.8.1.4