18/07/2018 17:58, Yao, Lei A: > From: Burakov, Anatoly > > > > Currently, we need runtime dir to put all of our runtime info in, > > including the DPDK shared config. However, we use the shared > > config to determine our proc type, and this happens earlier than > > we actually create the config dir and thus can know where to > > place the config file. > > > > Fix this by moving runtime dir creation right after the EAL > > arguments parsing, but before proc type autodetection. Also, > > previously we were creating the config file unconditionally, > > even if we specified no_shconf - fix it by only creating > > the config file if no_shconf is not set. > > > > Fixes: adf1d867361c ("eal: move runtime config file to new location") > > > > Signed-off-by: Anatoly Burakov <anatoly.bura...@intel.com> > Tested-by: Yao Lei<lei.a....@intel.com> > This patch pass the test with simple_mp sample. The secondary process > can recognize itself as "secondary process" even use "--proc-type=auto" > parameter.
Applied, thanks