From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatoly Burakov Subject: [PATCH 18.05-RC2 0/4] Clean up EAL runtime data paths Date: Wed, 25 Apr 2018 13:24:33 +0100 Message-ID: Cc: bruce.richardson@intel.com, thomas@monjalon.net To: dev@dpdk.org Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 51F6756A1 for ; Wed, 25 Apr 2018 14:24:40 +0200 (CEST) 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/. This patchset depends on file locking changes [2], and is targeted for RC2. [1] http://dpdk.org/dev/patchwork/patch/38688/ [2] http://dpdk.org/dev/patchwork/patch/38888/ 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 | 81 ++++++++++---------------------- lib/librte_eal/linuxapp/eal/eal.c | 69 +++++++++++++++++++++++++++ lib/librte_eal/linuxapp/eal/eal_memory.c | 10 ++-- 4 files changed, 171 insertions(+), 59 deletions(-) -- 2.7.4