Re: [Patch net-next] net_sched: use idr to allocate u32 filter handles

2017-09-29 Thread Simon Horman
On Thu, Sep 28, 2017 at 03:19:05PM -0700, Cong Wang wrote: > On Thu, Sep 28, 2017 at 12:34 AM, Simon Horman > wrote: > > Hi Cong, > > > > this looks like a nice enhancement to me. Did you measure any performance > > benefit from it. Perhaps it could be described in

Re: [Patch net-next] net_sched: use idr to allocate u32 filter handles

2017-09-28 Thread Cong Wang
On Thu, Sep 28, 2017 at 12:34 AM, Simon Horman wrote: > Hi Cong, > > this looks like a nice enhancement to me. Did you measure any performance > benefit from it. Perhaps it could be described in the changelog_ I also > have a more detailed question below. No, I am

Re: [Patch net-next] net_sched: use idr to allocate u32 filter handles

2017-09-28 Thread Simon Horman
On Thu, Sep 21, 2017 at 04:43:02PM -0700, Cong Wang wrote: > Cc: Chris Mi > Cc: Jamal Hadi Salim > Signed-off-by: Cong Wang Hi Cong, this looks like a nice enhancement to me. Did you measure any performance benefit from it.

[Patch net-next] net_sched: use idr to allocate u32 filter handles

2017-09-21 Thread Cong Wang
Cc: Chris Mi Cc: Jamal Hadi Salim Signed-off-by: Cong Wang --- net/sched/cls_u32.c | 108 1 file changed, 67 insertions(+), 41 deletions(-) diff --git a/net/sched/cls_u32.c