[PATCH v10 2/2] testpmd: cleanup cleanly from signal
Ferruh Yigit
ferruh.yigit at amd.com
Tue Jan 31 10:30:39 CET 2023
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 to locking problems.
>
> An added benefit is it gets rid of some Windows specific code.
>
> Fixes: d9a191a00e81 ("app/testpmd: fix quitting in container")
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
If cmdline commit is agreed on, testpmd changes looks good to me.
More information about the dev
mailing list