Capturing on a port that has a hairpin queue does not work, and it
fails in a way that leaves callbacks referencing a ring the client is
about to free. Fixing that turned up weak error handling throughout
pdump enable, and two problems in the IPC underneath it: a broadcast
cannot distinguish a process that does not implement a feature from
one that has hung, and a request to a primary with no handler for it
does not fail.

The ethdev and EAL patches come first since the pdump fixes depend on
them. The EAL change and the pdump error propagation have to be
backported together.

v4 - fix test failure in CI (no huge)

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            |  17 +-
 lib/eal/common/eal_common_proc.c |  55 ++++--
 lib/ethdev/rte_ethdev.c          |   5 +
 lib/pdump/rte_pdump.c            | 306 ++++++++++++++++++++++++-------
 5 files changed, 383 insertions(+), 85 deletions(-)

-- 
2.53.0

Reply via email to