Add the mlxfw module for Mellanox firmware flash process
The mlxfw module is in charge of common logic needed to flash Mellanox devices firmware, which consists of: - Parse the Mellanox Firmware Archive version 2 (MFA2) format, which is the format used to store the Mellanox firmware. The MFA2 format file can hold firmware for many different silicon variants, differentiated by a unique ID called PSID. In addition, the MFA2 file data section is compressed using xz compression to save both file-system space and memory at extraction time. - Implement the firmware flash state machine logic, which is a common logic for Mellanox products needed to flash the firmware to the device. As the module is shared between different Mellanox products, it defines a set of callbacks to be implemented by the specific driver for hardware interaction. Signed-off-by:Yotam Gigi <yotamg@mellanox.com> Reviewed-by:
Ido Schimmel <idosch@mellanox.com> Signed-off-by:
Jiri Pirko <jiri@mellanox.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- MAINTAINERS 8 additions, 0 deletionsMAINTAINERS
- drivers/net/ethernet/mellanox/Kconfig 1 addition, 0 deletionsdrivers/net/ethernet/mellanox/Kconfig
- drivers/net/ethernet/mellanox/Makefile 1 addition, 0 deletionsdrivers/net/ethernet/mellanox/Makefile
- drivers/net/ethernet/mellanox/mlxfw/Kconfig 6 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/Kconfig
- drivers/net/ethernet/mellanox/mlxfw/Makefile 2 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/Makefile
- drivers/net/ethernet/mellanox/mlxfw/mlxfw.h 102 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/mlxfw.h
- drivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c 273 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/mlxfw_fsm.c
- drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 620 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c
- drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.h 66 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.h
- drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_file.h 60 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_file.h
- drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_format.h 103 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_format.h
- drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h 98 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv.h
- drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c 126 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.c
- drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h 71 additions, 0 deletionsdrivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_tlv_multi.h
Loading
Please register or sign in to comment