[dpdk-dev] [PATCH] fix lpm bugs

2015-10-23 Thread mablexidana
hi: This is test on dpdk version 2.1 Regards yuerxin t 2015-10-22 10:15:16, "mablexidana" wrote: hi: Fixes: 25e4f515fe63 ("fix lpm bugs") the random test of lpm , multiple delete and add ip address, it do not recover the last right ip address. eg1:

[dpdk-dev] [PATCH 2/2] add 3 lpm test cases

2015-10-23 Thread mablexidana
hi: branch:1.2.3 Fixes: feab3e84432b ("add 3 lpm test cases") test procedure: 1),add->lookup 2),add->delete->lookup 3),add->delete->add->lookup Regards yuerxin --- app/test/test_lpm.c | 456 +++- 1 file changed, 455 insertions(+), 1

[dpdk-dev] [PATCH 1/2] lpm: add strict if control etc. on version 1.2.3

2015-10-23 Thread mablexidana
hi: This is test on dpdk version 1.2.3. Fixes: 2a2174801fa4 ("fix lpm bugs add strict if control,do not let tbl24 process run into tbl8 process add valid_group = valid, incase ,the valid_group is write to invalid") add strict if control,do not let tbl24 process run into

[dpdk-dev] [PATCH] fix lpm bugs

2015-10-23 Thread mablexidana
hi: Fixes: 396284f345a1 ("add app/test/test_lpm.c test lpm, add 3 new cases 1),add->lookup 2),add->delete->lookup 3),add->delete->add->lookup") [PATCH] add app/test/test_lpm.c test lpm, add 3 new cases test procedure: 1),add->lookup 2),add->delete->lookup 3),add->delete->add->lookup This

[dpdk-dev] [PATCH] fix lpm bugs

2015-10-22 Thread mablexidana
, thanks.I will provide the testing program later . regards yuerxin At 2015-10-21 19:07:49, "Bruce Richardson" wrote: >On Wed, Oct 21, 2015 at 05:54:13PM +0800, mablexidana wrote: >> hi: >> We test some lpm cases and find some bugs, below is how

[dpdk-dev] [PATCH] fix lpm bugs

2015-10-21 Thread mablexidana
hi: We test some lpm cases and find some bugs, below is how to fix it. thanks :) --- lib/librte_lpm/rte_lpm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/librte_lpm/rte_lpm.c b/lib/librte_lpm/rte_lpm.c index 163ba3c..b5199ff 100644 ---