From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH v3 0/3] eal: support configuring runtime directory
Date: Tue, 8 Feb 2022 22:54:00 -0800 [thread overview]
Message-ID: <20220209065403.168475-1-stephen@networkplumber.org> (raw)
In-Reply-To: <20211223233907.181033-1-stephen@networkplumber.org>
Systemd defines a standard way for setting the runtime directory
for services by setting RUNTIME_DIRECTORY in the environment,
and this is a useful way to interact with DPDK internals.
DPDK was already following the relevant standards
but there can be time when running as a non-root user that
the defaults don't work well.
v3 - move to common code between Linux and FreeBSD
there is lots more code that could be combined here in future.
v2 - fix dpdk_telemetry.py to use append dpdk
Stephen Hemminger (3):
eal: remove size for eal_set_runtime_dir
eal: support systemd service convention for runtime directory
eal: move common filesystem setup code into one file
lib/eal/common/eal_common_config.c | 7 +-
lib/eal/common/eal_private.h | 4 +-
lib/eal/freebsd/eal.c | 88 -----------------------
lib/eal/linux/eal.c | 87 -----------------------
lib/eal/unix/eal_filesystem.c | 110 +++++++++++++++++++++++++++++
lib/eal/unix/meson.build | 1 +
usertools/dpdk-telemetry.py | 10 ++-
7 files changed, 121 insertions(+), 186 deletions(-)
create mode 100644 lib/eal/unix/eal_filesystem.c
--
2.34.1
next prev parent reply other threads:[~2022-02-09 6:54 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-23 23:39 [RFC] eal: support systemd service convention for " Stephen Hemminger
2021-12-26 12:20 ` Morten Brørup
2022-01-05 18:01 ` [RFC] eal: remove size for eal_set_runtime_dir Stephen Hemminger
2022-01-05 20:04 ` Morten Brørup
2022-01-07 12:07 ` [RFC] eal: support systemd service convention for runtime directory Bruce Richardson
2022-02-02 21:03 ` Thomas Monjalon
2022-02-02 21:07 ` Stephen Hemminger
2022-02-03 6:00 ` [PATCH 0/2] better support of configuring " Stephen Hemminger
2022-02-03 6:00 ` [PATCH 1/2] eal: remove size for eal_set_runtime_dir Stephen Hemminger
2022-02-03 6:00 ` [PATCH 2/2] eal: support systemd service convention for runtime directory Stephen Hemminger
2022-02-03 11:37 ` Bruce Richardson
2022-02-05 17:10 ` [PATCH v2 0/2] eal: support configuring " Stephen Hemminger
2022-02-05 17:11 ` [PATCH v2 1/2] eal: remove size for eal_set_runtime_dir Stephen Hemminger
2022-02-05 17:11 ` [PATCH v2 2/2] eal: support systemd service convention for runtime directory Stephen Hemminger
2022-02-08 4:43 ` [PATCH v2 0/2] eal: support configuring " Stephen Hemminger
2022-02-08 10:48 ` Bruce Richardson
2022-02-09 6:54 ` Stephen Hemminger [this message]
2022-02-09 6:54 ` [PATCH v3 1/3] eal: remove size for eal_set_runtime_dir Stephen Hemminger
2022-02-09 6:54 ` [PATCH v3 2/3] eal: support systemd service convention for runtime directory Stephen Hemminger
2022-02-09 6:54 ` [PATCH v3 3/3] eal: move common filesystem setup code into one file Stephen Hemminger
2022-02-09 9:18 ` Bruce Richardson
2022-02-09 18:14 ` [PATCH v3 0/3] eal: support configuring runtime directory Thomas Monjalon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220209065403.168475-1-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).