[dpdk-dev] using hash table in a MP environment

2014-06-11 Thread Richardson, Bruce
14 10:24 PM > To: Venkat Thummala > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] using hash table in a MP environment > > one more simple way would be to assign the desired hash function to the > hash_func in the rte_hash structure returned by rte_hash_find_existing call > at

[dpdk-dev] using hash table in a MP environment

2014-06-11 Thread Helmut Sim
one more simple way would be to assign the desired hash function to the hash_func in the rte_hash structure returned by rte_hash_find_existing call at the secondary initialization phase. that way there is no difference between a primary or a secondary process. Regards, On Tue, Jun 10, 2014 at 3

[dpdk-dev] using hash table in a MP environment

2014-06-10 Thread Venkat Thummala
Hi Shirley, Please refer the section 20.3 [Multi-Process Limitations] in DPDK Programmers Guide. The use of function pointers between multiple processes running based of different compiled binaries is not supported, since the location of a given function in one process may be different to its loc

[dpdk-dev] using hash table in a MP environment

2014-06-10 Thread Uri Sidler
Hi, I am currently using a hash table in a multi-process environment. the master process creates the hash table which is later used by other secondary processes. but the secondary processes fail to use the hash table since the hash function address actually points to a different fucntion. (this mak

[dpdk-dev] using hash table in a MP environment

2014-06-10 Thread Neil Horman
On Tue, Jun 10, 2014 at 11:02:03AM +0300, Uri Sidler wrote: > Hi, > I am currently using a hash table in a multi-process environment. > the master process creates the hash table which is later used by other > secondary processes. > but the secondary processes fail to use the hash table since the ha