Just changing --file-prefix=ss to --file-prefix=mm for secondary process,
this issue is fixed.
Sorry for interrupt.
coolwilled@hotmail.com
From: coolwilled@hotmail.com
Date: 2021-03-11 11:51
To: users
Subject: [dpdk-users] Why open() fail in rte_eal_config_attch() in DPDK secondary process ?
Hi,
The version of my DPDK is v19.02 .
Both my master and secondary are run with linux root ID.
First, I can successfully run a DPDK master process like:
dpdk_app -c f --file-prefix=mm --socket-mem=1024,1024
Then, I run the same app like:
dpdk_app -c f0 --file-prefix=ss --socket-mem=1024,1024 --proc-type=secondary
but, it fails in open("/var/run/dpdk/ss/config", O_RDWR); in rte_eal_config_attach().
the open() return -1;
why ?
how can I fix it ?
Thanks!
coolwilled@hotmail.com