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 -- 2.51.0

