diff options
| author | Jiri Pirko <[email protected]> | 2020-02-23 08:31:36 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-02-23 16:06:58 -0800 |
| commit | 3cbc37e6e96b1bbc174dd691a0aa79978ef4b1b6 (patch) | |
| tree | a90dea8e198a52cc6ee5416985767c92ff6317c7 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 1255ea6ba2d143cd598b90dd60b3e1fcce8c0337 (diff) | |
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 <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions