[RFC v2 12/14] eal: limit maximum runtime directory and socket paths
Bruce Richardson
bruce.richardson at intel.com
Fri Dec 5 09:46:13 CET 2025
On Thu, Dec 04, 2025 at 06:28:21PM -0800, Stephen Hemminger wrote:
> Linux (and FreeBSD) has a limitation of 108 characters for
> any unix domain socket path. Therefore DPDK would not work
> if a really large runtime directory was used.
>
FreeBSD actually limits it to 104 [1]. Should reduce the define by that
extra amount.
/Bruce
[1] https://man.freebsd.org/cgi/man.cgi?query=unix&sektion=4
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> lib/eal/common/eal_common_config.c | 6 ++-
> lib/eal/common/eal_common_proc.c | 83 +++++++++++++++++++-----------
> lib/eal/common/eal_filesystem.h | 6 ++-
> 3 files changed, 63 insertions(+), 32 deletions(-)
>
More information about the dev
mailing list