[dpdk-dev] [PATCH v3 3/3] lpm: remove redundant check when adding lpm rule

2016-08-03 Thread Wei Dai
When a rule with depth > 24 is added into an existing rule with depth <=24, a new tbl8 is allocated, the existing rule first fulfill whole new tbl8, so the filed valid of each entry in this tbl8 is always true and depth of each entry is always <= 24 before adding the new rule with depth > 24. Sign

[dpdk-dev] [PATCH v3 3/3] lpm: remove redundant check when adding lpm rule

2016-08-03 Thread Dai, Wei
This patch is same as patch 15094 which has been acked by Bruce Richardson. Only minor typo is corrected according to Bruce's feedback. > -Original Message- > From: Dai, Wei > Sent: Wednesday, August 3, 2016 3:04 PM > To: dev at dpdk.org > Cc: Dai, Wei > Subject: [PATCH v3 3/3] lpm: remov

[dpdk-dev] [PATCH v3 3/3] lpm: remove redundant check when adding lpm rule

2016-08-03 Thread Dai, Wei
This patch is same as patch 15064 which has been acked by Bruce Richardson. Resending it as 2/3 of a series of patches for same rte_lpm.c . > -Original Message- > From: Dai, Wei > Sent: Wednesday, August 3, 2016 3:04 PM > To: dev at dpdk.org > Cc: Dai, Wei > Subject: [PATCH v3 3/3] lpm: r