Re: [dpdk-dev] [PATCH V2] librte_hash: new hash del abi to return stored value

2018-05-24 Thread Honnappa Nagarahalli
@dpdk.org Subject: Re: [dpdk-dev] [PATCH V2] librte_hash: new hash del abi to return stored value Hi Yipeng, Sure, It will be great help if you can include these changes in the patches you are proposing with the necessary locks. Thanks, Vijay -Original Message- From: Wang, Yipeng1 Sent

Re: [dpdk-dev] [PATCH V2] librte_hash: new hash del abi to return stored value

2018-05-24 Thread Guvva, Vijaya
Cc: dev@dpdk.org Subject: RE: [dpdk-dev] [PATCH V2] librte_hash: new hash del abi to return stored value Hi, Vijaya, Thanks for contributing the new API. We actually have a patch to support read-write concurrency for rte_hash coming in a couple of weeks. The new del function you proposed

Re: [dpdk-dev] [PATCH V2] librte_hash: new hash del abi to return stored value

2018-05-24 Thread Wang, Yipeng1
k.org >Subject: Re: [dpdk-dev] [PATCH V2] librte_hash: new hash del abi to return >stored value > >Hi Vijaya, > >> -Original Message- >> From: Vijaya Mohan Guvva [mailto:vgu...@caviumnetworks.com] >> Sent: Thursday, May 17, 2018 2:27 AM >> To: Richards

Re: [dpdk-dev] [PATCH V2] librte_hash: new hash del abi to return stored value

2018-05-17 Thread De Lara Guarch, Pablo
Hi Vijaya, > -Original Message- > From: Vijaya Mohan Guvva [mailto:vgu...@caviumnetworks.com] > Sent: Thursday, May 17, 2018 2:27 AM > To: Richardson, Bruce ; De Lara Guarch, Pablo > > Cc: dev@dpdk.org; Vijaya Mohan Guvva > Subject: [PATCH V2] librte_hash: new hash del abi to return stor

[dpdk-dev] [PATCH V2] librte_hash: new hash del abi to return stored value

2018-05-16 Thread Vijaya Mohan Guvva
V2: Adding another new interface rte_hash_del_key_data to delete key from hash table and return stored data. V1: Add a new key delete interface rte_hash_del_key_with_hash_data to delete the key from hash and return the value stored. This is useful for hash users to free the data stored in the tabl