diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-12-20 03:31:16 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-23 21:12:20 +0300 |
commit | f288c7a1ba268a9ed58a7971142a98a1e41a3c73 (patch) | |
tree | 34ad53fb7fc79e8a54708e781912e1d6dbbcae5f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 85101bda1387e85eabf77cd416bfc38e14f1bce6 (diff) | |
download | linux-f288c7a1ba268a9ed58a7971142a98a1e41a3c73.tar.xz |
selftests: drv-net: assume stats refresh is 0 if no ethtool -c support
Tests using HW stats wait for them to stabilize, using data from
ethtool -c as the delay. Not all drivers implement ethtool -c
so handle the errors gracefully.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20241220003116.1458863-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions