Message ID | 20210603165512.7357-1-david.marchand@redhat.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 40D4DA0A0C; Thu, 3 Jun 2021 18:55:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9E44640E78; Thu, 3 Jun 2021 18:55:33 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 9494140DF6 for <dev@dpdk.org>; Thu, 3 Jun 2021 18:55:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1622739331; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Edj8C5zSwm6pNhLd19KAUkrMbDaMlm0DWwnU6r34WxE=; b=RR4zsKZXwH0vLJl+6Sv1Xs5stAvN/TpNH3AEF0R5DGACmi8nF5dLK5PFZrl0cHFNFqLtWg L4a17wT7UXSXw3AEN8O+/BqQrksbxF+DARguOwxtS+uBW29KOJTRB9Rs5aXHekXBKHS1UN Li+bm7DlM7DpsTRSRs/rC4+Bnzd3qZA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-38-yvkoMdNiMISe-z_HwGMH7A-1; Thu, 03 Jun 2021 12:55:29 -0400 X-MC-Unique: yvkoMdNiMISe-z_HwGMH7A-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id AEFED800D62 for <dev@dpdk.org>; Thu, 3 Jun 2021 16:55:28 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.193.172]) by smtp.corp.redhat.com (Postfix) with ESMTP id DAEF15D9F2 for <dev@dpdk.org>; Thu, 3 Jun 2021 16:55:27 +0000 (UTC) From: David Marchand <david.marchand@redhat.com> To: dev@dpdk.org Date: Thu, 3 Jun 2021 18:55:10 +0200 Message-Id: <20210603165512.7357-1-david.marchand@redhat.com> In-Reply-To: <20210602095836.24901-1-david.marchand@redhat.com> References: <20210602095836.24901-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Subject: [dpdk-dev] [PATCH v2 0/2] Support compressed firmwares X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
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
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!