]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Only require minimum firmware version
authorIdo Schimmel <idosch@mellanox.com>
Thu, 9 Jan 2020 19:27:22 +0000 (21:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jan 2020 20:35:53 +0000 (12:35 -0800)
commit057935ea4c31e6b60219eaa22f831d31b52d59a4
tree1f806d38e77cb9398b15cbcf3d74f98f5acab999
parentbe258bbd1200d2ccc6eed2d4e609ab368b30481a
mlxsw: spectrum: Only require minimum firmware version

Currently, the driver ensures that the firmware version found on the
device matches the branch of the required version.

Remove this limitation so that the driver will accept the required
version or a newer version, from any branch.

This will allow us to reduce the frequency in which we need to update
the required version. New firmware versions that include necessary bug
fixes will be able to work with the driver, even if they are not from
the required branch.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c