diff options
author | Petr Machata | 2024-03-08 13:59:49 +0100 |
---|---|---|
committer | Jakub Kicinski | 2024-03-11 14:14:08 -0700 |
commit | 6fb88aaf272a6aa58fd90a308cb0ef34f78aace4 (patch) | |
tree | 796198faf813b92ee38d7f6442d388b44d1c66ae /io_uring | |
parent | 8acb480e43c81bc72b528677084428cf2dc7a12c (diff) |
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 'io_uring')
0 files changed, 0 insertions, 0 deletions