From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 May 2018 09:27:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,400,1520924400"; d="scan'208";a="228360884" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga005.fm.intel.com with ESMTP; 14 May 2018 09:27:42 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w4EGRgq7009120; Mon, 14 May 2018 17:27:42 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id w4EGRgY4030579; Mon, 14 May 2018 17:27:42 +0100 Received: (from aburakov@localhost) by sivswdev01.ir.intel.com with LOCAL id w4EGRgYF030574; Mon, 14 May 2018 17:27:42 +0100 From: Anatoly Burakov To: dev@dpdk.org Cc: thomas@monjalon.net, bruce.richardson@intel.com Date: Mon, 14 May 2018 17:27:38 +0100 Message-Id: X-Mailer: git-send-email 1.7.0.7 In-Reply-To: References: Subject: [dpdk-dev] [PATCH v3 0/4] Clean up EAL runtime data paths 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: , X-List-Received-Date: Mon, 14 May 2018 16:27:47 -0000 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