summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2020-02-23 10:31:36 +0300
committerDavid S. Miller <davem@davemloft.net>2020-02-24 03:06:58 +0300
commit3cbc37e6e96b1bbc174dd691a0aa79978ef4b1b6 (patch)
treea90dea8e198a52cc6ee5416985767c92ff6317c7 /tools/perf/scripts/python/export-to-postgresql.py
parent1255ea6ba2d143cd598b90dd60b3e1fcce8c0337 (diff)
downloadlinux-3cbc37e6e96b1bbc174dd691a0aa79978ef4b1b6.tar.xz
mlxsw: spectrum_trap: Move policer initialization to mlxsw_sp_trap_init()
No need to initialize a single policer multiple times for each group. So move the initialization to be done from mlxsw_sp_trap_init(), making the function much simpler. Also, rename it so it is with sync with spectrum.c policers initialization. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> 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