mbox series

[v6,0/8] packet capture bugfixes and secondary support

Message ID 20251104180927.403355-1-stephen@networkplumber.org (mailing list archive)
Headers
Series packet capture bugfixes and secondary support |

Message

Stephen Hemminger Nov. 4, 2025, 6:07 p.m. UTC
This patch series addresses the problem of packet capture when
the secondary process is sending/receiving by using the same
mechanism as hot plug.  It also fixes some bugs on shutdown
of dumpcap (and pdump).

The documentation has been updated and improved as well.

v6 - reduce amount of changes when replacing VLA

v5 - fix signed/unsigned mismatch in RTE_MIN

Stephen Hemminger (8):
  dumpcap: handle primary process exit
  pdump: handle primary process exit
  pdump: fix races in callbacks
  dumpcap: handle pdump requests from primary
  pdump: handle pdump requests from primary
  pdump: forward callback enable to secondary
  pdump: remove use of VLA
  doc: update documentation on pdump library

 app/dumpcap/main.c                           |  14 +
 app/pdump/main.c                             |  16 +-
 doc/guides/prog_guide/img/pdump_overview.svg | 135 +++++++++
 doc/guides/prog_guide/pdump_lib.rst          | 183 ++++++-----
 doc/guides/rel_notes/release_25_11.rst       |   5 +
 lib/pdump/meson.build                        |   2 -
 lib/pdump/rte_pdump.c                        | 303 ++++++++++++++++---
 7 files changed, 544 insertions(+), 114 deletions(-)
 create mode 100644 doc/guides/prog_guide/img/pdump_overview.svg
  

Comments

Thomas Monjalon Nov. 11, 2025, 5:04 p.m. UTC | #1
> Stephen Hemminger (8):
>   dumpcap: handle primary process exit
>   pdump: handle primary process exit
>   pdump: fix races in callbacks
>   dumpcap: handle pdump requests from primary
>   pdump: handle pdump requests from primary
>   pdump: forward callback enable to secondary
>   pdump: remove use of VLA
>   doc: update documentation on pdump library

Applied, thanks.