From: "coolwilled@hotmail.com" <coolwilled@hotmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] Why open() fail in rte_eal_config_attch() in DPDK secondary process ?
Date: Thu, 11 Mar 2021 11:51:32 +0800 [thread overview]
Message-ID: <ME3P282MB0787CDF4704CD1588110251CDF909@ME3P282MB0787.AUSP282.PROD.OUTLOOK.COM> (raw)
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
next reply other threads:[~2021-03-11 3:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-11 3:51 coolwilled [this message]
2021-03-11 8:31 ` coolwilled
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ME3P282MB0787CDF4704CD1588110251CDF909@ME3P282MB0787.AUSP282.PROD.OUTLOOK.COM \
--to=coolwilled@hotmail.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).