Re: [dpdk-dev] [PATCH 2/3] hash: run-time function selection

2018-01-20 Thread Thomas Monjalon
11/12/2017 14:26, Bruce Richardson: > On Mon, Nov 06, 2017 at 10:04:49AM -0800, Elza Mathew wrote: > > Compile-time function selection can potentially lead to > > lower performance on generic builds done by distros. > > Replaced compile time flag checks with run-time function > > selection. > > >

Re: [dpdk-dev] [PATCH 2/3] hash: run-time function selection

2017-12-11 Thread Bruce Richardson
On Mon, Nov 06, 2017 at 10:04:49AM -0800, Elza Mathew wrote: > Compile-time function selection can potentially lead to > lower performance on generic builds done by distros. > Replaced compile time flag checks with run-time function > selection. > > Signed-off-by: Elza Mathew > --- > lib/librte_

[dpdk-dev] [PATCH 2/3] hash: run-time function selection

2017-11-06 Thread Elza Mathew
Compile-time function selection can potentially lead to lower performance on generic builds done by distros. Replaced compile time flag checks with run-time function selection. Signed-off-by: Elza Mathew --- lib/librte_hash/rte_fbk_hash.c | 11 ++- lib/librte_hash/rte_fbk_hash.h | 8 ---