Re: [dpdk-dev] [PATCH 3/3] lib/hash: adjust tbl_chng_cnt position

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

Re: [dpdk-dev] [PATCH 3/3] lib/hash: adjust tbl_chng_cnt position

2019-07-02 Thread Honnappa Nagarahalli
> > > >tbl_chng_cnt is one of the first elements of the structure used in the > >lookup. Move it to the beginning of the cache line to gain performance. > > > >Fixes: e605a1d36 ("hash: add lock-free r/w concurrency") > >Cc: sta...@dpdk.org > > > >Signed-off-by: Honnappa Nagarahalli > >Reviewed-b

Re: [dpdk-dev] [PATCH 3/3] lib/hash: adjust tbl_chng_cnt position

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 3/3] lib/hash: adjust tbl_chng_cnt position

2019-06-25 Thread Honnappa Nagarahalli
tbl_chng_cnt is one of the first elements of the structure used in the lookup. Move it to the beginning of the cache line to gain performance. Fixes: e605a1d36 ("hash: add lock-free r/w concurrency") Cc: sta...@dpdk.org Signed-off-by: Honnappa Nagarahalli Reviewed-by: Gavin Hu Tested-by: Ruifen