From nobody Fri Sep 04 01:52:05 2026 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4hbfbT5D24z6qnmQ for ; Fri, 04 Sep 2026 01:52:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hbfbT364Nz3tLc for ; Fri, 04 Sep 2026 01:52:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788486725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DfunfWFpRiQrQoXSm1RK1qPi/cpthS842BE+feGjc7Q=; b=w5mciTIuaHdp8TvZrIiTM1bKY2M3b4YzEYm8EoDS5EGzsjKkK5Oakp/NFVxF6J2/Dme4/i Mef1kLNldaRKD7fzg7roHG6/qbInUqmITNQ0xjVtnx6xzEU5c32zalUvZ05RtRqHhOSksD NlZPHgSul6JMKNy/CpxAdj96knf81Z+PEzWJkEU+LpiZOaNaA4BgLVp8M/7Ayvclsi3eNY PA/Ay4/15w4/7LfsC5gYW4LSEOX44lCQrcZ56Zit90jQgSPpHVN93x+qI4jBmu3aF5Wonb Sy99VAujiMADxfCcUkG1wnWxdgEnOAeANfzD6f3oGOo9kJ3xGphJroh7vvJ1mQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788486725; a=rsa-sha256; cv=none; b=k4dui7XfMSIF1DNqnF1hgSGt0pHcHi6X0wlmQPIfnxQEsMIDO7NT677joojb1o2lAAh/mq kYSiCb2KVkBJY4A4nGGZAPfcTMIIMzfa8u9UuzqqGK4VNcIMGwXBQS6LCeiIvswM+mWJ5q SAcHHiMKQNRyUydygHWytJ2Q4oZ+bEewfby7fcDjd1QG3B9icc6/RwQ/OgfB4z4w35gonH 3XJwMj9mcx+jAulOQxf5FIXL4ulncKn6/7a8fUy2xWkiPPXzOov//uQ1JKa6KQza/bA/6E 1nKdthqCM4yp2Vfkg3jeWcNS5i5FfSBntWkHZCMNgPhEzTAVllkTKyKvzMLd7Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788486725; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=DfunfWFpRiQrQoXSm1RK1qPi/cpthS842BE+feGjc7Q=; b=MII7B52F9JUiKs30AyFvQwUjrJBhqMIQcmah4TSsZfyaZNLmKBXYgykK64eQmV6BoOwK61 /hmoUVREasEG8bSDlvPLR3ZLP42qSZOsUwz53oOM2ycHmV5JxH9tf7KHdohq04FAXBUHl/ Xy/+AzqIz2TVl63FQz6UX/ZKnUUMKsfE6KTsYbUPx2Wz5vbtfxFiN+eWe9UhW6NmY60E6t Dh7gHaFolU8hmlDYwszwTlp0NOB88lWPXjzUy8yjHsbSpHZO0oyhKTnt4pZgo2LDDY4PWs 89I+rwmqpJwOjMrvsjNxd0UdYrznmv6BfiKHoP0VIE+pqPeMtSfTtisTmZOgQg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hbfbT1cmXzfl9 for ; Fri, 04 Sep 2026 01:52:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 26500 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 04 Sep 2026 01:52:05 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 429cb537015e - main - ixl: Reset VSI statistics after initial sampling List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kbowling X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 429cb537015ea11808de23dac8c1cc7ade3a4552 Auto-Submitted: auto-generated Date: Fri, 04 Sep 2026 01:52:05 +0000 Message-Id: <6a9a2445.26500.673bbce0@gitrepo.freebsd.org> The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=429cb537015ea11808de23dac8c1cc7ade3a4552 commit 429cb537015ea11808de23dac8c1cc7ade3a4552 Author: Kevin Bowling AuthorDate: 2026-09-03 10:55:36 +0000 Commit: Kevin Bowling CommitDate: 2026-09-04 01:50:06 +0000 ixl: Reset VSI statistics after initial sampling The initial statistics update runs before the PF VSI has obtained its firmware-assigned statistics counter index. Discard that provisional VSI baseline so the first update after initialization records the correct hardware counter. Without this reset, subtracting a larger provisional value from a newly selected counter can be mistaken for a 32-bit wrap and report nearly UINT32_MAX receive drops immediately after boot. Reported by: Daniel Braniss Tested by: Daniel Braniss Obtained from: Intel ixl 1.14.2 MFC after: 2 weeks Sponsored by: BBOX.io Differential Revision: https://reviews.freebsd.org/D59336 --- sys/dev/ixl/if_ixl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/ixl/if_ixl.c b/sys/dev/ixl/if_ixl.c index 2bddcc605869..cfd673430e50 100644 --- a/sys/dev/ixl/if_ixl.c +++ b/sys/dev/ixl/if_ixl.c @@ -796,6 +796,7 @@ ixl_if_attach_post(if_ctx_t ctx) ixl_pf_reset_stats(pf); ixl_update_stats_counters(pf); ixl_add_hw_stats(pf); + ixl_vsi_reset_stats(vsi); /* * Driver may have been reloaded. Ensure that the link state