mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
410ed13cae
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>
25 lines
730 B
Plaintext
25 lines
730 B
Plaintext
#
|
|
# Mellanox driver configuration
|
|
#
|
|
|
|
config NET_VENDOR_MELLANOX
|
|
bool "Mellanox devices"
|
|
default y
|
|
depends on PCI
|
|
---help---
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about Mellanox cards. If you say Y, you will be asked
|
|
for your specific card in the following questions.
|
|
|
|
if NET_VENDOR_MELLANOX
|
|
|
|
source "drivers/net/ethernet/mellanox/mlx4/Kconfig"
|
|
source "drivers/net/ethernet/mellanox/mlx5/core/Kconfig"
|
|
source "drivers/net/ethernet/mellanox/mlxsw/Kconfig"
|
|
source "drivers/net/ethernet/mellanox/mlxfw/Kconfig"
|
|
|
|
endif # NET_VENDOR_MELLANOX
|