From patchwork Mon Apr 1 23:07:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 52031 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A7A5A378B; Tue, 2 Apr 2019 01:07:28 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id BFDEB3576 for ; Tue, 2 Apr 2019 01:07:27 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6B94422128; Mon, 1 Apr 2019 19:07:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 01 Apr 2019 19:07:27 -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=ml8+KCmyzqnAKpOwTzVIU6K 5cOT5tOo+aBVBigv3Bf8=; b=FJidoApSaEgWDBhDrsaKPNA6hVXmRXxUxW0ek4W FZKREy6xpzf13+7VyG5AACc2CNWjEkEMLJU05xCN3V4RZkVowBJQUCj43jZ9WaPT ZtKgJJqUdXIKEa7qKs+HTQk2xNbd/0BBD+Xep9drry4weXhjA6RzJZvx2lZ+Kou8 ic7M= 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=fm2; bh=ml8+KCmyzqnAKpOwT zVIU6K5cOT5tOo+aBVBigv3Bf8=; b=Y3BD+EDV2l3l25aov1cGDqSWkRzssxmr0 eutx94IoCbRX32ms08RQYht/bTlqIhQTBfr8nX4MNGQCYzXi2IziWUEmbetzjRVS 70ksYsHq3yVClV1P8TvB57jHdtmt7om5LIuJaBj0c7V7z/4iBYwNiUBfCHIwH5dj 6q+lIAqvVwUXlaJGT8o4q4r/+USSCoiBm9E4/a/f/YIKPJd4kd/LjRRaLz/uWSXx XlRnI9Li5RwWo8K06926JumahFaVHlfMZ4bWpwh7zcH9KBY4USudQmvaoGRRiAQD n/MJ0yrfnoS1A+cb1sfzd4bw33J3WdHMPExOcKrUyJKm7wIIrgH7g== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrleehgddujecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhn jhgrlhhonhdrnhgvtheqnecuffhomhgrihhnpehlihgsrdhmkhenucfkphepjeejrddufe egrddvtdefrddukeegnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhho nhhjrghlohhnrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd 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 8534010319; Mon, 1 Apr 2019 19:07:25 -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 01:07:12 +0200 Message-Id: <20190401230712.31864-1-thomas@monjalon.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] 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" 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. 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 Acked-by: Bruce Richardson --- 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_kni/rte_kni.c | 2 +- lib/librte_kni/rte_kni.h | 2 +- 10 files changed, 8 insertions(+), 11 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_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" {