summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJakub Kicinski <jakub.kicinski@netronome.com>2019-01-31 21:50:40 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-02 02:30:30 +0300
commitf9cf22882c606f3ffe06f620bb6d03b9eff18d3d (patch)
tree0e02436128b6a603f57e8bb26622921e21d64332 /Documentation
parent26281e2c83e5536dc7ceea7da774107ca45c4e67 (diff)
downloadlinux-f9cf22882c606f3ffe06f620bb6d03b9eff18d3d.tar.xz
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 <jakub.kicinski@netronome.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions