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

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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://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/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


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