From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2018 05:24:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,326,1520924400"; d="scan'208";a="36324651" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2018 05:24:38 -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 w3PCOb1V025154; Wed, 25 Apr 2018 13:24:37 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id w3PCObI4014739; Wed, 25 Apr 2018 13:24:37 +0100 Received: (from aburakov@localhost) by sivswdev01.ir.intel.com with LOCAL id w3PCObFt014735; Wed, 25 Apr 2018 13:24:37 +0100 From: Anatoly Burakov To: dev@dpdk.org Cc: bruce.richardson@intel.com, thomas@monjalon.net Date: Wed, 25 Apr 2018 13:24:33 +0100 Message-Id: X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-dev] [PATCH 18.05-RC2 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: Wed, 25 Apr 2018 12:24:40 -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/. 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