[dpdk-dev] [PATCH] lib/lpm:fix two issues in the delete_depth_small()

2015-10-29 Thread Bruce Richardson
On Thu, Oct 29, 2015 at 10:41:45AM +0800, nana.nn wrote: > Hi Bruce: > Should I send the test unit as a DPDK patch, or just the program for > you to demonstrate the bugs? > > > Thank you very much! > > > Regards > > Na Na > A patch to add a unit test for the bug w

[dpdk-dev] [PATCH] lib/lpm:fix two issues in the delete_depth_small()

2015-10-28 Thread Nikita Kozlov
On 10/28/2015 03:40 PM, Bruce Richardson wrote: > On Wed, Oct 28, 2015 at 11:44:15AM +0800, Jijiang Liu wrote: >> Fix two issues in the delete_depth_small() function. >> >> 1> The control is not strict in this function. >> >> In the following structure, >> struct rte_lpm_tbl24_entry { >>

[dpdk-dev] [PATCH] lib/lpm:fix two issues in the delete_depth_small()

2015-10-28 Thread Bruce Richardson
On Wed, Oct 28, 2015 at 05:55:59PM +0100, Nikita Kozlov wrote: > On 10/28/2015 03:40 PM, Bruce Richardson wrote: > > On Wed, Oct 28, 2015 at 11:44:15AM +0800, Jijiang Liu wrote: > >> Fix two issues in the delete_depth_small() function. > >> > >> 1> The control is not strict in this function. > >>

[dpdk-dev] [PATCH] lib/lpm:fix two issues in the delete_depth_small()

2015-10-28 Thread Bruce Richardson
On Wed, Oct 28, 2015 at 11:44:15AM +0800, Jijiang Liu wrote: > Fix two issues in the delete_depth_small() function. > > 1> The control is not strict in this function. > > In the following structure, > struct rte_lpm_tbl24_entry { > union { > uint8_t next_hop; >

[dpdk-dev] [PATCH] lib/lpm:fix two issues in the delete_depth_small()

2015-10-28 Thread Jijiang Liu
Fix two issues in the delete_depth_small() function. 1> The control is not strict in this function. In the following structure, struct rte_lpm_tbl24_entry { union { uint8_t next_hop; uint8_t tbl8_gindex; }; uint8_t ext_entry :1; } When ext_ent