[dpdk-dev] [PATCH v2 2/2] lib/lpm:fix an initialization issue of valid_group in the delete_depth_small()

2015-11-02 Thread Liu, Jijiang
> -Original Message- > From: Richardson, Bruce > Sent: Friday, October 30, 2015 10:22 PM > To: Liu, Jijiang > Cc: dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 2/2] lib/lpm:fix an initialization issue of > valid_group in the delete_depth_small() > > On Fri, Oct 30, 2015 at

[dpdk-dev] [PATCH v2 2/2] lib/lpm:fix an initialization issue of valid_group in the delete_depth_small()

2015-10-30 Thread Jijiang Liu
Fixes an initialization issue of 'valid_group' in the delete_depth_small function. In this function, use new rte_lpm_tbl8_entry we call A to replace the old rte_lpm_tbl8_entry. But the valid_group do not set VALID, so it will be INVALID. Then when adding a new route which depth is > 24,the

[dpdk-dev] [PATCH v2 2/2] lib/lpm:fix an initialization issue of valid_group in the delete_depth_small()

2015-10-30 Thread Thomas Monjalon
2015-10-30 14:24, Bruce Richardson: > On Fri, Oct 30, 2015 at 02:22:27PM +, Bruce Richardson wrote: > > On Fri, Oct 30, 2015 at 09:14:39PM +0800, Jijiang Liu wrote: > > > > Title can be shortened to: "lpm: fix initialization of valid_group field" > > > > > Fixes an initialization issue of

[dpdk-dev] [PATCH v2 2/2] lib/lpm:fix an initialization issue of valid_group in the delete_depth_small()

2015-10-30 Thread Richardson, Bruce
> -Original Message- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > > 2015-10-30 14:24, Bruce Richardson: > > On Fri, Oct 30, 2015 at 02:22:27PM +, Bruce Richardson wrote: > > > On Fri, Oct 30, 2015 at 09:14:39PM +0800, Jijiang Liu wrote: > > > > > > Title can be

[dpdk-dev] [PATCH v2 2/2] lib/lpm:fix an initialization issue of valid_group in the delete_depth_small()

2015-10-30 Thread Bruce Richardson
On Fri, Oct 30, 2015 at 02:22:27PM +, Bruce Richardson wrote: > On Fri, Oct 30, 2015 at 09:14:39PM +0800, Jijiang Liu wrote: > > Title can be shortened to: "lpm: fix initialization of valid_group field" > > > Fixes an initialization issue of 'valid_group' in the delete_depth_small > >

[dpdk-dev] [PATCH v2 2/2] lib/lpm:fix an initialization issue of valid_group in the delete_depth_small()

2015-10-30 Thread Bruce Richardson
On Fri, Oct 30, 2015 at 09:14:39PM +0800, Jijiang Liu wrote: Title can be shortened to: "lpm: fix initialization of valid_group field" > Fixes an initialization issue of 'valid_group' in the delete_depth_small > function. > > In this function, use new rte_lpm_tbl8_entry we call A to replace