Thread (7 messages) 7 messages, 4 authors, 2021-03-08

Re: [dpdk-dev] 【Some Questions About Multi-Process Resource Cleaning】

From: Thomas Monjalon <hidden>
Date: 2021-02-04 09:25:51

Hi,

Sorry your questions are quite confused.
Please start explaining what is the problem you are trying to solve.

In general, closing a process does not mean removing the device,
because it can be used by other processes.


04/02/2021 07:56, oulijun:
Hi, Thomas Monjalon&Ferruh Yigit and others

     I'm analyzing multiprocess with eal. I have some questions I'd like 
to ask you.

Firstly, After the rte_eal_init() command is executed, the master and 
slave processes are started successfully.

and traffic is continuously sent using the tester.If you run the kill -9 
command to stop the slave process, restart the re-process, and start 
packet receiving and sending,

how to ensure that the eal resource of the slave process is cleaned up?

Second, how to invoke the remove function to clear probe resources of 
the slave process after the slave process exits?

Finally, I found out why the rte_eal_cleanup call was not unregistered 
mp action after the process exited.

I look forward to your response.


Thanks

Lijun Ou




Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help