> Fedora 34 only provides compressed firmwares. > > Introduce an internal driver helper to handle transparently compression. > > I chose libarchive for decompressing as it seems widely available and > DPDK had used it in the past. > > Windows support only matters for net/ice and firmware loading was skipped > in this driver before this series. Since I don't know if/how we want to > load firmwares on Windows, I let an empty stub for this OS. > > This series has been compile tested on Linux (I'll trust the CI for > others OSes). > I only tested basic init with a net/ice device (no DCF test). > > So please drivers maintainers, check nothing is broken.
Hi David, We (Marvell QED) already provide packed version of FW in linux-firmware: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/qed But thats a custom name, and zlib. I'm just wondering if its a good solution to try transparently load .xz variant? User may not expect that. M.b. through this api, give a driver an option to specify archive format? Or even autodetect it from content? Regards, Igor