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/<prefix>, otherwise they will be put under $XDG_RUNTIME_PATH/dpdk/<prefix>, or, if that environment variable is not defined, all files will go under /tmp/dpdk/<prefix>. 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