From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 1/3] hash: add rte_hash_set_cmp_func() function. Date: Mon, 07 Dec 2015 00:43:43 +0100 Message-ID: <2203157.9kzBf8srYb@xps13> References: <1447895712-12159-1-git-send-email-yuwb_bjy@ctbri.com.cn> <1449198703-8585-1-git-send-email-yuwb_bjy@ctbri.com.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Yu Nemo Wenbin To: "De Lara Guarch, Pablo" Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 2489993A6 for ; Mon, 7 Dec 2015 00:44:55 +0100 (CET) Received: by wmuu63 with SMTP id u63so120821913wmu.0 for ; Sun, 06 Dec 2015 15:44:55 -0800 (PST) In-Reply-To: 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" 2015-12-04 08:54, De Lara Guarch, Pablo: > Hi Nemo, > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yu Nemo Wenbin > > Give user a chance to costomize the hash key compare function. > > The default rte_hash_cmp_eq function is set in the rte_hash_create > > function, but these builtin ones may not good enough, so the user > > may call this to override the default one. > > > > Signed-off-by: Yu Nemo Wenbin > > What I meant with all the changes in one go is to include them in a single patch, not three, > where your starting point is the current code in mainline. > Please, check that the commit message is fixed as we discussed, > and that the new function is in DPDK_2.2, and not DPDK_2.1 I think I've understood what Nemo wants to do. I've fixed the indent, fixed the doxygen comment and dropped the third patch. At the end, applied with your previous ack.