From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C2706A0524; Wed, 2 Jun 2021 13:31:03 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F4844069F; Wed, 2 Jun 2021 13:31:03 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 1825A40689 for ; Wed, 2 Jun 2021 13:31:01 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 152BQ8U9005739; Wed, 2 Jun 2021 04:30:58 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pfpt0220; bh=jg1xbLSAAhB8Yuh5Vmh5KXyWpxoIbF+Br1pris2suM4=; b=MWU3AgxMWlVcMmb0DHjIQr1ZgGAPVdCigalvTURRySi3w6lpavqqdh7l56W/uHFscX// 8vDkcR6tzaEkxNmF5ZDW/IulNf9tIBRWvh9OENiBsAOcU0zBUsGQ3b6wKxTV0tSvFm3m zToDqgLHLeFShco7QltGYoMzlig6GzKbQCixnvul4jph17QtW6fJUC7h4xeEgX5zVGRd ORXQDPZKkCVLBpE7e0xyxq52ct2c3rDev0khgr3NAKl7mpFskUufYKpxGWRj8rnUhA4B U0NKA0MFCztwQmx4dxfdyoM+0crMtKsT3/JLdU+luR7qf4x9GP4fats9qONSTrMXj31e Aw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 38wug72pe6-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 02 Jun 2021 04:30:58 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 2 Jun 2021 04:30:57 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 2 Jun 2021 04:30:57 -0700 Received: from [10.193.32.53] (unknown [10.193.32.53]) by maili.marvell.com (Postfix) with ESMTP id 6B67A3F703F; Wed, 2 Jun 2021 04:30:53 -0700 (PDT) Message-ID: Date: Wed, 2 Jun 2021 13:30:52 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Thunderbird/89.0 Content-Language: en-US To: David Marchand , CC: Aaron Conole , Michael Santana , Bruce Richardson , Rasesh Mody , Qiming Yang , "Qi Zhang" , Heinrich Kuhn , Devendra Singh Rawat , Ray Kinsella , Neil Horman , Dmitry Kozlyuk , Narcisa Ana Maria Vasile , Dmitry Malloy , Pallavi Kadam References: <20210602095836.24901-1-david.marchand@redhat.com> <20210602095836.24901-3-david.marchand@redhat.com> From: Igor Russkikh In-Reply-To: <20210602095836.24901-3-david.marchand@redhat.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Proofpoint-ORIG-GUID: Wn39LUdqtx1pPOn5gsnMvzyzFb08f9pi X-Proofpoint-GUID: Wn39LUdqtx1pPOn5gsnMvzyzFb08f9pi X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-06-02_06:2021-06-02, 2021-06-02 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH 2/2] eal: handle compressed firmwares X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > Introduce an internal firmware loading helper to remove code duplication > in our drivers and handle xz compressed firmwares by calling libarchive. > > This helper tries to look for .xz suffixes so that drivers are not aware > the firmwares have 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 for QEDE, Reviewed-by: Igor Russkikh Devendra, please give it a try when possible. Regards, Igor