Re: [PATCH v9] testpmd: cleanup cleanly from signal

2023-01-30 Thread Stephen Hemminger
On Mon, 30 Jan 2023 18:48:25 + Ferruh Yigit wrote: > On 1/25/2023 6:32 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

Re: [PATCH v9] testpmd: cleanup cleanly from signal

2023-01-30 Thread Ferruh Yigit
On 1/25/2023 6:32 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 v9] testpmd: cleanup cleanly from signal

2023-01-25 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