Re: [PATCH] lib/hash: new feature adding existing key

2023-09-29 Thread David Marchand
On Mon, Mar 13, 2023 at 8:36 AM Abdullah Ömer Yamaç wrote: > > In some use cases inserting data with the same key shouldn't be > overwritten. We use a new flag in this patch to disable overwriting > data for the same key. > > Signed-off-by: Abdullah Ömer Yamaç If this patch is still relevant, pl

Re: [PATCH] lib/hash: new feature adding existing key

2023-03-13 Thread Stephen Hemminger
On Mon, 13 Mar 2023 07:35:48 + Abdullah Ömer Yamaç wrote: > diff --git a/lib/hash/rte_cuckoo_hash.h b/lib/hash/rte_cuckoo_hash.h > index eb2644f74b..e8b7283ec2 100644 > --- a/lib/hash/rte_cuckoo_hash.h > +++ b/lib/hash/rte_cuckoo_hash.h > @@ -193,6 +193,8 @@ struct rte_hash { > /**< If

[PATCH] lib/hash: new feature adding existing key

2023-03-13 Thread Abdullah Ömer Yamaç
In some use cases inserting data with the same key shouldn't be overwritten. We use a new flag in this patch to disable overwriting data for the same key. Signed-off-by: Abdullah Ömer Yamaç --- Cc: Yipeng Wang --- lib/hash/rte_cuckoo_hash.c | 10 +- lib/hash/rte_cuckoo_hash.h | 2 ++

[PATCH] lib/hash: new feature adding existing key

2023-03-13 Thread Abdullah Ömer Yamaç
In some use cases inserting data with the same key shouldn't be overwritten. We use a new flag in this patch to disable overwriting data for the same key. Signed-off-by: Abdullah Ömer Yamaç --- Cc: Yipeng Wang --- lib/hash/rte_cuckoo_hash.c | 10 +- lib/hash/rte_cuckoo_hash.h | 2 ++