[dpdk-dev] Purge all entries in a rte_hash
Padam J. Singh
padam.singh at inventum.net
Thu Jan 22 12:07:53 CET 2015
Hello,
Is there some way to purge all keys in an rte_hash while maintaining read concurrency?
I am assuming that I can’t do a free/create step while other threads may still be doing lookups on it.
What I can do is store the key as part of the value in the array of user data, iterate this array and call delete on the hash with the key. Would this be the most optimal way?
Thanks,
Padam
More information about the dev
mailing list