dumpcap: timestamp is years ahead when in pcapng format

Isaac Boukris iboukris at gmail.com
Thu Sep 21 21:00:47 CEST 2023


On Thu, Sep 21, 2023 at 6:32 PM Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> On Thu, 21 Sep 2023 08:14:12 +0300
> Isaac Boukris <iboukris at gmail.com> wrote:
>
> > > This is less accurate. The TSC (CPU clock frequency) is not necessarily
> > > an even multiple of nanoseconds.
> > >
> > > If you want to send patches please follow the contributing guidelines
> > > and run checkpatch on them.
> >
> > Yeah, I realized that and tried to improve on it by dividing by less
> > at init and multiplying by less at run time. However I noticed another
> > problem with my patches, that there is a time gap that keeps growing
> > for some reason, and I can't figure out what's wrong. I'll try some
> > more and will gladly test anything proposed.
>
> All this should be fixed in this patch series.
> https://patchwork.dpdk.org/project/dpdk/list/?series=29581

I tested it and indeed all is fixed now, wonderful :)

Thanks a lot!


More information about the users mailing list