Bug 918
Summary: | RTE EAL is unable to complete its work | ||
---|---|---|---|
Product: | DPDK | Reporter: | Roman E. Chechnev (interferation3) |
Component: | core | Assignee: | dev |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | interferation3, stephen |
Priority: | Normal | ||
Version: | 20.11 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
threads list before rte_eal_init
threads list after rte_eal_init threads list after rte_eal_cleanup Dataplane SDK Dataplane SDK |
Description
Roman E. Chechnev
2021-12-27 14:53:23 CET
Created attachment 185 [details]
threads list before rte_eal_init
Created attachment 186 [details]
threads list after rte_eal_init
Created attachment 187 [details]
threads list after rte_eal_cleanup
Created attachment 188 [details]
Dataplane SDK
Created attachment 189 [details]
Dataplane SDK
The normal way to do safe shutdown is to call the following on the main thread. The one that called rte_eal_mp_remote_launch(). rte_eal_mp_wait_lcore(); // waits for all worker lcore threads to finish rte_eal_cleanup(); // cleans up other threads, devices and memory At that point process should be back at the state it was before calling rte_eal_init(). |