[dpdk-dev] [PATCH v2 02/10] telemetry: add initial connection socket

Thomas Monjalon thomas at monjalon.net
Wed Oct 3 21:36:39 CEST 2018


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.

Mattias, thank you for the detailed review.




More information about the dev mailing list