Re: [PATCH v10 2/2] testpmd: cleanup cleanly from signal

2023-01-31 Thread Ferruh Yigit
On 1/30/2023 8:09 PM, Stephen Hemminger wrote: > Do a clean shutdown of testpmd when a signal is received; instead of > having testpmd kill itself. This fixes the problem where a signal could > be received in the middle of a PMD and then the signal handler would > call PMD's close routine leading

[PATCH v10 2/2] testpmd: cleanup cleanly from signal

2023-01-30 Thread Stephen Hemminger
Do a clean shutdown of testpmd when a signal is received; instead of having testpmd kill itself. This fixes the problem where a signal could be received in the middle of a PMD and then the signal handler would call PMD's close routine leading to locking problems. An added benefit is it gets rid o