[dpdk-dev] [PATCH v2] lpm: remove redundant check when adding lpm rule

Bruce Richardson bruce.richardson at intel.com
Tue Aug 2 18:04:10 CEST 2016


On Tue, Aug 02, 2016 at 10:09:25AM +0800, Wei Dai wrote:
> When a rule with depth > 24 is added into an existing
> rule with depth <=24, a new tbl8 is allocated, the existing
> rule first fulfill whole new tbl8, so the filed vaild of

typo "valid"

> each entry in this tbl8 is always true and depth of each
> entry is always < 24 before adding new rule with depth > 24.
> 
> Signed-off-by: Wei Dai <wei.dai at intel.com>

Acked-by: Bruce Richardson <bruce.richardson at intel.com>

Having to make this change twice shows up the fact that we are still carrying
around some version changes for older releases. Given that we are now past the
16.07 release, the old code can probably be removed. Any volunteers to maybe
do up a patch for that.

	Regards,
	/Bruce



More information about the dev mailing list