Re: [PATCH v2] hash: separate param checks in hash create func

2024-10-10 Thread Stephen Hemminger
On Thu, 10 Oct 2024 16:46:02 + Niall Meade wrote: > diff --git a/lib/hash/rte_cuckoo_hash.c b/lib/hash/rte_cuckoo_hash.c > index 577b5839d3..2569f7d977 100644 > --- a/lib/hash/rte_cuckoo_hash.c > +++ b/lib/hash/rte_cuckoo_hash.c > @@ -190,11 +190,17 @@ rte_hash_create(const struct rte_hash_pa

[PATCH v2] hash: separate param checks in hash create func

2024-10-10 Thread Niall Meade
Separated name, entries and key_len parameter checks in rte_hash_create(). Also made the error messages more informative/verbose to help with debugging. Also added myself to the mailing list. Signed-off-by: Niall Meade --- v2: * change hash log messages to be one line I had name set to NULL in