[dpdk-dev] [PATCH] eal: create a runtime directory on windows
Kadam, Pallavi
pallavi.kadam at intel.com
Mon Oct 26 20:01:47 CET 2020
Hi Dmitry,
On 10/22/2020 12:05 PM, Dmitry Kozlyuk wrote:
>> /* 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?
Thank you for the suggestion.
We sent out v2, forcing no_shconf to 1 for now.
More information about the dev
mailing list