Resolve issues around using control-C in testpmd. Using cmdline_poll() is broken and won't work right so don't use it. Instead use cmdline_interact() and fix the signal handling.
Stephen Hemminger (3): testpmd: go back to using cmdline_interact testpmd: use sig_atomic_t for flag testpmd: enable interrupt in interactive mode app/test-pmd/cmdline.c | 27 ++++++++++++++------------- app/test-pmd/testpmd.c | 17 ++++++++++++----- app/test-pmd/testpmd.h | 3 ++- lib/cmdline/cmdline.h | 10 ++++++++++ lib/cmdline/cmdline_os_unix.c | 8 +++++++- lib/cmdline/cmdline_os_windows.c | 18 ++++++++++++++++-- lib/cmdline/cmdline_private.h | 2 +- lib/cmdline/version.map | 3 +++ 8 files changed, 65 insertions(+), 23 deletions(-) -- 2.39.2