DPDK usage discussions
 help / color / mirror / Atom feed
* [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

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 ?



^ 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

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