Re: [dpdk-dev] [PATCH v2 3/6] lib/lpm: integrate RCU QSBR

2019-09-18 Thread Ruifeng Wang (Arm Technology China)
Hi Vladimir, Thanks for your review and the comments. All the comments will be addressed in next version. /Ruifeng > -Original Message- > From: Medvedkin, Vladimir > Sent: Thursday, September 19, 2019 00:16 > To: Ruifeng Wang (Arm Technology China) ; > bruce.richard...@intel.com; olivi

Re: [dpdk-dev] [PATCH v2 3/6] lib/lpm: integrate RCU QSBR

2019-09-18 Thread Medvedkin, Vladimir
Hi Ruifeng, Thanks for this patchseries, see comments below. On 06/09/2019 10:45, Ruifeng Wang wrote: Currently, the tbl8 group is freed even though the readers might be using the tbl8 group entries. The freed tbl8 group can be reallocated quickly. This results in incorrect lookup results. RCU

Re: [dpdk-dev] [PATCH v2 3/6] lib/lpm: integrate RCU QSBR

2019-09-06 Thread Honnappa Nagarahalli
Adding Paul for feedback > -Original Message- > From: Ruifeng Wang > Sent: Friday, September 6, 2019 4:46 AM > To: bruce.richard...@intel.com; vladimir.medved...@intel.com; > olivier.m...@6wind.com > Cc: dev@dpdk.org; step...@networkplumber.org; > konstantin.anan...@intel.com; Gavin Hu (A

[dpdk-dev] [PATCH v2 3/6] lib/lpm: integrate RCU QSBR

2019-09-06 Thread Ruifeng Wang
Currently, the tbl8 group is freed even though the readers might be using the tbl8 group entries. The freed tbl8 group can be reallocated quickly. This results in incorrect lookup results. RCU QSBR process is integrated for safe tbl8 group reclaim. Refer to RCU documentation to understand various