summaryrefslogtreecommitdiffstats
path: root/net/rds/ib.c
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@mellanox.com>2019-10-06 08:34:52 +0200
committerDavid S. Miller <davem@davemloft.net>2019-10-06 18:31:39 +0200
commit6935af8073a02ffd11a7e495dc318c0a51e18012 (patch)
treee130e8911218f211732a35b3d73d5446b43e74c4 /net/rds/ib.c
parentmlxsw: core: Push minor/subminor fw version check into helper (diff)
downloadlinux-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