Re: [dpdk-dev] [PATCH 2/3] lib/hash: load pData after full key compare

2019-07-08 Thread Wang, Yipeng1
>-Original Message- >From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] >Sent: Thursday, July 4, 2019 10:33 PM >To: Wang, Yipeng1 ; Gobriel, Sameh >; Richardson, Bruce >; De Lara Guarch, Pablo > >Cc: Gavin Hu (Arm Technology China) ; Ruifeng Wang (Arm >Technology China) ; >

Re: [dpdk-dev] [PATCH 2/3] lib/hash: load pData after full key compare

2019-07-04 Thread Honnappa Nagarahalli
> >Subject: RE: [PATCH 2/3] lib/hash: load pData after full key compare > > > >Thank you Yipeng for your comments. > > > >> > > >> >When a hash entry is added, there are 2 sets of stores. > >> > > >> >1) The application writes its data to memory (whose address is > >> >provided in rte_hash_add_key_

Re: [dpdk-dev] [PATCH 2/3] lib/hash: load pData after full key compare

2019-07-03 Thread Wang, Yipeng1
>-Original Message- >From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] >Sent: Monday, July 1, 2019 9:35 PM >To: Wang, Yipeng1 ; Gobriel, Sameh >; Richardson, Bruce >; De Lara Guarch, Pablo > >Cc: Gavin Hu (Arm Technology China) ; Ruifeng Wang (Arm >Technology China) ; >dev

Re: [dpdk-dev] [PATCH 2/3] lib/hash: load pData after full key compare

2019-07-01 Thread Honnappa Nagarahalli
Thank you Yipeng for your comments. > > > >When a hash entry is added, there are 2 sets of stores. > > > >1) The application writes its data to memory (whose address is provided > >in rte_hash_add_key_with_hash_data API (or NULL)) > >2) The rte_hash library writes to its own internal data structur

Re: [dpdk-dev] [PATCH 2/3] lib/hash: load pData after full key compare

2019-06-28 Thread Wang, Yipeng1
>-Original Message- >From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] >Sent: Tuesday, June 25, 2019 2:15 PM >To: Wang, Yipeng1 ; Gobriel, Sameh >; Richardson, Bruce >; De Lara Guarch, Pablo >; honnappa.nagaraha...@arm.com >Cc: gavin...@arm.com; ruifeng.w...@arm.com; dev@dp

[dpdk-dev] [PATCH 2/3] lib/hash: load pData after full key compare

2019-06-25 Thread Honnappa Nagarahalli
When a hash entry is added, there are 2 sets of stores. 1) The application writes its data to memory (whose address is provided in rte_hash_add_key_with_hash_data API (or NULL)) 2) The rte_hash library writes to its own internal data structures; key store entry and the hash table. The only orderi