Merge branch 'mlxsw-Add-support-for-devlink-info-command'
Ido Schimmel says:
====================
mlxsw: Add support for devlink info command
Shalom says:
Expose the following ASIC information via devlink info command:
- Driver name
- Hardware revision
- Firmware PSID
- Running firmware version
Standard output example:
$ devlink dev info pci/0000:03:00.0
pci/0000:03:00.0:
versions:
fixed:
hw.revision A0
fw.psid MT_2750110033
running:
fw.version 13.1910.622
Pretty JSON example:
$ devlink -jp dev info pci/0000:03:00.0
{
"info": {
"pci/0000:03:00.0": {
"versions": {
"fixed": {
"hw.revision": "A0",
"fw.psid": "MT_2750110033"
},
"running": {
"fw.version": "13.1910.622"
}
}
}
}
}
v2:
- Add fw.psid documentation
- Add driver name
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Showing
Please register or sign in to comment