From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 46668A0530; Wed, 12 Feb 2020 11:01:20 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 153752629; Wed, 12 Feb 2020 11:01:20 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 88DE81F28 for ; Wed, 12 Feb 2020 11:01:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581501678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XMR59wEzcDsANNACVQCk7pNSCHdZb4+foYfSgaZiTaI=; b=NAh/vrF7KWrQQT692s6fkA+fbkVhV1Z4PiMx0yMDsqDhw3OIeofC66N3CeFYuU7i2Y/wbH YJ/gNTwWZRVPHkdCxM8ywIT621mNttuRgRLh3ulv3sSvaK/lyXkDlB4fK2IUxALR60Loy0 ElijT0HSZtS3wKDUoDbQULrr7jFB6hQ= Received: from mail-vk1-f200.google.com (mail-vk1-f200.google.com [209.85.221.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-181-ggznmEshPMytkwM85I9_xw-1; Wed, 12 Feb 2020 05:01:10 -0500 Received: by mail-vk1-f200.google.com with SMTP id a20so439853vkm.22 for ; Wed, 12 Feb 2020 02:01:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gPzT7a0EEAWQFqLv2eR8WA+1T7o/uFIzn72PkXBKW4A=; b=SyBk9j4TFjk9bELxPJNntrrabuSwbP9kqyS7oEDYWdRjdVL5hD6c+BBpxqrTLJSm6n rsThxgUJkYmCsW27GjqYpJGFmGw2offcpLlmcC9aL4+LBE4Y67LOn8V3dLXWS/N3tD6h N2n24CnslvYUCe3dsc/cTzUIk+jiSX+tEE+eThuFezChljNr+1gL3CDWxulUGknoUsia 3OYCzJ3NuaXiu7aXc9VJ2m/PV5Y6oOrrZv+ulPef5PUsChuQe1GGdpDgsxU0A4Y73UvK zxqSbagaTDRqx0ztsIzQJbfZgJ7Ck0O7tYVNLw/LHRnC9slC1/J69dM9H5N+XL7mizls Knuw== X-Gm-Message-State: APjAAAVw7ImWJXIiD2yCyQINDa7wyfSJabp3ysgLyT0tlHd64cUwIIYF YIvYT4/RS2JjDm3nGo9uh4HNY7QZX7dqu4d8PX2lFA//FQh+A54DiVfHN1FNRPmdQcvK+0r2ysL nRbflFnlHjmo6XinKH1s= X-Received: by 2002:a1f:72c3:: with SMTP id n186mr7034525vkc.12.1581501669799; Wed, 12 Feb 2020 02:01:09 -0800 (PST) X-Google-Smtp-Source: APXvYqxJr1xmVpJSVvDw3Zc2t6L8CikA6Ba6x7KQjlTFYqzyt5H+IEqOGyI3EUDdtBzzjlviD/PQwupDRCO8IDnbRfM= X-Received: by 2002:a1f:72c3:: with SMTP id n186mr7034509vkc.12.1581501669502; Wed, 12 Feb 2020 02:01:09 -0800 (PST) MIME-Version: 1.0 References: <20200211235724.2970097-1-thomas@monjalon.net> <20200211235724.2970097-3-thomas@monjalon.net> In-Reply-To: <20200211235724.2970097-3-thomas@monjalon.net> From: David Marchand Date: Wed, 12 Feb 2020 11:00:58 +0100 Message-ID: To: Thomas Monjalon Cc: dev , Jerin Jacob , Viacheslav Ovsiienko , Maxime Coquelin , Matan Azrad , Gavin Hu , Pavan Nikhilesh , Konstantin Ananyev , Phil Yang X-MC-Unique: ggznmEshPMytkwM85I9_xw-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH 2/2] devtools: enable more config options in build test X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" On Wed, Feb 12, 2020 at 12:57 AM Thomas Monjalon wrot= e: > > The Linux kernel modules kni and igb_uio were disabled by default > so they need a new option (+kmods) for testing compilation. > > Some recent features were not enabled in compilation testing: > - mlx5 vDPA (depends on libibverbs) > - ifpga (depends on libfdt) > - ipn3ke (depends on libfdt) > - Arm WFE > > Check on libfdt availability is added, and not considered as a fix. > > Fixes: 91a861e54164 ("config: disable Linux kernel modules by default") > Fixes: 95276abaaf0a ("vdpa/mlx5: introduce Mellanox vDPA driver") > Fixes: 1be7855d7739 ("eal: add wait until equal API") > > Signed-off-by: Thomas Monjalon > --- > devtools/test-build.sh | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/devtools/test-build.sh b/devtools/test-build.sh > index 330133e692..e6e40588c6 100755 > --- a/devtools/test-build.sh > +++ b/devtools/test-build.sh > @@ -14,6 +14,7 @@ default_path=3D$PATH > # - DPDK_DEP_BPF (y/[n]) > # - DPDK_DEP_CFLAGS > # - DPDK_DEP_ELF (y/[n]) > +# - DPDK_DEP_FDT (y/[n]) > # - DPDK_DEP_ISAL (y/[n]) > # - DPDK_DEP_JSON (y/[n]) > # - DPDK_DEP_LDFLAGS > @@ -108,6 +109,7 @@ reset_env () > unset DPDK_DEP_BPF > unset DPDK_DEP_CFLAGS > unset DPDK_DEP_ELF > + unset DPDK_DEP_FDT > unset DPDK_DEP_ISAL > unset DPDK_DEP_JSON > unset DPDK_DEP_LDFLAGS > @@ -140,6 +142,8 @@ config () # > # Built-in options (lowercase) > ! echo $3 | grep -q '+default' || \ > sed -ri=3D"" 's,(RTE_MACHINE=3D")native,\1default,' $1/.c= onfig > + ! echo $3 | grep -q '+kmods' || \ > + sed -ri=3D"" 's,(IGB_UIO=3D|KNI_KMOD=3D)n,\1y,' $1/.confi= g > echo $3 | grep -q '+next' || \ > sed -ri=3D"" 's,(NEXT_ABI=3D)y,\1n,' $1/.config > ! echo $3 | grep -q '+shared' || \ > @@ -151,6 +155,8 @@ config () # > sed -ri=3D"" 's,(TEST_PMD_RECORD_.*=3D)n,\1y,' $1/.config= ) > > # Automatic configuration > + ! echo $2 | grep -q 'arm64' || \ > + sed -ri=3D"" 's,(ARM_USE_WFE=3D)n,\1y,' $1/.config > test "$DPDK_DEP_NUMA" !=3D n || \ > sed -ri=3D"" 's,(NUMA.*=3D)y,\1n,' $1/.config > sed -ri=3D"" 's,(LIBRTE_IEEE1588=3D)n,\1y,' $1/.config > @@ -159,10 +165,14 @@ config () # > sed -ri=3D"" 's,(RESOURCE_TAR=3D)n,\1y,' $1/.config > test "$DPDK_DEP_BPF" !=3D y || \ > sed -ri=3D"" 's,(PMD_AF_XDP=3D)n,\1y,' $1/.config > + test "$DPDK_DEP_FDT" !=3D y || \ > + sed -ri=3D"" 's,(PMD_IFPGA_RAWDEV=3D)n,\1y,' $1/.config > + test "$DPDK_DEP_FDT" !=3D y || \ > + sed -ri=3D"" 's,(IPN3KE_PMD=3D)n,\1y,' $1/.config > test "$DPDK_DEP_ISAL" !=3D y || \ > sed -ri=3D"" 's,(PMD_ISAL=3D)n,\1y,' $1/.config > test "$DPDK_DEP_MLX" !=3D y || \ > - sed -ri=3D"" 's,(MLX._PMD=3D)n,\1y,' $1/.config > + sed -ri=3D"" 's,(MLX.*_PMD=3D)n,\1y,' $1/.config > test "$DPDK_DEP_NFB" !=3D y || \ > sed -ri=3D"" 's,(NFB_PMD=3D)n,\1y,' $1/.config > test "$DPDK_DEP_SZE" !=3D y || \ > -- > 2.25.0 > Acked-by: David Marchand --=20 David Marchand