Date: Fri, 07 Aug 2026 14:05:01 +0000 From: Kevin Bowling <kbowling@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 2a2867c89a7e - main - ixv: Defer reset after mailbox failure Message-ID: <6a75e60d.42d76.1ef11650@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=2a2867c89a7ec2d89ad0a1be8847bb9dc0a4a9f0 commit 2a2867c89a7ec2d89ad0a1be8847bb9dc0a4a9f0 Author: Kevin Bowling <kbowling@FreeBSD.org> AuthorDate: 2026-08-06 08:21:06 +0000 Commit: Kevin Bowling <kbowling@FreeBSD.org> 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) {home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a75e60d.42d76.1ef11650>
