diff options
author | Oz Shlomo <[email protected]> | 2023-02-12 15:25:20 +0200 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2023-02-14 11:00:01 +0100 |
commit | 2b68d659a704abaa61fb3255776b5483bdc4eb35 (patch) | |
tree | 96f4a2990f970246a9c1cc515fcfa8a0d09f2a72 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | d13674b1d14c68339173db5dd39c4ab0949234e7 (diff) |
net/mlx5e: TC, support per action stats
Extend the action stats callback implementation to update stats for actions
that are associated with hw counters.
Note that the callback may be called from tc action utility or from tc
flower. Both apis expect the driver to return the stats difference from
the last update. As such, query the raw counter value and maintain
the diff from the last api call in the tc layer, instead of the fs_core
layer.
Signed-off-by: Oz Shlomo <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions