aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2019-01-31 10:50:40 -0800
committerDavid S. Miller <[email protected]>2019-02-01 15:30:30 -0800
commitf9cf22882c606f3ffe06f620bb6d03b9eff18d3d (patch)
tree0e02436128b6a603f57e8bb26622921e21d64332 /tools/perf/scripts/python/Perf-Trace-Util/lib
parent26281e2c83e5536dc7ceea7da774107ca45c4e67 (diff)
devlink: add device information API
ethtool -i has served us well for a long time, but its showing its limitations more and more. The device information should also be reported per device not per-netdev. Lay foundation for a simple devlink-based way of reading device info. Add driver name and device serial number as initial pieces of information exposed via this new API. v3: - rename helpers (Jiri); - rename driver name attr (Jiri); - remove double spacing in commit message (Jiri). RFC v2: - wrap the skb into an opaque structure (Jiri); - allow the serial number of be any length (Jiri & Andrew); - add driver name (Jonathan). Signed-off-by: Jakub Kicinski <[email protected]> Acked-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions