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 0899CA04E6; Fri, 30 Oct 2020 18:45:11 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A445D2E8B; Fri, 30 Oct 2020 18:44:55 +0100 (CET) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by dpdk.org (Postfix) with ESMTP id A1C732BD3 for ; Fri, 30 Oct 2020 18:44:50 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailnew.nyi.internal (Postfix) with ESMTP id 4FD01580844; Fri, 30 Oct 2020 13:44:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Fri, 30 Oct 2020 13:44:49 -0400 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; s=fm2; bh=G13Alg8crF9pU n5EeXzX58GxbnYD/rTRoYepF3qyh5g=; b=NFFQaZLIfd5f6Eu32uIoFJMGCMzRX uA/LAeCIWLDVdardN+gEX2cYUDb2SkOXYVlxIGp0LnH7Za9zDcCtJRR4A7h4vYhX jo4muVYAr6nxdLsqgOqqwLWuqJrGbo3erw8hvJjF6XOUv1Kt1/kt3lRevFwIUQDY yIf7Zuqo6dj3LS1LQNaajXpW5H1ANhrg5LC3/R8QLtAYjF/+CQzbmEEZjK/+MfgY +a5dRnb0GExZbzbrYeMFYRnoCd1KPsmxysKaS8JQk35/dzPKEgcWJOXJNnGDODsy NFdAdKZi542jufx1F8JoM8yEO6f8GgD1rtF+7Wjz2/JXhdWCPZZsnbgiA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=G13Alg8crF9pUn5EeXzX58GxbnYD/rTRoYepF3qyh5g=; b=e0HH3dvJ deyy+iqc9EtwxLDv0ifKjZWIf0C08eYkrgYvjE9NF5G22Zie5Lyic5r0b9LwxDEo cFLtsxCuQJ/fhSXNk0Y5R6H4Xk0pwZUBvx/v211L0kpwfWpSGd/rpwa3h2+yGOKQ Nnrk2/jceLcDqXeraB+ewDCs4pnN9YDdpfpWir8YO3hoi34ZeUjaCrMyzsK/fv2f deAqNBbBaDqlKNrB80Pd64kWa9RaYUzP95APdh763tv0nnkqCub0oZnfA/HHq7q3 iOuYsxnj5gyh9ww/v6mFRkCj08hZPxM/wWfF14h/tjrTOmUneR3d9pGVs3Osz70j bc44V+p1UnllXA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleehgdellecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepvfhhohhmrghs ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf frrghtthgvrhhnpedvhefgiedvjeegtdevheefhfetleefgfeivefgffevfeejgedtgfeu tdehtdegveenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhho nhdrnhgvth 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 DB1F03064610; Fri, 30 Oct 2020 13:44:47 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: ferruh.yigit@intel.com, david.marchand@redhat.com, bruce.richardson@intel.com, olivier.matz@6wind.com, andrew.rybchenko@oktetlabs.ru, akhil.goyal@nxp.com, jerinj@marvell.com, Nicolas Chautru , Chas Williams , "Min Hu (Connor)" Date: Fri, 30 Oct 2020 18:44:27 +0100 Message-Id: <20201030174441.1076264-2-thomas@monjalon.net> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201030174441.1076264-1-thomas@monjalon.net> References: <20201026052105.1561859-1-thomas@monjalon.net> <20201030174441.1076264-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v6 01/15] examples: enclose DPDK includes with angle brackets 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" In examples, DPDK header files are external, so they must be enclosed with angle brackets, not quotes. Signed-off-by: Thomas Monjalon Acked-by: Andrew Rybchenko Acked-by: Bruce Richardson --- examples/bbdev_app/main.c | 30 +++++++++++++++--------------- examples/bond/main.c | 11 ++++------- 2 files changed, 19 insertions(+), 22 deletions(-) diff --git a/examples/bbdev_app/main.c b/examples/bbdev_app/main.c index 43fe631760..e512c807cd 100644 --- a/examples/bbdev_app/main.c +++ b/examples/bbdev_app/main.c @@ -18,21 +18,21 @@ #include #include -#include "rte_atomic.h" -#include "rte_common.h" -#include "rte_eal.h" -#include "rte_cycles.h" -#include "rte_ether.h" -#include "rte_ethdev.h" -#include "rte_ip.h" -#include "rte_lcore.h" -#include "rte_malloc.h" -#include "rte_mbuf.h" -#include "rte_memory.h" -#include "rte_mempool.h" -#include "rte_log.h" -#include "rte_bbdev.h" -#include "rte_bbdev_op.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include /* LLR values - negative value for '1' bit */ #define LLR_1_BIT 0x81 diff --git a/examples/bond/main.c b/examples/bond/main.c index 398553b785..81a6fa976b 100644 --- a/examples/bond/main.c +++ b/examples/bond/main.c @@ -41,6 +41,10 @@ #include #include #include +#include +#include +#include +#include #include #include @@ -53,13 +57,6 @@ #include "main.h" -#include - - -#include "rte_byteorder.h" -#include "rte_cpuflags.h" -#include "rte_eth_bond.h" - #define RTE_LOGTYPE_DCB RTE_LOGTYPE_USER1 #define NB_MBUF (1024*8) -- 2.28.0