On 2018-10-03 21:36, Thomas Monjalon wrote:
03/10/2018 20:40, Mattias Rönnblom:
On 2018-10-03 19:36, Kevin Laatz wrote:
+#define DEFAULT_DPDK_PATH "/var/run/.rte_telemetry"
+

FHS 3.0 recommends "/run" over "/var/run". Maybe a more descriptive
macro name would be in order, too.

Kevin, you should use eal_get_runtime_dir().
You may need to export this function as a public API.


You could also use the AF_UNIX abstract namespace. Convenient, as in you don't have to bother with directories and dangling files from crashed processes, but on the other hand it's Linux-specific and a little obscure.

Reply via email to