[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: add a lot of routes:

[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-23 Thread Mcnamara, John
> -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of mablexidana > Sent: Friday, October 23, 2015 8:48 AM > To: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH] fix lpm bugs > > hi: > This is test on dpdk version 2.1 Hi, Thanks for tha

[dpdk-dev] [PATCH] fix lpm bugs

2015-10-22 Thread mablexidana
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: add a lot of routes: rule id : 1, ip : 16.32.0.0/19, next_hop : 62, rule id : 2, ip : 16.32.28.0/22, next_hop : 97, rule id :

[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 --- a/lib/librte_lpm/rte_lpm

[dpdk-dev] [PATCH] fix lpm bugs

2015-10-21 Thread Bruce Richardson
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 to fix it. thanks > :) Hi, thanks for the patch. Could you perhaps provide a description of how to reproduce the bug (or bugs you are fixing), so that we can reproduc