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 6249AA0C41; Wed, 17 Nov 2021 09:58:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DCAD4113D; Wed, 17 Nov 2021 09:58:53 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id DE5864068C; Wed, 17 Nov 2021 09:58:51 +0100 (CET) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 8B7745C01B4; Wed, 17 Nov 2021 03:58:51 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Wed, 17 Nov 2021 03:58:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= s116UXBEIDm5jMp/uDxNXFUso/umYUiK+d/Dcc/fGzE=; b=lpkaRwMP6bf/O6hN IjNxavsyZNwDezr/fjp8AWJFuhEjRB3v7soy8S/wz9qEp8p2mzQBpkgxQIyRA8mQ TTy4Y1bICCUeA27G/N3V/2BuX89WkhZunlbRQcYpDQqatZYYJcyrdBr2X5VxoT1x BPOBhCWkuLtq/7EZcVQ+ftdmL3pxZuzuEZY8WDNFJX0CQZ+KAFZxxJ8l0ntBajRm 4OL9pXtZS364QnQZgmBbsPf7QyRAzuMMPbrmBxF/V7OvAF7mVLv0YYjlc29ikGJa piCQMiHZcEKyMm8XcwuJzwdNOuKWCOj0NBMffXVWrHF24AMdxKCvn+GtOZq9S00z Qk7Lkw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=s116UXBEIDm5jMp/uDxNXFUso/umYUiK+d/Dcc/fG zE=; b=mP353ixWW33QreGSYQrlC81/XgwETKTdhdBGojYrrHCAmlvnm3kQIhoif nloN4fZe8lTaLJ5UxBGBexx9CxI3FTjQZCvQhd4kQmbV6fUpU+5Rg2yw7Dao7Bt1 fbCBdVHPrz/xSkzYzjdWmmtxFO0tx9s/U1f2xqqdS/+wjSnbZj+34g7GdfqDY/xm U4y9YnEPNayybt2rqve78Nl4gu0Rt7SWHbOXxwfapEJbYF/w46SA39tUnHwjJL4b ZN1CVRxB6u8SP9jP5AyTTxUJig3GLrXuAjxiMqz6RntgwtY2xhM1RqRdWkJDom3F 2fv5zFJN1r9KlH+gXYQiwXZDYaEJA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrfeefgdduvdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepudeggfdvfeduffdtfeeglefghfeukefgfffhueejtdetuedtjeeu ieeivdffgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 17 Nov 2021 03:58:50 -0500 (EST) From: Thomas Monjalon To: David Marchand Cc: dev@dpdk.org, stable@dpdk.org, Jingjing Wu , Junfeng Guo , Xiaoyun Li Subject: Re: [PATCH] examples/ntb: fix build dependency Date: Wed, 17 Nov 2021 09:58:49 +0100 Message-ID: <2278970.gvdgb1CQyA@thomas> In-Reply-To: <20211116205135.15846-1-david.marchand@redhat.com> References: <20211116205135.15846-1-david.marchand@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 16/11/2021 21:51, David Marchand: > Caught while building with -Ddisable_drivers=*/*. > This example requires raw/ntb specific API. > Fix dependency to avoid a compilation error: > > FAILED: examples/c590b3c@@dpdk-ntb@exe/ntb_ntb_fwd.c.o > ccache gcc -Iexamples/c590b3c@@dpdk-ntb@exe -Iexamples -I../examples > -Iexamples/ntb -I../examples/ntb -I. -I../ -Iconfig -I../config > -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include > -I../lib/eal/linux/include -Ilib/eal/x86/include > -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common > -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs > -Ilib/telemetry/../metrics -I../lib/telemetry/../metrics > -Ilib/telemetry -I../lib/telemetry -Ilib/mempool -I../lib/mempool > -Ilib/ring -I../lib/ring -Ilib/net -I../lib/net -Ilib/mbuf > -I../lib/mbuf -Ilib/ethdev -I../lib/ethdev -Ilib/meter > -I../lib/meter -Ilib/cmdline -I../lib/cmdline -Ilib/rawdev > -I../lib/rawdev -fdiagnostics-color=always -pipe -Wall > -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra > -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral > -Wformat-security -Wmissing-declarations -Wmissing-prototypes > -Wnested-externs -Wold-style-definition -Wpointer-arith > -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings > -Wno-missing-field-initializers -D_GNU_SOURCE -march=corei7 > -Wno-format-truncation -D_FILE_OFFSET_BITS=64 > -DALLOW_EXPERIMENTAL_API -MD > -MQ 'examples/c590b3c@@dpdk-ntb@exe/ntb_ntb_fwd.c.o' > -MF 'examples/c590b3c@@dpdk-ntb@exe/ntb_ntb_fwd.c.o.d' > -o 'examples/c590b3c@@dpdk-ntb@exe/ntb_ntb_fwd.c.o' > -c ../examples/ntb/ntb_fwd.c > ../examples/ntb/ntb_fwd.c:21:10: fatal error: rte_pmd_ntb.h: > No such file or directory > #include > ^~~~~~~~~~~~~~~ > compilation terminated. > > Fixes: 5194299d6ef5 ("examples/ntb: support more functions") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand Applied, thanks.