[dpdk-dev] [PATCH 1/2] lpm: fix tlb8 only not freed for depth=24

2016-08-02 Thread Bruce Richardson
On Mon, Aug 01, 2016 at 03:03:20PM +0800, Wei Dai wrote: > When all rules with depth > 24 are deleted in a same tlb8 group > and only leave a rule with depth <= 24 in this group, the tlb8 > group should be recycled. > The title needs a bit of rewording, I think e.g. lpm: fix freeing unused sub-t

[dpdk-dev] [PATCH 1/2] lpm: fix tlb8 only not freed for depth=24

2016-08-01 Thread Wei Dai
When all rules with depth > 24 are deleted in a same tlb8 group and only leave a rule with depth <= 24 in this group, the tlb8 group should be recycled. Fixes: af75078fece3 ("first public release") Signed-off-by: Wei Dai --- lib/librte_lpm/rte_lpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2