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

2016-08-03 Thread Bruce Richardson
On Tue, Aug 02, 2016 at 11:36:41PM +0200, Thomas Monjalon wrote: > 2016-08-02 17:04, Bruce Richardson: > > 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, th

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

2016-08-02 Thread Thomas Monjalon
2016-08-02 17:04, Bruce Richardson: > 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 tha

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

2016-08-02 Thread Bruce Richardson
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

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

2016-08-02 Thread Wei Dai
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 each entry in this tbl8 is always true and depth of each entry is always < 24 before adding new rule with depth > 24. Signed-of