From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH v3 0/8] pdump: fix error handling on failed enable
Date: Tue, 1 Dec 2026 11:31:09 -0800 [thread overview]
Message-ID: <20261201193243.1008280-1-stephen@networkplumber.org> (raw)
In-Reply-To: <20261028141750.310963-1-stephen@networkplumber.org>
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
next prev parent reply other threads:[~2026-12-01 19:32 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 14:16 [PATCH 0/4] pdump: fix capture on ports with hairpin queues Stephen Hemminger
2026-10-28 14:16 ` [PATCH 1/4] ethdev: reject hairpin queue in add first Rx callback Stephen Hemminger
2026-10-28 14:16 ` [PATCH 2/4] pdump: fix error code when adding callback fails Stephen Hemminger
2026-10-28 14:16 ` [PATCH 3/4] pdump: skip hairpin queues Stephen Hemminger
2026-10-28 14:16 ` [PATCH 4/4] pdump: undo partial enable on failure Stephen Hemminger
2026-11-27 21:07 ` [PATCH v2 0/6] pdump: fix bugs related to hairpin queues Stephen Hemminger
2026-11-27 21:07 ` [PATCH v2 1/6] ethdev: reject hairpin queue in add first Rx callback Stephen Hemminger
2026-11-27 21:07 ` [PATCH v2 2/6] pdump: fix error code when adding callback fails Stephen Hemminger
2026-11-27 21:07 ` [PATCH v2 3/6] pdump: validate queues before installing callbacks Stephen Hemminger
2026-11-27 21:07 ` [PATCH v2 4/6] pdump: release BPF filter on error Stephen Hemminger
2026-11-27 21:07 ` [PATCH v2 5/6] pdump: report secondary process failures Stephen Hemminger
2026-11-27 21:07 ` [PATCH v2 6/6] app/dumpcap: disable capture on the interface that failed Stephen Hemminger
2026-12-01 19:31 ` Stephen Hemminger [this message]
2026-12-01 19:31 ` [PATCH v3 1/8] ethdev: reject hairpin queue in add first Rx callback Stephen Hemminger
2026-12-01 19:31 ` [PATCH v3 2/8] pdump: fix error code when adding callback fails Stephen Hemminger
2026-12-01 19:31 ` [PATCH v3 3/8] pdump: validate queues before installing callbacks Stephen Hemminger
2026-12-01 19:31 ` [PATCH v3 4/8] pdump: release BPF filter on error Stephen Hemminger
2026-12-01 19:31 ` [PATCH v3 5/8] eal: fix IPC request when no handler is registered Stephen Hemminger
2026-12-01 19:31 ` [PATCH v3 6/8] test/mp: check request with no registered handler Stephen Hemminger
2026-12-01 19:31 ` [PATCH v3 7/8] pdump: report secondary process failures Stephen Hemminger
2026-12-01 19:31 ` [PATCH v3 8/8] test/pdump: check secondary process result Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261201193243.1008280-1-stephen@networkplumber.org \
--to=stephen@networkplumber.org \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox