From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DE8814260D for ; Thu, 21 Sep 2023 21:01:03 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AA996400D7; Thu, 21 Sep 2023 21:01:03 +0200 (CEST) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mails.dpdk.org (Postfix) with ESMTP id E2812400D5 for ; Thu, 21 Sep 2023 21:01:01 +0200 (CEST) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2c00b37ad84so23930561fa.0 for ; Thu, 21 Sep 2023 12:01:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695322861; x=1695927661; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Zc/vNb9HkFsL7ll73oV9R/QLtaS+HlkhNAzGhNsQ7Gk=; b=HmWTaUgypuB7VHUHLyYepoTHjRp7yx2/MuPCSneJiW1O9HGWB5zva4xZ4OGb+EH+Rx D49QeLwPbISttzThnFO6jo131gAurbDuK/FXjgnbgb+dGf7CUpQdW4sLTI77jtbC+sHe neGfOTw1LfMw8S7rlBnY5/UdCbIUUcwPD3YPD7G7Z4rJysUs7eM2AxujN/V5KZrLQuul bGG2vn2Fv9BNEh3hZT9WzoV/PmO6AfqiQXryv0pKg9H6fUesq7gjT5zusPhr8EMLwkkt 2NgCKkf4HvLOgYbtgj5IAd6c1/vHXNc8PnT9kBwkp6n+I6H3OID5DKqdbTC46YtOQsnu Uv2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695322861; x=1695927661; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Zc/vNb9HkFsL7ll73oV9R/QLtaS+HlkhNAzGhNsQ7Gk=; b=J2Bb+ECago9/XeCZih5+dxBlk/NwlXcGwEU3Csdz8N1pGH6MsCVovzQp0EctSqlLUC JsW9UhkVTYzoI1vTDYRnuOCvg9Cwcaokmxk3GkKDvZzs+qOwtvK77p2pdt2U20CV9Cl6 vvROATxTWPtzB243mByJEZlNBtGrz6t1Dm6olj7/hFVniblq13P3WHuUcOT2LLXoxQSt IwaGc01z1eLIcezz2iAXWBgdW1XdGX7mFbd22scuUq4C/DrmCSPs22n4HzFgwU2dVO+C 08a5gM++oMcoBDvSnPHo8xDSLIX9jRb/Hxu+ALlsMfgs/kV3HKvXykSpBWWy5jkMwlhp 4Vsw== X-Gm-Message-State: AOJu0Yy7sJgOiYP3ulLAIo8r1/ysJa3ziVPIo3/b4CVuAUXBHGn0BjM0 tcbE4vbItqumnnRNPykGrWbsx4/xgcHVwFGZD0s39z4o X-Google-Smtp-Source: AGHT+IEJewkOXCO8noyrXOVvfgVij8+w9Lz9gKsRpw12ykl2N7oqTw7K9S6c7dSFeePCCNhBrBofefrNGmCzTXjNui8= X-Received: by 2002:a2e:9f53:0:b0:2bf:7dc5:884d with SMTP id v19-20020a2e9f53000000b002bf7dc5884dmr5887155ljk.21.1695322860940; Thu, 21 Sep 2023 12:01:00 -0700 (PDT) MIME-Version: 1.0 References: <20230919110009.29e90615@hermes.local> <20230920190950.5acdae45@hermes.local> <20230921083157.718a6ee0@hermes.local> In-Reply-To: <20230921083157.718a6ee0@hermes.local> From: Isaac Boukris Date: Thu, 21 Sep 2023 22:00:47 +0300 Message-ID: Subject: Re: dumpcap: timestamp is years ahead when in pcapng format To: Stephen Hemminger Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Thu, Sep 21, 2023 at 6:32=E2=80=AFPM Stephen Hemminger wrote: > > On Thu, 21 Sep 2023 08:14:12 +0300 > Isaac Boukris wrote: > > > > This is less accurate. The TSC (CPU clock frequency) is not necessari= ly > > > 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=3D29581 I tested it and indeed all is fixed now, wonderful :) Thanks a lot!