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

2018-01-20 Thread Thomas Monjalon
11/12/2017 13:52, Bruce Richardson: > On Mon, Nov 06, 2017 at 10:04:02AM -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 1/3] hash: run-time function selection

2017-12-11 Thread Bruce Richardson
On Mon, Nov 06, 2017 at 10:04:02AM -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 1/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_cuckoo_hash.c | 10 +- lib/librte_hash/rte_cuckoo_hash.h |