From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH v2] Add toeplitz hash algorithm used by RSS Date: Tue, 16 Jun 2015 11:36:41 +0100 Message-ID: <20150616103641.GB8644@bricha3-MOBL3> References: <1430832011-17764-1-git-send-email-medvedkinv@gmail.com> <1431097092-19790-1-git-send-email-medvedkinv@gmail.com> <2783732.C59rBDiv7h@xps13> <1943830.H0qqKjE30e@xps13> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 7384DC312 for ; Tue, 16 Jun 2015 12:36:47 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1943830.H0qqKjE30e@xps13> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, Jun 16, 2015 at 11:07:28AM +0200, Thomas Monjalon wrote: > 2015-06-03 16:07, Thomas Monjalon: > > 2015-05-08 10:58, Vladimir Medvedkin: > > > Software implementation of the Toeplitz hash function used by RSS. > > > Can be used either for packet distribution on single queue NIC > > > or for simulating of RSS computation on specific NIC (for example > > > after GRE header decapsulating). > > > > > > v3 changes > > > - Rework API to be more generic > > > - Add sctp_tag into tuple > > > > > > v2 changes > > > - Add ipv6 support > > > - Various style fixes > > > > > > Signed-off-by: Vladimir Medvedkin > > > --- > > > lib/librte_hash/Makefile | 1 + > > > lib/librte_hash/rte_thash.h | 207 ++++++++++++++++++++++++++++++++++++++++++++ > > > > Without any comment, it seems this v3 is approved. > > Maybe that this patch would be even better by implementing some unit tests. > > I wonder if the hash chapter of the prog guide could list the different > > algorithms and why/when use them? > > Bruce, any opinion? > Don't you think that unit tests are required? Sorry, I missed this patch set. I'll take a look at it today. /Bruce