DPDK usage discussions
 help / color / mirror / Atom feed
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
Message-ID: <ME3P282MB0787CDF4704CD1588110251CDF909@ME3P282MB0787.AUSP282.PROD.OUTLOOK.COM> (raw)

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 ?



             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:

* 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 \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git