git: cb93472911c7 - stable/15 - ixv: Defer reset after mailbox failure
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Aug 2026 00:32:56 UTC
The branch stable/15 has been updated by kbowling:
URL: https://cgit.FreeBSD.org/src/commit/?id=cb93472911c75e2163e3f96302b68d88894c4f62
commit cb93472911c75e2163e3f96302b68d88894c4f62
Author: Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-08-06 08:21:06 +0000
Commit: Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-08-21 00:32:48 +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.
(cherry picked from commit 2a2867c89a7ec2d89ad0a1be8847bb9dc0a4a9f0)
---
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) {