diff options
author | Vadim Pasternak <[email protected]> | 2019-10-06 09:34:52 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-10-06 18:31:39 +0200 |
commit | 6935af8073a02ffd11a7e495dc318c0a51e18012 (patch) | |
tree | e130e8911218f211732a35b3d73d5446b43e74c4 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 762effaad63edca1d927bd6c98f21b870ee3f2a5 (diff) |
mlxsw: minimal: Add validation for FW version
Add validation for FW version in order to prevent driver initialization
in case FW version is older than expected. FW version validation is
necessary, because use of a new field 'num_of_modules' in MGPIR register
is not backward compatible. FW 'minor' and 'subminor' versions are
expected to be greater than or equal to 2000 and 1886, respectively.
Signed-off-by: Vadim Pasternak <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions