pdump: fix capture on ports with hairpin queues
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ethdev: reject hairpin queue in add first Rx callbacklib/ | +5 | 0 replies | |
| 2/4 | pdump: fix error code when adding callback failslib/ | +2 | 0 replies | |
| 3/4 | pdump: skip hairpin queueslib/ | +21 | 0 replies | |
| 4/4 | pdump: undo partial enable on failurelib/ | +72 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] pdump: fix capture on ports with hairpin queues
This was reported on dpdk slack channel.
dpdk-dumpcap fails on a port with hairpin queues. The first attempt reports "Unknown error -22" and every later attempt fails with EEXIST until the application is restarted.
Several bugs combine: pdump tries to add callbacks to hairpin queues, the error is returned with the wrong sign, and a partially enabled capture is not undone. Also the first Rx callback API was missing the hairpin check the other callback APIs have.
Stephen Hemminger (4):
ethdev: reject hairpin queue in add first Rx callback
pdump: fix error code when adding callback fails
pdump: skip hairpin queues
pdump: undo partial enable on failure
lib/ethdev/rte_ethdev.c | 5 ++ lib/pdump/rte_pdump.c | 112 +++++++++++++++++++++++++++++++++------- 2 files changed, 98 insertions(+), 19 deletions(-)
Signature · 1 line
2.53.0