Skip to content

pcapng timestamp conversion and user-supplied timestamps

Stephen Hemminger dpdk-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3eal: add function to convert TSC to epoch timedoc/api/doxy-api-index.md doc/guides/rel_notes/release_26_11.rst lib/eal/common/eal_common_timer.c +1 more+100 -00 replies
2/3pcapng: use EAL TSC to epoch conversionapp/test/test_pcapng.c lib/pcapng/rte_pcapng.c+10 -500 replies
3/3pcapng: add user-supplied timestamp supportapp/test/test_pcapng.c doc/guides/prog_guide/pcapng_lib.rst doc/guides/rel_notes/release_26_11.rst +2 more+224 -131 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] pcapng timestamp conversion and user-supplied timestamps

This extends the proposed user-supplied timestamps.

The pcapng library converts the TSC into nanoseconds since 1/1/1970, because that is what the pcapng file format records. Make that function available for more general use.

The third patch is Dawid's v8, rebased on the first two.
Some rework was needed to fit in because because adding
new parameter to existing function creates lot of API and deprecation headaches so rte_pcapng_copy_ts() is added as a new experimental function instead.

Dawid Wesierski (1):
pcapng: add user-supplied timestamp support

Stephen Hemminger (2):
eal: add function to convert TSC to epoch time
pcapng: use EAL TSC to epoch conversion

 app/test/test_pcapng.c                 | 108 +++++++++++++++++++++++++++--
 doc/api/doxy-api-index.md              |   1 +
 doc/guides/prog_guide/pcapng_lib.rst   |   4 ++
 doc/guides/rel_notes/release_26_11.rst |  13 ++++
 lib/eal/common/eal_common_timer.c      |  59 ++++++++++++++++
 lib/eal/include/rte_time.h             |  34 +++++++++
 lib/pcapng/rte_pcapng.c                | 122 ++++++++++++++++++---------------
 lib/pcapng/rte_pcapng.h                |  54 ++++++++++++++-
 8 files changed, 333 insertions(+), 62 deletions(-)

Dawid Wesierski (1):
pcapng: add user-supplied timestamp support

Stephen Hemminger (2):
eal: add function to convert TSC to epoch time
pcapng: use EAL TSC to epoch conversion

 app/test/test_pcapng.c                 | 108 +++++++++++++++++++++-
 doc/api/doxy-api-index.md              |   1 +
 doc/guides/prog_guide/pcapng_lib.rst   |   4 +
 doc/guides/rel_notes/release_26_11.rst |  13 +++
 lib/eal/common/eal_common_timer.c      |  59 ++++++++++++
 lib/eal/include/rte_time.h             |  34 +++++++
 lib/pcapng/rte_pcapng.c                | 122 +++++++++++++------------
 lib/pcapng/rte_pcapng.h                |  54 ++++++++++-
 8 files changed, 333 insertions(+), 62 deletions(-)
Signature · 1 line
2.53.0