From: David S. Miller Date: Mon, 8 Apr 2019 23:28:01 +0000 (-0700) Subject: Merge branch 'mlxsw-Add-support-for-devlink-info-command' X-Git-Tag: v5.2-rc1~133^2~210 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=13ee7d49733b4579566f72c29b336a33cf3233c7;p=users%2Fjedix%2Flinux-maple.git 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 --- 13ee7d49733b4579566f72c29b336a33cf3233c7