We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff8877b commit 2e0e148Copy full SHA for 2e0e148
tools/net/ynl/ethtool.py
@@ -324,7 +324,13 @@ def main():
324
return
325
326
if args.show_time_stamping:
327
- tsinfo = dumpit(ynl, args, 'tsinfo-get')
+ req = {
328
+ 'header': {
329
+ 'flags': 'stats',
330
+ },
331
+ }
332
+
333
+ tsinfo = dumpit(ynl, args, 'tsinfo-get', req)
334
335
print(f'Time stamping parameters for {args.device}:')
336
@@ -338,6 +344,9 @@ def main():
338
344
339
345
print('Hardware Receive Filter Modes:')
340
346
[print(f'\t{v}') for v in bits_to_dict(tsinfo['rx-filters'])]
347
348
+ print('Statistics:')
349
+ [print(f'\t{k}: {v}') for k, v in tsinfo['stats'].items()]
341
350
342
351
343
352
print(f'Settings for {args.device}:')
0 commit comments