Re: [dpdk-dev] [PATCH] hash: fix possible uninitialized variable

2018-12-24 Thread Dumitrescu, Cristian
> -Original Message- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Sunday, December 23, 2018 7:44 AM > To: Haiyang Tan > Cc: Dumitrescu, Cristian ; dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] hash: fix possible uninitialized variable >

Re: [dpdk-dev] [PATCH] hash: fix possible uninitialized variable

2018-12-22 Thread Stephen Hemminger
On Sat, 22 Dec 2018 04:10:59 -0800 Haiyang Tan wrote: > The uninitialized field 'extra_flag' of hash_cuckoo_params may enable > certain feature silently. Typically, if bit0 of 'extra_flag' set, the > hardware transactional memory support will be enabled unexpectedly. > > Signed-off-by: Haiyang T

[dpdk-dev] [PATCH] hash: fix possible uninitialized variable

2018-12-22 Thread Haiyang Tan
The uninitialized field 'extra_flag' of hash_cuckoo_params may enable certain feature silently. Typically, if bit0 of 'extra_flag' set, the hardware transactional memory support will be enabled unexpectedly. Signed-off-by: Haiyang Tan --- lib/librte_table/rte_table_hash_cuckoo.c | 15 +++