Pdump/dumpcap was not handling case of hairpin queues.
Hairpin Tx queues were being flagged but not Rx queues.

This exposed other issues in MP request handling of missing callbacks
and other leaks. The primary/secondary IPC needs to be able
to handle when secondary has not registered and when a secondary
tries to request something primary can't do.

v3 - needed more complete and robust MP state machine in EAL
   - verify request rather than complexity of unwinding

Stephen Hemminger (8):
  ethdev: reject hairpin queue in add first Rx callback
  pdump: fix error code when adding callback fails
  pdump: validate queues before installing callbacks
  pdump: release BPF filter on error
  eal: fix IPC request when no handler is registered
  test/mp: check request with no registered handler
  pdump: report secondary process failures
  test/pdump: check secondary process result

 app/test/test_mp_secondary.c     |  85 ++++++++-
 app/test/test_pdump.c            |  15 +-
 lib/eal/common/eal_common_proc.c |  55 ++++--
 lib/ethdev/rte_ethdev.c          |   5 +
 lib/pdump/rte_pdump.c            | 306 ++++++++++++++++++++++++-------
 5 files changed, 382 insertions(+), 84 deletions(-)

-- 
2.53.0

Reply via email to