The `rte_mempool_ops_table` is process unsafe
https://bugs.dpdk.org/show_bug.cgi?id=1073
Bug ID: 1073
Summary: The `rte_mempool_ops_table` is process unsafe
Product: DPDK
Version: 19.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: core
Assignee: [email protected]
Reporter: [email protected]Target Milestone: ---
Created attachment 219
--> https://bugs.dpdk.org/attachment.cgi?id=219&action=edit
GDB print value corresponding to the table(rte_mempool_ops_table)(myapp and dpdk-pdump)
The rte_mempool_ops_table is process unsafe!
When a process is started, the table (rte_mempool_ops_table) will be initialized with a macro (rte_mempool.h:MEMPOOL_REGISTER_OPS). However, different process initialization will cause inconsistent index values (ops_index) (such as myapp and dpdk pdump). After the initialization memory pool is created in the dpdk pdump process, mp->ops_index = 0, mp->ops_index=2 in myapp。 Different processes using the shared memory pool will be coredump
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.