On Mon, 8 Jun 2026 12:40:58 -0400 Dawid Wesierski <[email protected]> wrote:
> @@ -737,16 +736,6 @@ rte_pcapng_write_packets(rte_pcapng_t *self, > return -1; > } > > - /* > - * When data is captured by pcapng_copy the current TSC is > stored. > - * Adjust the value recorded in file to PCAP epoch units. > - */ > - cycles = (uint64_t)epb->timestamp_hi << 32; > - cycles += epb->timestamp_lo; > - timestamp = tsc_to_ns_epoch(&self->clock, cycles); > - epb->timestamp_hi = timestamp >> 32; > - epb->timestamp_lo = (uint32_t)timestamp; > - You can't generate valid pcapng timestamps without this.

