git: de3c6546816e - stable/14 - ixv: Defer reset after mailbox failure
Kevin Bowling <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.src |
|---|---|
| Message-ID | <6a879f88.246a5.198cf88__47476.6966582806$1787273244$gmane$org@gitrepo.freebsd.org> |
The branch stable/14 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=de3c6546816e9dabe3876235695be1ed59986f23 commit de3c6546816e9dabe3876235695be1ed59986f23 Author: Kevin Bowling <[email protected]> AuthorDate: 2026-08-06 08:21:06 +0000 Commit: Kevin Bowling <[email protected]> CommitDate: 2026-08-21 00:43:35 +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) {