From nobody Fri Aug 7 14:05:01 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 4hGmB56lSSz6n8Yp for ; Fri, 07 Aug 2026 14:05:01 +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 "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hGmB545Bmz3Ndv for ; Fri, 07 Aug 2026 14:05:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1786111501; 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=HokSw4Ow0xFR5kD5da879djSTzHNrXpumtuBl+r0ymk=; b=RRUEbnkSwtYf4e0ADC8T8t9towHAXySIzLsX40bhiJ55Jzm2PuJ6TBpbJpEuLFATLkn/QT N3KfqZQcYpHN+vDGoe4RZ77DO8WYv7fYhKTHyLqaNAWxp98ALNTKMcZqHVKHpHXFqncSbE WpE88dcNsXMPAcG1ojajzZGj1Hfdg2OILBDa039+tHZ6Y93cf4z19fb1MU+DXyqjQcje9k VuUrNfjHXt8AH/N2wvafpwVai/t3oBukstUzFWDqsX/pJy8Y7+O+fDI9Zx9C8jyC6TZ7M2 2+vHEbUF1TZO6UyBf0XoWCkIJ1aHEcbk5DdulZ0zQ3PB1GB0BvmFoBpaSTElXw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1786111501; a=rsa-sha256; cv=none; b=CIO0Na8ZanQQqu1yy+2cPyYOqK0AoN6UeIS47ZaxOBz+9lQhAsNwHNPaf4YM0hKg1tqagN ZHrSw6r2RKLuo20ZbfDZHyX4vNzEx3ezIXOiztGBuGkMq5XYW5WpmvnhCwCBkW5pPcVU2I xXkRf9+hMLLD6QkCG6fg2nzCy8Y0pd1P0sFtigaQLwcZOUCrePFQCP8rt5sPFWsjy3nRKt zmIlCysWlh4sbCtxcwagb2+XJ4YWLIZQJOLVO/uNhZ7RWIE1gW+ic9rZHnKoMPqyXhrp21 UEF3ghfn13tF67MSYi3dDQoORouAop98IRra54xfgMypCNlk91PgC495PqjQaw== 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=1786111501; 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=HokSw4Ow0xFR5kD5da879djSTzHNrXpumtuBl+r0ymk=; b=yaPVW0N6YEnB51CtZtEM7KuptjHNA7hWRFFZyjxXSaNEjbmLUsUP09Ytq/t/J9S83nypxP fEkdOoq+paDUP5eqqZxA5Fz+72QynuqS5a8JMxs3NhNdgHyOPqStASX1P9o/UscN4kCb9e MwZ3simqN8PrfG68HvWOhI4HIUy5A+S5bd5Q8HB4pKYxjuig6OZ3AWjADVk2MSXpwVmJVy U4VCLIkn3BZL5pJLZBWG71q0Y5GkgEsZM4dUryHf204p3CL6mluxB+oF1phSuWiaSU6X0i NUDL1cYIleVtDLW+jRhltnULnIc2EA/CBeQwWI92Nnje7op+R7fsU6lmYfWlgg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hGmB52cRhz19D8 for ; Fri, 07 Aug 2026 14:05:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 42d76 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 07 Aug 2026 14:05:01 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: 2a2867c89a7e - main - ixv: Defer reset after mailbox failure 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: 2a2867c89a7ec2d89ad0a1be8847bb9dc0a4a9f0 Auto-Submitted: auto-generated Date: Fri, 07 Aug 2026 14:05:01 +0000 Message-Id: <6a75e60d.42d76.1ef11650@gitrepo.freebsd.org> The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=2a2867c89a7ec2d89ad0a1be8847bb9dc0a4a9f0 commit 2a2867c89a7ec2d89ad0a1be8847bb9dc0a4a9f0 Author: Kevin Bowling AuthorDate: 2026-08-06 08:21:06 +0000 Commit: Kevin Bowling CommitDate: 2026-08-07 14:04:37 +0000 ixv: Defer reset after mailbox failure When link polling loses mailbox clear-to-send or times out, request an iflib reset instead of continuing with stale VF state. The driver callback runs after iflib samples reset requests, so requeue the admin task to make iflib consume the request on its next pass rather than waiting for an unrelated timer or interrupt. MFC after: 2 weeks --- sys/dev/ixgbe/if_ixv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c index f6fb0c06e7a5..b954e092c04c 100644 --- a/sys/dev/ixgbe/if_ixv.c +++ b/sys/dev/ixgbe/if_ixv.c @@ -1020,7 +1020,8 @@ ixv_if_update_admin_status(if_ctx_t ctx) if (status != IXGBE_SUCCESS && sc->hw.adapter_stopped == false) { /* Mailbox's Clear To Send status is lost or timeout occurred. * We need reinitialization. */ - if_init(ifp, ctx); + iflib_request_reset(ctx); + iflib_admin_intr_deferred(ctx); } if (sc->link_up && sc->link_enabled) {