dumpcap and pcapng fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest5 patches 1 replyIn review
- v65 patches 0 repliesSuperseded
- v55 patches 2 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 5 patches | 1 reply | Superseded | |
| v3 | 5 patches | 10 replies | Superseded | |
| v2 | 4 patches | 0 replies | Superseded | |
| v1 | 4 patches | 7 replies | Superseded |
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | pdump: fix setting rte_errno on mp errorlib/ | +3 | 0 replies | |
| 2/5 | dumpcap: allow multiple invocationsapp/ | +14 | 0 replies | |
| 3/5 | pcapng: modify timestamp calculationapp/ app/ lib/ +3 more | +62 | 0 replies | |
| 4/5 | pcapng: avoid using alloca()lib/ | +16 | 0 replies | |
| 5/5 | test: cleanups to pcapng testapp/ app/ | +281 | 0 replies |
Reviews trailers per patch
3 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Morten Brørup |
|---|---|
| 1/5 | A-b |
| 2/5 | |
| 3/5 | A-b |
| 4/5 | A-b |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 0/5] dumpcap and pcapng fixes
It fixes issues related to timestamping. The design choices are to maximize performance in the primary process; and do all the time adjustment in the secondary (dumpcap) since the dumpcap needs to system calls anyway to write the result.
This patches set changes where the adjustment is calculated into the pcapng portion that opens the output file. All details of the format of timestamp are contained inside pcapng (data hiding).
v7 - no change, rebase there were some apply failures by CI v6 - make sure all steps compile
v5 - fix format of getpid in capture name
v4 - incorporate review feedback
v3 - don't use alloca() since can have VLA type issues
Stephen Hemminger (5):
pdump: fix setting rte_errno on mp error
dumpcap: allow multiple invocations
pcapng: modify timestamp calculation
pcapng: avoid using alloca()
test: cleanups to pcapng test
app/dumpcap/main.c | 53 ++--- app/test/meson.build | 2 +- app/test/test_pcapng.c | 417 +++++++++++++++++++++++++++------------- lib/graph/graph_pcap.c | 2 +- lib/pcapng/rte_pcapng.c | 156 ++++++--------- lib/pcapng/rte_pcapng.h | 19 +- lib/pdump/rte_pdump.c | 9 +- 7 files changed, 373 insertions(+), 285 deletions(-)
Signature · 1 line
2.42.0