[PATCH v3 1/2] net/mlx5: improve socket file path handling

Stephen Hemminger stephen at networkplumber.org
Mon Nov 17 18:58:42 CET 2025


On Fri, 29 Aug 2025 22:49:52 +0800
Yang Ming <mosesyyoung at gmail.com> wrote:

> -#define MLX5_SOCKET_PATH "/var/tmp/dpdk_net_mlx5_%d"
> +#define MLX5_SOCKET_DPATH "/var/tmp"
> +#define MLX5_SOCKET_FNAME "dpdk_net_mlx5"
>  #define MLX5_ALL_PORT_IDS 0xffff
>  
NAK - should follow current Linux defined policy for services.


    http://0pointer.net/blog/projects/tmp.html
    https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard
    https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html*


More information about the dev mailing list