mbox series

[v2,0/2] Support compressed firmwares

Message ID 20210603165512.7357-1-david.marchand@redhat.com (mailing list archive)
Headers
Series Support compressed firmwares |

Message

David Marchand June 3, 2021, 4:55 p.m. UTC
  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.
  

Comments

David Marchand June 14, 2021, 1:17 p.m. UTC | #1
On Thu, Jun 3, 2021 at 6:55 PM David Marchand <david.marchand@redhat.com> wrote:
>
> 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.

- Trying with direct mails to maintainers of drivers impacted by this.


- I also want opinions on backporting this change to stable releases.

F34 just got released and will live until 2022-05-17.
F34 got released with 20.11 dpdk.
Afaiu, F35 and maybe F36 will also use dpdk 20.11 (since the dpdk
package is aligned on the version used by the ovs package on Fedora).
Fedora will need this in downstream 20.11 for net/bnx2x, net/ice,
net/nfp and net/qede drivers to work with firmwares in /lib/firmware.


Not sure about Debian/Ubuntu.

Christian, Luca, Timothy?


Thanks!