[PATCH v4 0/2] Fix testpmd interrupt regression
Stephen Hemminger
stephen at networkplumber.org
Wed Mar 15 18:31:30 CET 2023
Resolve issues from using control-C in testpmd.
Fixes regression from recent change to use cmdline_poll().
v4 - drop sig_atomic_t. Not required requires changes on
some platforms.
Stephen Hemminger (2):
testpmd: go back to using cmdline_interact
testpmd: enable interrupt in interactive mode
app/test-pmd/cmdline.c | 27 ++++++++++++++-------------
app/test-pmd/testpmd.c | 11 +++++++++++
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 +++
7 files changed, 62 insertions(+), 17 deletions(-)
--
2.39.2
More information about the dev
mailing list