From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatoly Burakov Subject: [PATCH v3 0/4] Clean up EAL runtime data paths Date: Mon, 14 May 2018 17:27:38 +0100 Message-ID: References: Cc: thomas@monjalon.net, bruce.richardson@intel.com To: dev@dpdk.org Return-path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id D0A821C97F for ; Mon, 14 May 2018 18:27:46 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" As has been suggested [1], all DPDK runtime paths should be put into a single place. This patchset accomplishes exactly that. If running as root, all files will be put under /var/run/dpdk/, otherwise they will be put under $XDG_RUNTIME_PATH/dpdk/, or, if that environment variable is not defined, all files will go under /tmp/dpdk/. [1] http://dpdk.org/dev/patchwork/patch/38688/ v3: - Rebase on rc2 - Leave rte_config path in place, to be fixed for next release v2: - Rebase on rc1 Anatoly Burakov (4): eal: remove unused define eal: rename function returning hugepage data path eal: add directory for DPDK runtime data eal: move all runtime data into DPDK runtime dir lib/librte_eal/bsdapp/eal/eal.c | 70 +++++++++++++++++++++++++++++++ lib/librte_eal/common/eal_filesystem.h | 71 +++++++++++--------------------- lib/librte_eal/linuxapp/eal/eal.c | 69 +++++++++++++++++++++++++++++++ lib/librte_eal/linuxapp/eal/eal_memory.c | 10 +++-- 4 files changed, 169 insertions(+), 51 deletions(-) -- 2.7.4