From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id A4B3D682E for ; Wed, 19 Nov 2014 10:52:49 +0100 (CET) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 18 Nov 2014 23:53:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,415,1413270000"; d="scan'208";a="634350642" Received: from pgsmsx104.gar.corp.intel.com ([10.221.44.91]) by fmsmga002.fm.intel.com with ESMTP; 18 Nov 2014 23:53:23 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by PGSMSX104.gar.corp.intel.com (10.221.44.91) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 19 Nov 2014 15:53:21 +0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.240]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.86]) with mapi id 14.03.0195.001; Wed, 19 Nov 2014 15:53:20 +0800 From: "Cao, Min" To: "Wu, Jingjing" , "dev@dpdk.org" Thread-Topic: [PATCH v4 00/21] Support flow director programming on Fortville Thread-Index: AQHP7ZPSWXZul7RZfE+Ylmt+qIwU95xnwH/A Date: Wed, 19 Nov 2014 07:53:20 +0000 Message-ID: References: <1411711418-12881-1-git-send-email-jingjing.wu@intel.com> <1413939687-11177-1-git-send-email-jingjing.wu@intel.com> In-Reply-To: <1413939687-11177-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 v4 00/21] 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, 19 Nov 2014 09:52:50 -0000 Tested-by: Min Cao Patch name: [PATCH v4 00/21] Support flow director programming on Fortvil= le 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 Test Case 4: =09 Name: Fortville flow director performance 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: Wu, Jingjing=20 Sent: Wednesday, October 22, 2014 9:01 AM To: dev@dpdk.org Cc: Wu, Jingjing; Cao, Min Subject: [PATCH v4 00/21] Support flow director programming on Fortville 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. - 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, FD_ID report. - support operation to configure flexible payload and its mask - support flexible payload involved in comparison and flex bytes report. v2 changes: - create real fdir vsi and assign queue 0 pair to it. - check filter status report on the rx queue 0 =20 v3 changes: - redefine filter APIs to support multi-kind filters - support sctpv4 and sctpv6 type flows - support flexible payload involved in comparison=20 =20 v4 changes: - strip the filter APIs definitions from this patch set - extend mbuf field to support flex bytes report - fix typos Jingjing Wu (21): i40e: set up and initialize flow director i40e: tear down flow director i40e: initialize flexible payload setting ethdev: define structures for adding/deleting flow director i40e: implement operations to add/delete flow director testpmd: add test commands to add/delete flow director filter i40e: match counter for flow director mbuf: extend fdir field i40e: report flow director match info to mbuf testpmd: print extended fdir info in mbuf ethdev: define structures for getting flow director information i40e: implement operations to get fdir info testpmd: display fdir statistics i40e: implement operation to flush flow director table testpmd: add test command to flush flow director table ethdev: define structures for configuring flexible payload i40e: implement operations to configure flexible payload testpmd: add test command to configure flexible payload ethdev: define structures for configuring flex masks i40e: implement operations to configure flexible masks testpmd: add test command to configure flexible masks app/test-pmd/cmdline.c | 812 ++++++++++++++++++++++++ app/test-pmd/config.c | 38 +- app/test-pmd/rxonly.c | 14 +- app/test-pmd/testpmd.h | 3 + lib/librte_ether/rte_eth_ctrl.h | 266 ++++++++ lib/librte_ether/rte_ethdev.h | 23 - lib/librte_mbuf/rte_mbuf.h | 12 +- lib/librte_pmd_i40e/Makefile | 2 + lib/librte_pmd_i40e/i40e_ethdev.c | 127 +++- lib/librte_pmd_i40e/i40e_ethdev.h | 34 +- lib/librte_pmd_i40e/i40e_fdir.c | 1222 +++++++++++++++++++++++++++++++++= ++++ lib/librte_pmd_i40e/i40e_rxtx.c | 225 ++++++- 12 files changed, 2723 insertions(+), 55 deletions(-) create mode 100644 lib/librte_pmd_i40e/i40e_fdir.c --=20 1.8.1.4