> /* Detect if we are a primary or a secondary process */ > enum rte_proc_type_t > eal_proc_type_detect(void) > @@ -181,6 +231,13 @@ eal_parse_args(int argc, char **argv) > } > } > > + /* create runtime data directory */ > + if (internal_conf->no_shconf == 0 && > + eal_create_runtime_dir() < 0) { > + RTE_LOG(ERR, EAL, "Cannot create runtime directory\n"); > + return -1; > + } > + > if (eal_adjust_config(internal_conf) != 0) > return -1;
Windows rte_eal_init() forces in-memory operation (internal_conf.in_memory=0) with a warning message, because runtime directory and shared configuration is only used for multi-process. Maybe do the same for no_shconf, as it's essentially the same, but for legacy mode?