From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id ED373B367 for ; Tue, 29 Jul 2014 04:55:25 +0200 (CEST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 28 Jul 2014 19:51:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,753,1400050800"; d="scan'208";a="580413291" Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by orsmga002.jf.intel.com with ESMTP; 28 Jul 2014 19:57:13 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX107.amr.corp.intel.com (10.19.9.54) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 28 Jul 2014 19:57:12 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 28 Jul 2014 19:57:13 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.204]) by shsmsx102.ccr.corp.intel.com ([169.254.2.120]) with mapi id 14.03.0123.003; Tue, 29 Jul 2014 10:57:11 +0800 From: "Wu, Jingjing" To: "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 0/6] Support configuring hash functions Thread-Index: AQHPqj2/1Nw/mLi+gk6ANM9IsppDppu2XJcg Date: Tue, 29 Jul 2014 02:57:10 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F8AB2DA4@SHSMSX104.ccr.corp.intel.com> References: <1406535955-31070-1-git-send-email-helin.zhang@intel.com> In-Reply-To: <1406535955-31070-1-git-send-email-helin.zhang@intel.com> Accept-Language: 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 configuring hash functions 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, 29 Jul 2014 02:55:26 -0000 Reviewed-by: Jingjing Wu > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Helin Zhang > Sent: Monday, July 28, 2014 4:26 PM > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2 0/6] Support configuring hash functions >=20 > These pathches mainly support configuring hash functions. > In detail, > - It can select Toeplitz or simple XOR hash functions. > - It can configure symmetric hash functions. > * Get/set symmetric hash enable per port. > * Get/set symmetric hash enable per 'PCTYPE'. > * Get/set filter swap configurations. > - 'ethdev' level interfaces are added. > * 'is_command_supported', to check if a feature (command) > is supported on a port. > * 'rx_classification_filter_ctl', a common API to execute > specific command of each feature. > - Seven commands are implemented in testpmd to support > testing above. > Note that 'PCTYPE' means 'Packet Classification Type'. >=20 > Helin Zhang (6): > ethdev: rename macros of packet classification type > ethdev: add new ops of 'is_command_supported' and > 'rx_classification_filter_ctl' > i40e: support of 'rx_classification_filter_ctl' > i40e: support of 'is_command_supported' > i40e: Initialize hash function during port initialization. > app/testpmd: add commands for configuring hash functions >=20 > app/test-pmd/cmdline.c | 579 > ++++++++++++++++++++++++++++++++++++ > lib/librte_ether/Makefile | 1 + > lib/librte_ether/rte_eth_features.h | 73 +++++ > lib/librte_ether/rte_ethdev.c | 31 ++ > lib/librte_ether/rte_ethdev.h | 131 +++++--- > lib/librte_pmd_i40e/Makefile | 6 + > lib/librte_pmd_i40e/i40e_ethdev.c | 484 ++++++++++++++++++++++++++++++ > lib/librte_pmd_i40e/i40e_ethdev.h | 2 + > lib/librte_pmd_i40e/rte_i40e.h | 108 +++++++ > 9 files changed, 1377 insertions(+), 38 deletions(-) > create mode 100644 lib/librte_ether/rte_eth_features.h > create mode 100644 lib/librte_pmd_i40e/rte_i40e.h >=20 > -- > 1.8.1.4