summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-04-28 22:50:37 +0300
committerDavid S. Miller <davem@davemloft.net>2020-04-28 22:50:37 +0300
commit3e455b7d1a9b415b8b6e85f42ada9f53807ddd1f (patch)
tree9f791a9e39ab43b59b51c52751d87db8179e515b /tools/perf/scripts/python/export-to-postgresql.py
parent2ac757e4152e3322a04a6dfb3d1fa010d3521abf (diff)
parent4dddb5be136a7b151c11f0fbe350feff75a89867 (diff)
downloadlinux-3e455b7d1a9b415b8b6e85f42ada9f53807ddd1f.tar.xz
Merge branch 'nexthop-API-sysctl'
Roopa Prabhu says: ==================== New sysctl to turn off nexthop API compat mode Currently route nexthop API maintains user space compatibility with old route API by default. Dumps and netlink notifications support both new and old API format. In systems which have moved to the new API, this compatibility mode cancels some of the performance benefits provided by the new nexthop API. This patch adds new sysctl nexthop_compat_mode which is on by default but provides the ability to turn off compatibility mode allowing systems to run entirely with the new routing API if they wish to. Old route API behaviour and support is not modified by this sysctl v4: - Use davids note for Documenting the sysctl - test with latest iproute2 and adjust 'pref' v3: - Document new sysctl - move sysctl to use proc_dointvec_minmax with 0 and 1 values - selftest: remove pref medium in ipv6 test v2: - Incorporate David Aherns pointers on covering dumps and nexthop deletes. Also use one ipv4 sysctl to cover both ipv4 and ipv6 (I see it is done that way for many others) - Added a selftest to cover dump and notfications for nexthop api compat mode ==================== 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