summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-04-12 20:03:07 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-04-16 13:14:41 +0300
commit042db639bf33aee118846a87223acebe6700137d (patch)
tree3f44806f56e487dc79e320a92fe571ac1b4aa8ba /tools/perf/scripts/python/export-to-postgresql.py
parent492976136bb9fac0ebda28a163561eea8c2896d5 (diff)
downloadlinux-042db639bf33aee118846a87223acebe6700137d.tar.xz
selftests: drivers: hw: Fix ethtool_rmon
When rx-pktsNtoM reports a range that involves very low-valued range, such as 0-64, the calculated length of the packet will be -4, because FCS is subtracted from the value. mausezahn then confuses the value for an option and bails out. As a result, the test dumps many mausezahn error messages. Instead, cap the value at 0. mausezahn will use an appropriate minimum packet length. Cc: Vladimir Oltean <vladimir.oltean@nxp.com> Cc: Tobias Waldekranz <tobias@waldekranz.com> Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions