From: David S. Miller Date: Mon, 25 Apr 2022 09:42:29 +0000 (+0100) Subject: Merge branch 'mlxsw-line-card-model' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5e927a9f4b9f29d78a7c7d66ea717bb5c8bbad8e;p=linux.git Merge branch 'mlxsw-line-card-model' Ido Schimmel says: ==================== mlxsw: extend line card model by devices and info Jiri says: This patchset is extending the line card model by three items: 1) line card devices 2) line card info 3) line card device info First three patches are introducing the necessary changes in devlink core. Then, all three extensions are implemented in mlxsw alongside with selftest. Examples: $ devlink lc show pci/0000:01:00.0 lc 8 pci/0000:01:00.0: lc 8 state active type 16x100G supported_types: 16x100G devices: device 0 device 1 device 2 device 3 $ devlink lc info pci/0000:01:00.0 lc 8 pci/0000:01:00.0: lc 8 versions: fixed: hw.revision 0 running: ini.version 4 devices: device 0 versions: running: fw 19.2010.1310 device 1 versions: running: fw 19.2010.1310 device 2 versions: running: fw 19.2010.1310 device 3 versions: running: fw 19.2010.1310 Note that device FW flashing is going to be implemented in the follow-up patchset. ==================== Signed-off-by: David S. Miller --- 5e927a9f4b9f29d78a7c7d66ea717bb5c8bbad8e