[dpdk-dev] share a table

张伟 zhangwqh at 126.com
Sun Mar 13 03:55:16 CET 2016


Hi all, 


Now I use the DPDK multiple process example : client -server. I want the server create a hash table, then share it to client.  Currently what I do is to create_hash_table function returns a pointer which points to the flow table (inside the create_hash_table function, I use rte_calloc function allocates the space for the flow table and entries). I use memzone stores the table address, then client maps the memzone can find the table address. But this method does not work. When I access the flow table, it will have a segment fault problem.  Does anybody know what will be a good way which can allow the server create a hash table share to the client? Any suggestion will be appreciated. 


More information about the dev mailing list