diff options
author | Rahul Rameshbabu <rrameshbabu@nvidia.com> | 2024-04-04 00:28:45 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-04-06 08:27:57 +0300 |
commit | 2e0e148c727061009d3db5f436f51890bbb49a80 (patch) | |
tree | 9ff615fff948f4dceac6b75ed8c80e744cdaba45 /tools/testing/selftests/net/lib/py/utils.py | |
parent | ff8877b04ef282b2bdb16c9dccc2e42216a34f62 (diff) | |
download | linux-2e0e148c727061009d3db5f436f51890bbb49a80.tar.xz |
tools: ynl: ethtool.py: Output timestamping statistics from tsinfo-get operation
Print the nested stats attribute containing timestamping statistics when
the --show-time-stamping flag is used.
[root@binary-eater-vm-01 linux-ethtool-ts]# ./tools/net/ynl/ethtool.py --show-time-stamping mlx5_1
Time stamping parameters for mlx5_1:
Capabilities:
hardware-transmit
hardware-receive
hardware-raw-clock
PTP Hardware Clock: 0
Hardware Transmit Timestamp Modes:
off
on
Hardware Receive Filter Modes:
none
all
Statistics:
tx-pkts: 8
tx-lost: 0
tx-err: 0
Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Link: https://lore.kernel.org/r/20240403212931.128541-8-rrameshbabu@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions