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 E70747E47 for ; Tue, 14 Oct 2014 05:27:32 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP; 13 Oct 2014 20:35:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="399763695" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by FMSMGA003.fm.intel.com with ESMTP; 13 Oct 2014 20:28:05 -0700 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 13 Oct 2014 20:35:14 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 13 Oct 2014 20:35:11 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.230]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.190]) with mapi id 14.03.0195.001; Tue, 14 Oct 2014 11:32:58 +0800 From: "Wu, Jingjing" To: "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [PATCH v4 0/7] Support configuring hash functions Thread-Index: AQHP5qzEsy3SluXPQECzLGvb4UwjVZwu8Y8w Date: Tue, 14 Oct 2014 03:32:57 +0000 Message-ID: <9BB6961774997848B5B42BEC655768F8B0A853@SHSMSX104.ccr.corp.intel.com> References: <1412058028-10971-2-git-send-email-helin.zhang@intel.com> <1413180766-12211-1-git-send-email-helin.zhang@intel.com> In-Reply-To: <1413180766-12211-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 v4 0/7] 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, 14 Oct 2014 03:27:33 -0000 Acked-by: Jingjing Wu > -----Original Message----- > From: Zhang, Helin > Sent: Monday, October 13, 2014 2:13 PM > To: dev@dpdk.org > Cc: Zhan, Zhaochen; Cao, Waterman; Zhang, Helin > Subject: [PATCH v4 0/7] Support configuring hash functions >=20 > These patches mainly support configuring hash functions. > In detail, > - It can get or set 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. > * 'rte_eth_dev_filter_supported', to check if a filter control > is supported on a port. > * 'rte_eth_dev_filter_ctrl', a common API to execute > specific filter control. > - Six commands have been implemented in testpmd to support > testing above. > * get_sym_hash_ena_per_port > * set_sym_hash_ena_per_port > * get_sym_hash_ena_per_pctype > * set_sym_hash_ena_per_pctype > * get_filter_swap > * set_filter_swap > * get_hash_function > * set_hash_function >=20 > Note that 'PCTYPE' means 'Packet Classification Type'. >=20 > v4 changes: > * Fixed a bug in testpmd to support 'set_sym_hash_ena_per_port'. >=20 > Helin Zhang (7): > ethdev: add more annotations > ethdev: add interfaces and relevant for filter control > ethdev: add structures and enum for hash filter control > i40e: add hash filter control implementation > i40e: add hardware initialization > i40e: Use constant random hash keys > app/testpmd: add commands to support hash filter control >=20 > app/test-pmd/cmdline.c | 566 > ++++++++++++++++++++++++++++++++++++++ > lib/librte_ether/Makefile | 1 + > lib/librte_ether/rte_eth_ctrl.h | 154 +++++++++++ > lib/librte_ether/rte_ethdev.c | 32 +++ > lib/librte_ether/rte_ethdev.h | 53 +++- > lib/librte_pmd_i40e/i40e_ethdev.c | 492 > ++++++++++++++++++++++++++++++++- > 6 files changed, 1291 insertions(+), 7 deletions(-) create mode 100644 > lib/librte_ether/rte_eth_ctrl.h >=20 > -- > 1.8.1.4