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 647A8A2EEB for ; Sat, 14 Sep 2019 11:17:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 242FE1EF5E; Sat, 14 Sep 2019 11:17:18 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by dpdk.org (Postfix) with ESMTP id 0F83B2AA0; Sat, 14 Sep 2019 11:17:14 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A492521236; Sat, 14 Sep 2019 05:17:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Sat, 14 Sep 2019 05:17:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=quGNvU5BP52G6+xBUKXkPpm FZK4bItmTM0fSIWheswQ=; b=Ni4DO7xtOEPWar9YS7td1gZnem1HxmRyPCMsFjz wGG0ufm9DTQTzKws+e8U326Ybg0E7ScI377+lyvBenfONcVdWrd0ke6UlXslk4d2 CNsbdkT+kw1Won3TQzc1yTBERYoYdBFST8REGTbATYFMltUM1TSJ5L8zdkxUZuDy n/0k= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=quGNvU5BP52G6+xBU KXkPpmFZK4bItmTM0fSIWheswQ=; b=XmZk2dVdxsuFmcHqxO/ihpBj+dIkjjE/m Tstt9vBf3/b0VB5fkJMjEeSUtsdjUka+3JRDQDYA26E61u7XWvECI13HyhV3hJuZ pdWJnYmzbdV296kfhqKUNQjwie+CZgFyex3HLKQrDrTChdrwntkjmK9WK3k8vIAv Z7v1t/3Txubn/wuWxJR43irqrifwrdFv9+XiAMu5nDqDGzIk9j0/hRlOh+TwdwyV Jg87hrsEOV8jxpRqdhyha3Uege/Y/couQ/Y1u+DkbYBGAyhaNL51yG4niT3BPMO2 u/9uIDGcoxIhJ1Ggy+UaZtqxHLDQxSFZPPPCxJGqN8fOzp63D91kw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrtdelgddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhn jhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfedrudekgeenucfrrghrrg hmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvthenucevlhhu shhtvghrufhiiigvpedt X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id CC1B880065; Sat, 14 Sep 2019 05:17:12 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: stable@dpdk.org Date: Sat, 14 Sep 2019 11:16:58 +0200 Message-Id: <20190914091658.10685-1-thomas@monjalon.net> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH] devtools: test nfb and AF_XDP build with make X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" The nfb PMD is disabled by default because of its dependency on netcope-common package. The variable DPDK_DEP_NFB was introduced but not used to notify the dependency availability in the build test script. The AF_XDP PMD is disabled by default because of its dependency on libbpf on Linux. An option was missing to notify the dependency availability in the build test script. Fixes: 6435f9a0ac22 ("net/nfb: add new netcope driver") Fixes: f1debd77efaf ("net/af_xdp: introduce AF_XDP PMD") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon --- devtools/test-build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/devtools/test-build.sh b/devtools/test-build.sh index 3c029ce31..2bedbdb98 100755 --- a/devtools/test-build.sh +++ b/devtools/test-build.sh @@ -8,18 +8,19 @@ default_path=$PATH # - ARMV8_CRYPTO_LIB_PATH # - DPDK_BUILD_TEST_CONFIGS (defconfig1+option1+option2 defconfig2) # - DPDK_DEP_ARCHIVE +# - DPDK_DEP_BPF (y/[n]) # - DPDK_DEP_CFLAGS # - DPDK_DEP_ELF (y/[n]) # - DPDK_DEP_ISAL (y/[n]) # - DPDK_DEP_JSON (y/[n]) # - DPDK_DEP_LDFLAGS # - DPDK_DEP_MLX (y/[n]) +# - DPDK_DEP_NFB (y/[n]) # - DPDK_DEP_NUMA ([y]/n) # - DPDK_DEP_PCAP (y/[n]) # - DPDK_DEP_SSL (y/[n]) # - DPDK_DEP_IPSEC_MB (y/[n]) # - DPDK_DEP_SZE (y/[n]) -# - DPDK_DEP_NFB (y/[n]) # - DPDK_DEP_ZLIB (y/[n]) # - DPDK_MAKE_JOBS (int) # - DPDK_NOTIFY (notify-send) @@ -101,12 +102,14 @@ reset_env () export PATH=$default_path unset CROSS unset DPDK_DEP_ARCHIVE + unset DPDK_DEP_BPF unset DPDK_DEP_CFLAGS unset DPDK_DEP_ELF unset DPDK_DEP_ISAL unset DPDK_DEP_JSON unset DPDK_DEP_LDFLAGS unset DPDK_DEP_MLX + unset DPDK_DEP_NFB unset DPDK_DEP_NUMA unset DPDK_DEP_PCAP unset DPDK_DEP_SSL @@ -154,10 +157,14 @@ config () # sed -ri="" 's,(BYPASS=)n,\1y,' $1/.config test "$DPDK_DEP_ARCHIVE" != y || \ sed -ri="" 's,(RESOURCE_TAR=)n,\1y,' $1/.config + test "$DPDK_DEP_BPF" != y || \ + sed -ri="" 's,(PMD_AF_XDP=)n,\1y,' $1/.config test "$DPDK_DEP_ISAL" != y || \ sed -ri="" 's,(PMD_ISAL=)n,\1y,' $1/.config test "$DPDK_DEP_MLX" != y || \ sed -ri="" 's,(MLX._PMD=)n,\1y,' $1/.config + test "$DPDK_DEP_NFB" != y || \ + sed -ri="" 's,(NFB_PMD=)n,\1y,' $1/.config test "$DPDK_DEP_SZE" != y || \ sed -ri="" 's,(PMD_SZEDATA2=)n,\1y,' $1/.config test "$DPDK_DEP_ZLIB" != y || \ -- 2.23.0