linux-loongson/drivers/net/ethernet/mellanox/mlxfw
Maher Sanalla 70d81f25cc net/mlxfw: Drop hard coded max FW flash image size
Currently, mlxfw kernel module limits FW flash image size to be
10MB at most, preventing the ability to burn recent BlueField-3
FW that exceeds the said size limit.

Thus, drop the hard coded limit. Instead, rely on FW's
max_component_size threshold that is reported in MCQI register
as the size limit for FW image.

Fixes: 410ed13cae ("Add the mlxfw module for Mellanox firmware flash process")
Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Tested-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
Link: https://patch.msgid.link/1737030796-1441634-1-git-send-email-moshe@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-01-17 19:01:07 -08:00
..
Kconfig
Makefile
mlxfw_fsm.c net/mlxfw: Drop hard coded max FW flash image size 2025-01-17 19:01:07 -08:00
mlxfw_mfa2_file.h
mlxfw_mfa2_format.h mlxfw: Replace zero-length array with DECLARE_FLEX_ARRAY() helper 2023-05-17 21:24:47 -07:00
mlxfw_mfa2_tlv_multi.c mlxfw: fix null-ptr-deref in mlxfw_mfa2_tlv_next() 2023-04-18 13:26:44 +02:00
mlxfw_mfa2_tlv_multi.h
mlxfw_mfa2_tlv.h
mlxfw_mfa2.c
mlxfw_mfa2.h
mlxfw.h devlink: Reduce struct devlink exposure 2021-10-12 16:29:16 -07:00