[dpdk-dev] [PATCH v3 1/3] hash: add rte_hash_set_cmp_func() function.

2015-12-07 Thread Thomas Monjalon
2015-12-04 08:54, De Lara Guarch, Pablo: > Hi Nemo, > From: dev [mailto:dev-bounces at 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

[dpdk-dev] [PATCH v3 1/3] hash: add rte_hash_set_cmp_func() function.

2015-12-04 Thread 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 --- lib/librte_hash/rte_cuc

[dpdk-dev] [PATCH v3 1/3] hash: add rte_hash_set_cmp_func() function.

2015-12-04 Thread De Lara Guarch, Pablo
Hi Nemo, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yu Nemo Wenbin > Sent: Friday, December 04, 2015 3:12 AM > To: dev at dpdk.org > Subject: [dpdk-dev] [PATCH v3 1/3] hash: add rte_hash_set_cmp_func() > function. > > Give us