From nobody Fri Sep 04 01:52:05 2026 X-Original-To: dev-commits-src-all@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 4hbfbZ6VB7z6qnkm for ; Fri, 04 Sep 2026 01:52:10 +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 4hbfbZ5CtVz3tVs for ; Fri, 04 Sep 2026 01:52:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788486730; 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=vqMNIYEDfuhQeZGn6n6pcQY8lSFi7pJMXwmHVIQKwhhGkSxrnI87gp6cx1ZBQ+JOL/CNHw ePNN/Z5yo2sKnOd3OMwygRvlHLYmdkYxzxkRcSa8ItXryAwceVfdILSO6x3HnXhDXgeQ4E 0jorBViCJl1oqPeEhvs50YMusdYlYGS2FktmECELXPNrlx0tsI4SS4UtEIWwOPyX2AIS2F wCizRpJWkrSQikED1LeNN2wZRPpTuHxipujO8Zsg5ZrdGD+CHPzFZ+iG5c5ygc+g1gYfRV lnnvJBYrKS8Z1KBk8O2Uc27BmmxBGViyVYAnj1GZeh2nJJyTEQZQE20fJD5KHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788486730; a=rsa-sha256; cv=none; b=DZ9MjToKMjjXt+EAfwcBe1wZlc7AeFYuU0pX0daswDVih8L2IToOKUk5GCzP5rJJn2PS+/ H7FeTG2KUbTidw8m2oTx765aATBCeazM2otCW0pRtXtoHLMfXZXMeyiAh43+vbE9UAnCyx dJEySvNYemDcBPHX93L1e6ES04qgZbyBqSsuxrgxblmjJltAlm1ch6VYmf5K+rqLM9oOK0 EsikiAU/SFo94MRGweONzAm4CaY9heGoxvJCMOwm2HsqR7vP+yRp0Lurxh5mao81AfzGJV wY7dOwE4+BYCg0OgvLgAJQDxRRhW7NWNT5tDXgEH90mwC5WPIT/g/1ODaw4TVw== 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=1788486730; 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=kCIJOLxv3CdoEs+4utdwQzhlcZ+jEjwumRcd7eiASbYBZRzCXfpAHZZhoTcUCc8w6KFM8r uSXjTNUkOJ3J0L5wdiJXZqYbnaWDQ1YPygqOJJe8N2yuGCBLhba5CjBAWZ2yRgZnA5+CY4 +IGP3d+wnnDkTCkzjn/DcHb51LxV6HbejKaQ8BkxlXUKtb7E/WWFQZ2+BRBSGAGS7YL8y2 goQI2lLVPKYDkJZK3oqCf6lSMG/ojUH6UFRfKoVkBAja50zxLPn3r0kp0/wscu9qRMm47y XKBkG9+l3xpyzdKLn2xNfHGxRe0iMW2j8vYA223D3ILRpYaJa+PZb9Vgrmuz4w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hbfbZ3pFJzfTL for ; Fri, 04 Sep 2026 01:52:10 +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 all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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