Re: [dpdk-dev] [PATCH v3 2/4] hash: check flags on creation

2020-04-28 Thread Wang, Yipeng1
> -Original Message- > From: Stephen Hemminger > Sent: Monday, April 27, 2020 4:16 PM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Wang, Yipeng1 > ; Gobriel, Sameh ; > Richardson, Bruce > Subject: [PATCH v3 2/4] hash: check flags on creation > > All API's should check that they support t

[dpdk-dev] [PATCH v3 2/4] hash: check flags on creation

2020-04-27 Thread Stephen Hemminger
All API's should check that they support the flag values passed. If an application passes an invalid flag it could cause problems in later ABI. Signed-off-by: Stephen Hemminger --- lib/librte_hash/rte_cuckoo_hash.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/lib/librte_ha