[dpdk-dev] [PATCH] hash: added rte_hash_clear that clears all keys

2015-03-06 Thread Tomas Vestelind
Hi Bruce! Oh yea, this patch is quite old :) I'm currently not working actively with DPDK. If no one else wants to do it, I could do the update and add a unit test /Tomas On 2015-03-06 12:10, Bruce Richardson wrote: > On Tue, Aug 12, 2014 at 11:47:57PM +0200, Tomas Vestelind wrote: &g

[dpdk-dev] [PATCH] hash: added rte_hash_keys to extract all keys

2014-09-02 Thread Tomas Vestelind
Hello! If there's already an iterator then I guess this patch is superfluous. I tried searching for it among the e-mails but I can find it, can someone point me to it? If you still think this has some values I will take the given feedback and make corrections. Best regards, Tomas Vestelin

[dpdk-dev] [PATCH] hash: added rte_hash_clear that clears all keys

2014-08-12 Thread Tomas Vestelind
I added rte_hash_clear which clear the map from all previously added keys. Signed-off-by: Tomas Vestelind --- lib/librte_hash/rte_hash.c | 14 ++ lib/librte_hash/rte_hash.h | 10 ++ 2 files changed, 24 insertions(+) diff --git a/lib/librte_hash/rte_hash.c b/lib

[dpdk-dev] [PATCH] hash: added rte_hash_keys to extract all keys

2014-08-12 Thread Tomas Vestelind
I added a function which extracts all the configured keys in a hash map. This is good to have when debugging and printing data store in hash maps. Signed-off-by: Tomas Vestelind --- lib/librte_hash/rte_hash.c | 26 ++ lib/librte_hash/rte_hash.h | 15

[dpdk-dev] Question regarding concurrency and hash table

2014-05-12 Thread Tomas Vestelind
nice ones :) BR, Tomas Vestelind

[dpdk-dev] Calling rte_eal_init multiple times in the same process

2014-04-17 Thread Tomas Vestelind
Dear all, I'm not sure who to address with this email so I'll just present my problem and my suggested solution. The problem I'm facing is that I need to do rte_eal_init serveral times in the same process. The reason for this is mostly architectural as we want to divide certain functionality i