No PMD should be making its own threads and must not use standard signal types.
The ntnic PMD is spawning a thread and trying to trap SIGINT.
This is broken for many reasons:
- application may want to manage SIGINT after rte_eal_init() is called
- there are other shutdown signals beside SIGINT (SIGTERM, SIGQUIT, ...)
- spawning a thread outside of EAL creates resource management issues
No PMD should be making its own threads and must not use standard signal types. The ntnic PMD is spawning a thread and trying to trap SIGINT. This is broken for many reasons: - application may want to manage SIGINT after rte_eal_init() is called - there are other shutdown signals beside SIGINT (SIGTERM, SIGQUIT, ...) - spawning a thread outside of EAL creates resource management issues