diff options
author | Petr Machata <petrm@nvidia.com> | 2024-03-08 15:59:49 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-12 00:14:08 +0300 |
commit | 6fb88aaf272a6aa58fd90a308cb0ef34f78aace4 (patch) | |
tree | 796198faf813b92ee38d7f6442d388b44d1c66ae /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 8acb480e43c81bc72b528677084428cf2dc7a12c (diff) | |
download | linux-6fb88aaf272a6aa58fd90a308cb0ef34f78aace4.tar.xz |
mlxsw: spectrum: Allow fetch-and-clear of flow counters
For the report_delta-like interface like a previous patch has added for
collection of NH group statistics, it's easiest to read the counter and
have the HW clear it right away. Thus, change mlxsw_sp_flow_counter_get()
to take a bool indicating whether this should be done.
Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/6a096ede8ee92d5041e3832242c3bbc137198aba.1709901020.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions