diff options
author | David S. Miller <davem@davemloft.net> | 2017-08-30 14:38:59 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-30 14:38:59 -0700 |
commit | f379fdf10b12e19080ee4e2ce27ed54d9e8806d8 (patch) | |
tree | ea72c10c42996dc7d070968d45d86880fde71fac /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c2f8a6cee632cdd2e70de0089f4480ddd7998748 (diff) | |
parent | 65a206c01e8e7ffe971477a36419422099216eff (diff) |
Merge branch 'net_sched-idr'
Chris Mi says:
====================
net/sched: Improve getting objects by indexes
Using current TC code, it is very slow to insert a lot of rules.
In order to improve the rules update rate in TC,
we introduced the following two changes:
1) changed cls_flower to use IDR to manage the filters.
2) changed all act_xxx modules to use IDR instead of
a small hash table
But IDR has a limitation that it uses int. TC handle uses u32.
To make sure there is no regression, we add several new IDR APIs
to support unsigned long.
v2
==
Addressed Hannes's comment:
express idr_alloc in terms of idr_alloc_ext and most of the other functions
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions