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

> The current implementation hardcodes the socket file path to
> /var/tmp, which has two issues:
> 
> 1. Hardcoding absolute paths is not good practice.
> 2. /var/tmp may not be writable in containerized or restricted
>    environments (e.g. when the filesystem is mounted read-only).
> 
> This patch replaces the hardcoded path with a socket file name
> (MLX5_SOCKET_FNAME) located in the DPDK runtime directory
> returned by rte_eal_get_runtime_dir(). This ensures the socket
> file can be created in both normal and containerized
> environments, while maintaining uniqueness by appending the
> process ID.
> 
> Acked-by: Dariusz Sosnowski <dsosnow...@nvidia.com>
> 
> Signed-off-by: Yang Ming <mosesyyo...@gmail.com>
> ---

Rather driver specific logging, why is there not a way in EAL log
library to ope a diagnostic dump. 

Reply via email to