Skip to content

Fix cmdline_poll and testpmd signal handling

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v11 Latest3 patches 9 repliesIn review

Patches in v11 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cmdline: make rdline status not privatelib/cmdline/cmdline.h lib/cmdline/cmdline_private.h+6 -61 reply
2/3cmdline: handle EOF in cmdline_polllib/cmdline/cmdline.c+8 -30 replies
3/3testpmd: cleanup cleanly from signalapp/test-pmd/cmdline.c app/test-pmd/testpmd.c app/test-pmd/testpmd.h+48 -591 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchChengwen FengFerruh Yigit
SeriesT-b
1/3A-b
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v11 thread

Cover letter [PATCH v11 0/3] Fix cmdline_poll and testpmd signal handling

This patchset keeps uncovering bad practices in the cmdline library around end of file and signal handling.

Stephen Hemminger (3):
cmdline: make rdline status not private
cmdline: handle EOF in cmdline_poll
testpmd: cleanup cleanly from signal

 app/test-pmd/cmdline.c        | 29 +++++--------
 app/test-pmd/testpmd.c        | 77 ++++++++++++++++-------------------
 app/test-pmd/testpmd.h        |  1 +
 lib/cmdline/cmdline.c         | 11 +++--
 lib/cmdline/cmdline.h         |  6 +++
 lib/cmdline/cmdline_private.h |  6 ---
 6 files changed, 62 insertions(+), 68 deletions(-)
Signature · 1 line
2.39.0