Skip to content

eal: support configuring runtime directory

Stephen Hemminger dpdk-dev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 2 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3eal: remove size for eal_set_runtime_dirlib/eal/common/eal_common_config.c lib/eal/common/eal_private.h lib/eal/freebsd/eal.c +1 more+5 -100 replies
2/3eal: support systemd service convention for runtime directorylib/eal/linux/eal.c usertools/dpdk-telemetry.py+20 -130 replies
3/3eal: move common filesystem setup code into one filelib/eal/freebsd/eal.c lib/eal/linux/eal.c lib/eal/unix/eal_filesystem.c +1 more+111 -1781 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMorten BrørupBruce Richardson
1/3R-b
2/3R-b A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] eal: support configuring runtime directory

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
Signature · 1 line
2.34.1