From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A5DA606A322 for ; Thu, 3 Dec 2026 18:00:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=c/MkPz4Z Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6B831402E5; Thu, 3 Dec 2026 19:00:54 +0100 (CET) Received: from mail-pj1-f54.google.com (mail-pj1-f54.google.com [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTPS id 17AF7402A7 for ; Thu, 3 Dec 2026 19:00:53 +0100 (CET) Received: by mail-pj1-f54.google.com with SMTP id 98e67ed59e1d1-3b501791bb5so65457a91.1 for ; Thu, 03 Dec 2026 10:00:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1796320852; x=1796925652; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=Qq+EXfZ4mSnRmMig3CaC95ZoceE2mX9RWF1mZXkTIZM=; b=c/MkPz4Z6v3AMl7VtpeZTounvDjLLL+FVu687dobLuSyJAHaenU4XlNMhuzkO0mC5B 1LHE7MuAL0OOFj8/5oUtDuWgwS55dRHqJJtaCsaAuw15EvJVc+Hr3NGriVdMeiMfnJwZ 34qt7eWrFmFZwGm1LmwuQBBbcjt1c86QKMI90N18sxOLNMeBVXpzKGZtzPf7Xisvpsq9 9+WiE1Jk6B5onJRXCrlyQAx76T3i9KymYd66c4AUiGn+3SdHZTxftMNCrniHQHJMqoMK YfSqI3Q0shQOu4DVHd9Xb03o9czHulDdnjiRAsW4jTqwiu5g1+ua3Qj3lDMU2f9adSYt +B9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796320852; x=1796925652; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=Qq+EXfZ4mSnRmMig3CaC95ZoceE2mX9RWF1mZXkTIZM=; b=JqTe4gfpla2Y9m4YX05CuXBVt3+exvJBTHRPYJkFeKnRDp7uQCK7umlu35pHZZW4UA IIj7PNTE1oGjWsAiXTCski4jus7GQewHwhWtIK+TaRRxtXv+7M9QdigTa8WXbK8oQF/3 nPyW92UOUrT9pRyhpZ4vDTEHu1osjVCzOBZHaloVIhTMTtzszNskWbFKKBdaOvJ6JADU TX309wZ7EdpXR99hIXyPBhJ4caF0NMgvblaVjm9KtXetvbFA8lvdi2LPzF67qpV5JA+P fUNinv6QqAkhOAQFbH0ihKHdg2qH2cxFFziDDhPiQc6aoRgffl4S7Kaen6oochtErRXJ VEog== X-Gm-Message-State: APuU4Z+bLkXHK1IL9PJNKJuvAgkcanK8Ehs/Wtvl2Cah14eOuGT/t69R Q5oQSm+CyqGN+akmFEu9NPfuQtbP+AoV2Miz8DEMNx4E/bmT3AHVKwNCmEaGsm/4KeYJSJwIeRa FZO0vEhg= X-Gm-Gg: AZFdTZed1Le5bznhFsbMfoEbwg16X2XiIdp88mp8BuVIpzANOGJoEk7lk2fptoNeXgm PMHysHWmFN3Uqxnj+yAKVgmdI1rIdru0c3Q1+jBkM3Jf4poOhDXp5q0H7zOPu5b1XPocCWApzua Lxi8CnKo2wSzzFXEGiByS8vBFp9Yo7SaNolLhIP5HAk6EN8s6Rg3PFpT0VGLtrwLT89uuluDlIQ 2TjFs52xsO5Cy810QrzUPxogaG4XQ+1FwWtbObkZpNmBmW+WBzqkdbjsWI+k1wLUjRNKKaZAfxe AQJRbtPUftjbCh4C6000uFsLOQQM4+rKN/jyvHnYUq8s1jGoFobwMB+KI+LireN7yn/uj7mMby7 fAy9Ex+ImgjqJypYdOZYJ18cvegGL5qZMdzAbwdJUmWtLSj2x5tb8WMC6m6PxhfPE8JX1fpMvFU yxG3LnZjFCKlKTXu0/PDG/B8rB77h/U2naG5dUgdXep342y7idIpX6+s3aGnjUJQRuOw/NDAX/r /VBiBjzZfcI9dRWsCY7KCo6a9cbtzwX+AnHZANb6EuWiTe0S1vFrT2vnGZUikVJb/XGOMYXCgsn epyRE364KW1TgAZTX5Faz+JClnOpHbf+c2d7tfdqbPhu3wVnAIs/tqYNr1i3lStyME1t7Q== X-Received: by 2002:a17:90b:3b8f:b0:3b3:b36e:8c3d with SMTP id 98e67ed59e1d1-3b41cb466f4mr41174631a91.62.1796320852310; Thu, 03 Dec 2026 10:00:52 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c7649efbsm5329952a91.3.2026.12.03.10.00.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 10:00:51 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 0/6] pcapng: fixes and timestamp handling Date: Thu, 3 Dec 2026 09:59:42 -0800 Message-ID: <20261203180050.73444-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20261201224258.1962108-1-stephen@networkplumber.org> References: <20261201224258.1962108-1-stephen@networkplumber.org> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Mostly pcapng, with one graph fix and one EAL addition. The first two patches are unrelated bug fixes marked for stable. The user-timestamp patch is based on an earlier submission from Marek Kasiewicz and Dawid Wesierski. v3 - drop the stdio patch. it has issues with musl and may not be needed in planned changes to dumpcap Dawid Wesierski (1): pcapng: add user-supplied timestamp support Stephen Hemminger (5): graph: fix double close of pcapng file pcapng: call writev as needed on highly segmented mbuf eal: add function to convert TSC to epoch time pcapng: use EAL TSC to epoch conversion test/pcapng: compare timestamps in one clock domain app/test/test_cycles.c | 34 ++++ app/test/test_pcapng.c | 244 +++++++++++-------------- doc/api/doxy-api-index.md | 1 + doc/guides/prog_guide/pcapng_lib.rst | 4 + doc/guides/rel_notes/release_27_03.rst | 13 ++ lib/eal/common/eal_common_timer.c | 59 ++++++ lib/eal/include/rte_time.h | 34 ++++ lib/graph/graph_pcap.c | 4 +- lib/pcapng/rte_pcapng.c | 137 ++++++-------- lib/pcapng/rte_pcapng.h | 50 ++++- 10 files changed, 359 insertions(+), 221 deletions(-) -- 2.53.0