[dpdk-dev] [PATCH v2 1/2] lib/lpm:fix an issue of condition check in delete_depth_small()

2015-10-30 Thread Jijiang Liu
Fixes an issue of check logic in delete_depth_small function. For a tbl24 entry, the 'ext_entry' field indicates whether we need to use tbl8_gindex to read the next_hop from a tbl8 entry, or whether it can be read directly from this entry. If a route is deleted, the prefix of previous route is

[dpdk-dev] [PATCH v2 1/2] lib/lpm:fix an issue of condition check in delete_depth_small()

2015-10-30 Thread Bruce Richardson
On Fri, Oct 30, 2015 at 09:14:38PM +0800, Jijiang Liu wrote: > Fixes an issue of check logic in delete_depth_small function. > > For a tbl24 entry, the 'ext_entry' field indicates whether we need to use > tbl8_gindex to read the next_hop from a tbl8 entry, or whether it can be read > directly