diff options
author | Vadim Pasternak <vadimp@mellanox.com> | 2019-10-06 08:34:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-06 18:31:39 +0200 |
commit | 6935af8073a02ffd11a7e495dc318c0a51e18012 (patch) | |
tree | e130e8911218f211732a35b3d73d5446b43e74c4 /net/rds/ib.c | |
parent | mlxsw: core: Push minor/subminor fw version check into helper (diff) | |
download | linux-6935af8073a02ffd11a7e495dc318c0a51e18012.tar.xz linux-6935af8073a02ffd11a7e495dc318c0a51e18012.zip |
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 <vadimp@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/ib.c')
0 files changed, 0 insertions, 0 deletions