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 7BC9442602; Thu, 21 Sep 2023 06:24:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 18A4E4026D; Thu, 21 Sep 2023 06:24:03 +0200 (CEST) Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) by mails.dpdk.org (Postfix) with ESMTP id 5CDA54014F for ; Thu, 21 Sep 2023 06:24:01 +0200 (CEST) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-59bc956b029so6418137b3.2 for ; Wed, 20 Sep 2023 21:24:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1695270240; x=1695875040; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=5GEF1uwjSJPlVHzO9x6Gq+QPMf2EDZdcPo/uYtV1Q1U=; b=sE0lOKmBc++oKJeBpByECini9ElJTlPrWABTKLUf15eDnB2xQtbacjT7i5phJkcBeV cIs2O1P7GL9et7MQRSRDP6RCmULgyFZ+PbIzzv6TO1KuuPPPsS8W8sLqHQCKB68qOEaH MjIG1SX7i9y2Br95VSVuVUyv04i9d/PEitcAH39r4+nf/66wMRwIloIdKVKz2KoJ5Bax gSinJkMRdad+tIMEptH61dEJYqtRUbUCHTS04CCf5UI0wJNVLSWS0X7jU/0fySD7B1Jj lvRhcgLmNLbr1PjhiSOsKE63LXHg8stGITMFuPiEQuIDoS4rKxZ6BJLsltFEZlXkq5Sz +5/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695270240; x=1695875040; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5GEF1uwjSJPlVHzO9x6Gq+QPMf2EDZdcPo/uYtV1Q1U=; b=cE3T5rkIr6aVPQQMtz4pUlMiRHTax9qVbKwzfgYNXBpmjawZAZIpOG+wzaG3TrunUf zzGrvr769tepViOsJNjwLUlN/e9B9HNrjD4lPJdHvnlXPAr0sX4SAWGE/RkQKVoznndk VBtht5zv6E5pR4JhkKJ06rWaegEP++BtzF28EN9PK3QRRxsB8QbQqkXGc7BJtM9PwZfa Jzxoe2OmLNhZ9uFOPkwyvFCZiAVqSJDCthkvZHYRz3NC5vA0rRlrqEVmS3xgxCm0GkfM C8hl4E1pxAl1VjYMH06XAzr0Dx/T4hdRZh1xpQt+sBk2XRYTP+Nmm+qn583bT1DM44If xpGQ== X-Gm-Message-State: AOJu0YzqB0pMYKwYakj0f9nKiN5Qqrq+Hff4w4y9jBvg3Up/YaAQSAT/ mU/zyQ90bEodpIijzbWrGkYebWHggHlwk7Cj9D0= X-Google-Smtp-Source: AGHT+IF6YOt98sfW4ZCDPXKCmez+awi56ciAUP8GzT54DmX8xPSb5wyFqlgSMTFDKNKtjPAJNBGIkw== X-Received: by 2002:a0d:e24d:0:b0:59b:fb69:1639 with SMTP id l74-20020a0de24d000000b0059bfb691639mr4714369ywe.32.1695270240098; Wed, 20 Sep 2023 21:24:00 -0700 (PDT) Received: from hermes.local (204-195-112-131.wavecable.com. [204.195.112.131]) by smtp.gmail.com with ESMTPSA id u5-20020aa78485000000b00690d1269691sm311946pfn.22.2023.09.20.21.23.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 21:23:59 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 0/4] pcapng fixes Date: Wed, 20 Sep 2023 21:23:45 -0700 Message-Id: <20230921042349.104150-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 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-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org There were a couple of reported bugs in dumpcap around timestamps and multiple invocations. This patchset does some refactoring to fix them in a simpler way. Stephen Hemminger (4): pdump: fix setting rte_errno on mp error dumpcap: allow multiple invocations pcapng: change timestamp argument to write_stats pcapng: move timestamp calculation into pdump app/dumpcap/main.c | 31 ++++++++-------- app/test/test_pcapng.c | 4 +-- lib/pcapng/rte_pcapng.c | 79 ++++------------------------------------- lib/pcapng/rte_pcapng.h | 7 ++-- lib/pdump/rte_pdump.c | 61 +++++++++++++++++++++++++++---- 5 files changed, 83 insertions(+), 99 deletions(-) -- 2.39.2