40edb9c0d3
Introduce an internal firmware loading helper to remove code duplication in our drivers and handle xz compressed firmware by calling libarchive. This helper tries to look for .xz suffixes so that drivers are not aware the firmware has been compressed. libarchive is set as an optional dependency: without libarchive, a runtime warning is emitted so that users know there is a compressed firmware. Windows implementation is left as an empty stub. Signed-off-by: David Marchand <david.marchand@redhat.com> Reviewed-by: Igor Russkikh <irusskikh@marvell.com> Acked-by: Aaron Conole <aconole@redhat.com> Tested-by: Haiyue Wang <haiyue.wang@intel.com> |
||
---|---|---|
.. | ||
base | ||
meson.build | ||
qede_debug.c | ||
qede_debug.h | ||
qede_ethdev.c | ||
qede_ethdev.h | ||
qede_filter.c | ||
qede_if.h | ||
qede_logs.h | ||
qede_main.c | ||
qede_regs.c | ||
qede_rxtx.c | ||
qede_rxtx.h | ||
qede_sriov.c | ||
qede_sriov.h | ||
version.map |