[patch net-next 0/3] net/sched: Improve getting objects by indexes

2017-08-16 Thread Chris Mi
small hash table But IDR has a limitation that it uses int. TC handle uses u32. To make sure there is no regression, we also changed IDR to use unsigned long. All clients of IDR are changed to use new IDR API. Chris Mi (3): idr: Use unsigned long instead of int net/sched: Change cls_flower to use

[patch net-next 2/3] net/sched: Change cls_flower to use IDR

2017-08-16 Thread Chris Mi
bottleneck. Follow-up patch in this patchset addresses that. Signed-off-by: Chris Mi Signed-off-by: Jiri Pirko --- net/sched/cls_flower.c | 55 +- 1 file changed, 23 insertions(+), 32 deletions(-) diff --git a/net/sched/cls_flower.c b/net/sched