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 94BB1606A322 for ; Wed, 2 Dec 2026 17:50:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20260707.gappssmtp.com header.i=@networkplumber-org.20260707.gappssmtp.com header.a=rsa-sha256 header.s=20260707 header.b=HmscBPgL Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7F5C64064A; Wed, 2 Dec 2026 18:50:34 +0100 (CET) Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by mails.dpdk.org (Postfix) with ESMTPS id DBA104026F for ; Wed, 2 Dec 2026 18:50:31 +0100 (CET) Received: by mail-pg1-f170.google.com with SMTP id 41be03b00d2f7-cde4b4e936fso35322a12.1 for ; Wed, 02 Dec 2026 09:50:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20260707.gappssmtp.com; s=20260707; t=1796233830; x=1796838630; 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=4fOCbn/wtx5o2nmJHGpV20WJpqoJ4q5lsSjRKpLMKz4=; b=HmscBPgL1u4DCy4zh9KuYc7sNZzZS83nwNIhZIeUbRwqh9r8VijEcdP96Dpcr8GvWJ TaZz4oKvU6cLtwTbqQ08ber0EoUNoG5YijOuzLs6nS39qWsCllNO1j1SXxx0Ul1NpgOY RUxa2RdWlBth2gR6HPnt3aFZzgHo8B8eSxWv4WCibtoV3+Rrx1pGomPaqKT65V5l2ffF I76I6kDkNN79abRXItlgur/EzKp1P2ItwPvXSPBQz76M7iMIEt+nvLfFV+56xIulw89n 6JuiilNffO6UNTofSYR5jULMNmDZChkdgYfXd/1sh93kBcdFvdDX29DHhuzBP7RsH2Sp WRKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796233830; x=1796838630; 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=4fOCbn/wtx5o2nmJHGpV20WJpqoJ4q5lsSjRKpLMKz4=; b=KH4xrE1TolMFPAdW6pMRPoQbHz4bRoxoeKhCmFYnbjitdGrFUWG9h8gWCBga6lExBt YVKIfBY+sO1qnLqH57CkFwZqX0JvI33AHfbCUoT9gGh5jngG+goFkbZWRGqUU6Zok12t qvjtfIgtcqxPSSVw50jX/jKy9rGiAl1NOT9CDflS1CKOJ1M3Kz4lcXSKdr9u9iur8FzY mPli5Ei9/WJCXRH9mkb6jYcP5gfnllA9VrwMMm4X8v1waWguDHmVD/+o2pWeHPKQKTDq WFxjcW6Ktam487OZEF9MxbVF+dNO2VuwlYHLUZxr3/oEyzphxXSh83gSCyjKKJ7MqsvQ 6RmQ== X-Gm-Message-State: APuU4Z8BxUoiDpk3EKyluhOd1L3Vi4RCkNKdZIIteVRgiESXo/5wPLCk daRE3oUpBpRMPbqXbQLZXSgvbt8JigM1WEnWS3RHHzBSsaEz6H51MWPjXklJYKLMAsNR3Zjmm2+ eBopduBI= X-Gm-Gg: AZFdTZc9fah9Gwns9U8vJRukmsb/7dW/IhYIrXYXKzVah35jVoHkaUlCov8Oo3NFhOm JUtO6zcLWmL8PsDjuJoiQANFQxIMQSfa6XbKrijnvoHSDuYaJYyYk6FILCzANf8oHuPx6oLoON/ VXG2dJfBuRo4Mh+GI4lLUV/zcn2OQcNYGlHUm63uN8FIriAzvlIB68nM1pK/q8PXjt5mz/unwIM KR5DyUR7Ei3J6na+31+NbCeLjAUSfQw0WXv9PuwxmZsFIm+ugn/lPZtcXMh0ob3/54mADlcc+Ui s7nZWrMqfqHNSueRWtxHvrW0P7Im4tcnhYAxuupITV/Dd0QGdRlLePx0ceKgOLSfMeUCWQDZks8 mY8lD7GjsiuVo6Lu5dd5suTGL6C5NmCJgWR+iziFGyLKvnOAjV63tu38TA2TezHMMxY1lbc8upV ZMQhgdusOn/OSfsc9rlVmtsZKoeDt9vbNBBheB29uKSXrsGIBoWBQZE1XRpwWO9PFwvvW7TSNOk 2IV9ZguTQdQZog5/xk7XJ/+M/OMX6XpxzHpw5H9S149DAiON4iyKvyRPVhWiZLFJfII+1zYUgvv v7+JicMENxB04dGPUTaaEWlUZOQaTi4CPaTUb9g9EmhD31InzHtrY2fLC0V/QOnPi/Cj X-Received: by 2002:a17:90b:57c6:b0:3a8:786a:cfed with SMTP id 98e67ed59e1d1-3b41c9617ffmr31368881a91.37.1796233830286; Wed, 02 Dec 2026 09:50:30 -0800 (PST) Received: from phoenix.lan (204-195-112-43.wavecable.com. [204.195.112.43]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c784e74esm211314a91.6.2026.12.02.09.50.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 09:50:30 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 0/7] pcapng: fixes, timestamps and stdio output Date: Wed, 2 Dec 2026 09:49:38 -0800 Message-ID: <20261202175028.4071813-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. v2 - fix windows os shim Dawid Wesierski (1): pcapng: add user-supplied timestamp support Stephen Hemminger (6): 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 pcapng: use stdio for output app/test/test_cycles.c | 34 +++ app/test/test_pcapng.c | 356 +++++++++++++++---------- doc/api/doxy-api-index.md | 1 + doc/guides/prog_guide/pcapng_lib.rst | 4 + doc/guides/rel_notes/release_27_03.rst | 19 ++ lib/eal/common/eal_common_timer.c | 59 ++++ lib/eal/include/rte_time.h | 34 +++ lib/eal/windows/include/rte_os_shim.h | 7 + lib/graph/graph_pcap.c | 4 +- lib/pcapng/rte_pcapng.c | 314 +++++++++++----------- lib/pcapng/rte_pcapng.h | 100 ++++++- 11 files changed, 629 insertions(+), 303 deletions(-) -- 2.53.0