mlxsw: Fix firmware flashing
The commit cited below moved firmware flashing functionality from
mlxsw_spectrum to mlxsw_core, but did not adjust the Kconfig
dependencies. This makes it possible to have mlxsw_core as built-in and
mlxfw as a module. The mlxfw code is therefore not reachable from
mlxsw_core and firmware flashing fails:
# devlink dev flash pci/0000:01:00.0 file mellanox/mlxsw_spectrum-13.2008.1310.mfa2
devlink answers: Operation not supported
Fix by having mlxsw_core select mlxfw.
Fixes: b79cb787ac
("mlxsw: Move fw flashing code into core.c")
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reported-by: Vadim Pasternak <vadimp@nvidia.com>
Tested-by: Vadim Pasternak <vadimp@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
1532b97784
commit
fb738b99ef
@ -6,6 +6,7 @@
|
||||
config MLXSW_CORE
|
||||
tristate "Mellanox Technologies Switch ASICs support"
|
||||
select NET_DEVLINK
|
||||
select MLXFW
|
||||
help
|
||||
This driver supports Mellanox Technologies Switch ASICs family.
|
||||
|
||||
@ -82,7 +83,6 @@ config MLXSW_SPECTRUM
|
||||
select GENERIC_ALLOCATOR
|
||||
select PARMAN
|
||||
select OBJAGG
|
||||
select MLXFW
|
||||
imply PTP_1588_CLOCK
|
||||
select NET_PTP_CLASSIFY if PTP_1588_CLOCK
|
||||
default m
|
||||
|
Loading…
Reference in New Issue
Block a user