From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 638B6A0679 for ; Tue, 2 Apr 2019 17:14:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 746692C36; Tue, 2 Apr 2019 17:14:04 +0200 (CEST) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 5FFE111A4 for ; Tue, 2 Apr 2019 17:14:02 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id F12A320B77; Tue, 2 Apr 2019 11:14:01 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 02 Apr 2019 11:14:01 -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=mesmtp; bh=0zJ9am2le3 c1+zbB/krcdqOkXVWZgWSDvX/SibZ3gBU=; b=Txcwe7NdidAG4qlRsJO8Kwhou4 FZIomU4gAdgncIlvrS1GQaaSv+LIswHphqg2r0LPHzxsf9bqDXpRS5nUurMVzZ3x Nvq4yQV9GQ+U0Er3BuiTqNOnp933WO8E1gaxtKGkVBDnGSrU9APGAAjCdfH/qdZC Q6anYzo/cWx4RGz00= 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= fm2; bh=0zJ9am2le3c1+zbB/krcdqOkXVWZgWSDvX/SibZ3gBU=; b=5T6hIy6U bTkfBjXKw1nDJlQiuNgHPxYtZ7ZkySZu6zWpK9q/AZ9FCP6/eMJWvKuzADfl0gMl 3RWZeT3iPZyEZeJZB6A1c/TgvDw1xl00qkYZ7VgMDIFN/ZJ24X3zmb7AJpZTo0um k2T0Of+GCFSff18mE947Wk3NXvHSYVSsp88EjgT6s+pEBhDjtoRwX6DGdAQ51rUD 9+AxnVd+tK4qCjYoVTy+gx+Uel5S91rJIQv+2vMC+Q6DG1sSXuQUqhjsjjqEMbfJ oEEL5P80jGapgeTck+bJpyjHUh6+97m/kitA/QZ3bdamT8wVsPYZexbBIKaE+jXB i19qQ1MaEmLyEw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrtddtgdeiieculddtuddrgedutddrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvuf ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghl ohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuffhomhgrihhnpehlih gsrdhmkhenucfkphepjeejrddufeegrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhl fhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuih iivgeptd 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 718AC1030F; Tue, 2 Apr 2019 11:14:00 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: bruce.richardson@intel.com, david.marchand@redhat.com, anand.rawat@intel.com Date: Tue, 2 Apr 2019 17:13:57 +0200 Message-Id: <20190402151357.13620-1-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190401230712.31864-1-thomas@monjalon.net> References: <20190401230712.31864-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2] eal: remove exec-env directory 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" Content-Type: text/plain; charset="UTF-8" Message-ID: <20190402151357.WHnMu2yCvC6CvuK5-r8DYpXlft0x-Zx_yMjOLeDPGyg@z> Only one header file (rte_kni_common.h) was in the sub-directory include/exec-env/ This file was installed in a sub-directory of the same name in the makefile-based build. Source and install directories are moved as below: lib/librte_eal/linux/eal/include/exec-env/ -> lib/librte_eal/linux/eal/include/ build/include/exec-env/ -> build/include/ The consequence is to have a file hierarchy a bit more flat. Signed-off-by: Thomas Monjalon --- v2 change: remove subdir install with meson on Linux --- devtools/check-includes.sh | 1 - kernel/linux/kni/kni_dev.h | 2 +- kernel/linux/kni/kni_fifo.h | 2 +- kernel/linux/kni/kni_misc.c | 2 +- kernel/linux/kni/kni_net.c | 2 +- lib/librte_eal/freebsd/eal/Makefile | 3 +-- lib/librte_eal/linux/eal/Makefile | 3 +-- .../linux/eal/include/{exec-env => }/rte_kni_common.h | 0 lib/librte_eal/linux/eal/meson.build | 1 - lib/librte_kni/rte_kni.c | 2 +- lib/librte_kni/rte_kni.h | 2 +- 11 files changed, 8 insertions(+), 12 deletions(-) rename lib/librte_eal/linux/eal/include/{exec-env => }/rte_kni_common.h (100%) diff --git a/devtools/check-includes.sh b/devtools/check-includes.sh index ba9d00ba3..3629ab4c7 100755 --- a/devtools/check-includes.sh +++ b/devtools/check-includes.sh @@ -80,7 +80,6 @@ include_dir=${1:-build/include} 'rte_byteorder_32.h' \ 'rte_byteorder_64.h' \ 'generic/*' \ - 'exec-env/*' \ 'rte_vhost.h' \ 'rte_eth_vhost.h' \ 'rte_eal_interrupts.h' \ diff --git a/kernel/linux/kni/kni_dev.h b/kernel/linux/kni/kni_dev.h index 688f574a4..df46aa70e 100644 --- a/kernel/linux/kni/kni_dev.h +++ b/kernel/linux/kni/kni_dev.h @@ -24,7 +24,7 @@ #include #include -#include +#include #define KNI_KTHREAD_RESCHEDULE_INTERVAL 5 /* us */ #define MBUF_BURST_SZ 32 diff --git a/kernel/linux/kni/kni_fifo.h b/kernel/linux/kni/kni_fifo.h index 3f4781c2e..5c91b5537 100644 --- a/kernel/linux/kni/kni_fifo.h +++ b/kernel/linux/kni/kni_fifo.h @@ -6,7 +6,7 @@ #ifndef _KNI_FIFO_H_ #define _KNI_FIFO_H_ -#include +#include /* Skip some memory barriers on Linux < 3.14 */ #ifndef smp_load_acquire diff --git a/kernel/linux/kni/kni_misc.c b/kernel/linux/kni/kni_misc.c index 04c78eb87..31845e10f 100644 --- a/kernel/linux/kni/kni_misc.c +++ b/kernel/linux/kni/kni_misc.c @@ -16,7 +16,7 @@ #include #include -#include +#include #include "compat.h" #include "kni_dev.h" diff --git a/kernel/linux/kni/kni_net.c b/kernel/linux/kni/kni_net.c index 7371b6d58..be9e6b0b9 100644 --- a/kernel/linux/kni/kni_net.c +++ b/kernel/linux/kni/kni_net.c @@ -17,7 +17,7 @@ #include #include -#include +#include #include #include "compat.h" diff --git a/lib/librte_eal/freebsd/eal/Makefile b/lib/librte_eal/freebsd/eal/Makefile index 5d5abf1bb..55d476e5b 100644 --- a/lib/librte_eal/freebsd/eal/Makefile +++ b/lib/librte_eal/freebsd/eal/Makefile @@ -88,7 +88,6 @@ endif INC := # no bsd specific headers -SYMLINK-$(CONFIG_RTE_EXEC_ENV_FREEBSD)-include/exec-env := \ - $(addprefix include/exec-env/,$(INC)) +SYMLINK-$(CONFIG_RTE_EXEC_ENV_FREEBSD)-include := $(addprefix include/,$(INC)) include $(RTE_SDK)/mk/rte.lib.mk diff --git a/lib/librte_eal/linux/eal/Makefile b/lib/librte_eal/linux/eal/Makefile index 932c93309..2aa6e8c6a 100644 --- a/lib/librte_eal/linux/eal/Makefile +++ b/lib/librte_eal/linux/eal/Makefile @@ -95,7 +95,6 @@ endif INC := rte_kni_common.h -SYMLINK-$(CONFIG_RTE_EXEC_ENV_LINUX)-include/exec-env := \ - $(addprefix include/exec-env/,$(INC)) +SYMLINK-$(CONFIG_RTE_EXEC_ENV_LINUX)-include := $(addprefix include/,$(INC)) include $(RTE_SDK)/mk/rte.lib.mk diff --git a/lib/librte_eal/linux/eal/include/exec-env/rte_kni_common.h b/lib/librte_eal/linux/eal/include/rte_kni_common.h similarity index 100% rename from lib/librte_eal/linux/eal/include/exec-env/rte_kni_common.h rename to lib/librte_eal/linux/eal/include/rte_kni_common.h diff --git a/lib/librte_eal/linux/eal/meson.build b/lib/librte_eal/linux/eal/meson.build index 7e68b2c0d..396bf8235 100644 --- a/lib/librte_eal/linux/eal/meson.build +++ b/lib/librte_eal/linux/eal/meson.build @@ -2,7 +2,6 @@ # Copyright(c) 2017 Intel Corporation eal_inc += include_directories('include') -install_subdir('include/exec-env', install_dir: get_option('includedir')) env_objs = [] env_headers = [] diff --git a/lib/librte_kni/rte_kni.c b/lib/librte_kni/rte_kni.c index 492e207a3..192f2fed0 100644 --- a/lib/librte_kni/rte_kni.c +++ b/lib/librte_kni/rte_kni.c @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include "rte_kni_fifo.h" #define MAX_MBUF_BURST_NUM 32 diff --git a/lib/librte_kni/rte_kni.h b/lib/librte_kni/rte_kni.h index 02ca43b4b..9a9a7d754 100644 --- a/lib/librte_kni/rte_kni.h +++ b/lib/librte_kni/rte_kni.h @@ -22,7 +22,7 @@ #include #include -#include +#include #ifdef __cplusplus extern "C" { -- 2.21.0