diff options
| author | Yotam Gigi <[email protected]> | 2017-05-23 21:56:29 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-05-25 17:46:17 -0400 |
| commit | 6b7421992b8d6ab8da5d5f3afae17fb5515fd633 (patch) | |
| tree | 21e534caccff6347b07a62910258b00155414781 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | c41d007588c1b6dac9f6d08c92d7449a8c2bfef8 (diff) | |
mlxsw: spectrum: Validate firmware revision on init
Make the spectrum module check the current device firmware version, and if
it is below the supported version, use the libfirmware API to request a
firmware file with the supported firmware version and flash it to the
device using the mlxfw module.
The firmware file names are expected to be of Mellanox Firmware Archive
version 2 (MFA2) format and their name are expected to be in the following
pattern: "mlxsw_spectrum-<major>.<minor>.<sub-minor>.mfa2".
Signed-off-by: Yotam Gigi <[email protected]>
Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions