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 08DD7A0542; Wed, 5 Oct 2022 11:51:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDE58427F5; Wed, 5 Oct 2022 11:50:49 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 796C640E2D for ; Wed, 5 Oct 2022 11:50:47 +0200 (CEST) Received: by shelob.oktetlabs.ru (Postfix, from userid 115) id 36D1E87; Wed, 5 Oct 2022 12:50:47 +0300 (MSK) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mail1.oktetlabs.ru X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_DISCARD, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from aros.oktetlabs.ru (aros.oktetlabs.ru [192.168.38.17]) by shelob.oktetlabs.ru (Postfix) with ESMTP id 41F1B69; Wed, 5 Oct 2022 12:50:45 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru 41F1B69 Authentication-Results: shelob.oktetlabs.ru/41F1B69; dkim=none; dkim-atps=neutral From: Andrew Rybchenko To: Ciara Loftus , Qi Zhang Cc: dev@dpdk.org Subject: [PATCH v3 2/6] net/af_xdp: make it clear which libxdp version is required Date: Wed, 5 Oct 2022 12:50:33 +0300 Message-Id: <20221005095037.997006-4-andrew.rybchenko@oktetlabs.ru> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221005095037.997006-1-andrew.rybchenko@oktetlabs.ru> References: <20220624102354.1516606-1-ciara.loftus@intel.com> <20221005095037.997006-1-andrew.rybchenko@oktetlabs.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Include checked libxdp version in driver build skip reason. Signed-off-by: Andrew Rybchenko --- drivers/net/af_xdp/meson.build | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/net/af_xdp/meson.build b/drivers/net/af_xdp/meson.build index 882d0b9518..fa011c357d 100644 --- a/drivers/net/af_xdp/meson.build +++ b/drivers/net/af_xdp/meson.build @@ -9,7 +9,8 @@ endif sources = files('rte_eth_af_xdp.c') -xdp_dep = dependency('libxdp', version : '>=1.2.2', required: false, method: 'pkg-config') +libxdp_ver = '>=1.2.2' +xdp_dep = dependency('libxdp', version : libxdp_ver, required: false, method: 'pkg-config') bpf_dep = dependency('libbpf', required: false, method: 'pkg-config') if not bpf_dep.found() bpf_dep = cc.find_library('bpf', required: false) @@ -45,11 +46,11 @@ if cc.has_header('linux/if_xdp.h') endif else build = false - reason = 'missing dependency, "libxdp" or "libbpf <= v0.6.0"' + reason = 'missing dependency, "libxdp ' + libxdp_ver + '" or "libbpf <= v0.6.0"' endif else build = false - reason = 'missing dependency, "libxdp" and "libbpf"' + reason = 'missing dependency, "libxdp ' + libxdp_ver + '" and "libbpf"' endif else build = false -- 2.30.2