[PATCH v4 0/2] Fix testpmd interrupt regression
Pier Damouny
pdamouny at nvidia.com
Thu Mar 16 09:16:23 CET 2023
> External email: Use caution opening links or attachments
>
>
> 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
Confirming that this patch fixes Bug: 1180 over Windows.
And CTRL-C works as expected.
Tested-by: Pier Damouny <pdamouny at nvidia.com>
More information about the dev
mailing list