Re: [dpdk-dev] How to using add/lookup hash table in multithread environment

2017-05-09 Thread Dumitrescu, Cristian
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of > vuon...@viettel.com.vn > Sent: Friday, May 5, 2017 5:52 AM > To: dev@dpdk.org > Subject: [dpdk-dev] How to using add/lookup hash table in multithread > environment > > Hi DPDK team,

Re: [dpdk-dev] How to using add/lookup hash table in multithread environment

2017-05-09 Thread Dumitrescu, Cristian
> -Original Message- > From: Dumitrescu, Cristian > Sent: Tuesday, May 9, 2017 7:49 PM > To: 'vuon...@viettel.com.vn' ; dev@dpdk.org > Subject: RE: [dpdk-dev] How to using add/lookup hash table in multithread > environment > > > > > -Orig

[dpdk-dev] How to using add/lookup hash table in multithread environment

2017-05-04 Thread vuonglv
Hi DPDK team, I am using DPDK to build a program in multithread environment. I use 1 thread (on 1 core) to add and delete hash table key ( by rte_hash_add_key() and rte_hash_del_key() function); And use 8 thread (on 8 others core) to lookup (by rte_hash_lookup() function ). As I know, rte_hash_l