[dpdk-dev] daemon process problem in DPDK
Neil Horman
nhorman at tuxdriver.com
Mon Jan 12 15:52:10 CET 2015
On Mon, Jan 12, 2015 at 02:28:20PM +0000, Ni, Xun wrote:
> Hello:
>
> I have basic questions related to dpdk and trying to find help.
>
> I am about to create a daemon process, is there a way for other process to know whether the daemon is already created? I doesn't mean to get the pid, because it changes every time.
>
> If the daemon is created, how do other process to communicate with this daemon? Dpdk seems to have rte ring but it only exists on the Ethernet, while I am talking about the process within the same computer, and the way like share-memory, but I didn't find examples about the share memory between processes.
>
> Thanks,
> Xun
>
>
Thats not really a dpdk question, that a generic programming question. You can
do this lots of ways. Open a socket that other process can connect to on an
agreed port, create a shared memory segment, write a file with connect
information to a well know location, etc.
Neil
More information about the dev
mailing list