diff options
author | David S. Miller <davem@davemloft.net> | 2020-03-27 05:20:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-27 05:20:37 +0300 |
commit | adde556552dd514de99beba72c3b23d70a657e56 (patch) | |
tree | e434388502d6ea2d29238519e9a0b1c94ad297ba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 92b7e62e5630a370955a4760bbeb3967457034ec (diff) | |
parent | 2a0b1307cb4687bb930baed044900f91c6a2b8c1 (diff) | |
download | linux-adde556552dd514de99beba72c3b23d70a657e56.tar.xz |
Merge branch 'Implement-stats_update-callback-for-pedit-and-skbedit'
Petr Machata says:
====================
Implement stats_update callback for pedit and skbedit
The stats_update callback is used for adding HW counters to the SW ones.
Both skbedit and pedit actions are actually recognized by flow_offload.h,
but do not implement these callbacks. As a consequence, the reported values
are only the SW ones, even where there is a HW counter available.
Patch #1 adds the callback to action skbedit, patch #2 adds it to action
pedit. Patch #3 tweaks an skbedit selftest with a check that would have
caught this problem.
The pedit test is not likewise tweaked, because the iproute2 pedit action
currently does not support JSON dumping. This will be addressed later.
====================
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