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).
In draft form at this point, works but needs more testing. Stephen Hemminger (6): 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 app/dumpcap/main.c | 14 +++ app/pdump/main.c | 16 ++- lib/pdump/rte_pdump.c | 261 +++++++++++++++++++++++++++++++++++++----- 3 files changed, 256 insertions(+), 35 deletions(-) -- 2.47.2