* [dpdk-users] Why open() fail in rte_eal_config_attch() in DPDK secondary process ?
@ 2021-03-11 3:51 coolwilled
2021-03-11 8:31 ` coolwilled
0 siblings, 1 reply; 2+ messages in thread
From: coolwilled @ 2021-03-11 3:51 UTC (permalink / raw)
To: users
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-users] Why open() fail in rte_eal_config_attch() in DPDK secondary process ?
2021-03-11 3:51 [dpdk-users] Why open() fail in rte_eal_config_attch() in DPDK secondary process ? coolwilled
@ 2021-03-11 8:31 ` coolwilled
0 siblings, 0 replies; 2+ messages in thread
From: coolwilled @ 2021-03-11 8:31 UTC (permalink / raw)
To: coolwilled, users
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-11 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 3:51 [dpdk-users] Why open() fail in rte_eal_config_attch() in DPDK secondary process ? coolwilled
2021-03-11 8:31 ` coolwilled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).