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 A67D85955 for ; Thu, 31 Jul 2014 04:47:08 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 30 Jul 2014 19:43:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,769,1400050800"; d="scan'208";a="551624291" Received: from fmsmsx107.amr.corp.intel.com ([10.19.9.54]) by orsmga001.jf.intel.com with ESMTP; 30 Jul 2014 19:49:04 -0700 Received: from fmsmsx102.amr.corp.intel.com (10.18.124.200) by FMSMSX107.amr.corp.intel.com (10.19.9.54) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 30 Jul 2014 19:49:04 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX102.amr.corp.intel.com (10.18.124.200) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 30 Jul 2014 19:49:04 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.97]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.217]) with mapi id 14.03.0195.001; Thu, 31 Jul 2014 10:49:03 +0800 From: "Zhan, Zhaochen" To: "Zhang, Helin" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2 0/6] Support configuring hash functions Thread-Index: AQHPqj3Ns4QkImul1UaJFdTA2iyfXpu5fs1Q Date: Thu, 31 Jul 2014 02:49:02 +0000 Message-ID: <6D0EE020084B194084D70B0A8D2207B8EB0BC8@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: Thu, 31 Jul 2014 02:47:09 -0000 =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 Tested-by: Zhaochen Zhan I have tested this patch on fedora20 with Fortville NIC. The hash function toeplitz/simple XOR/ symmetric all works well for ip/udp both ipv4 and ipv6 packets in testpmd support RSS.