From nobody Thu Sep 03 03:36:27 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 4hb4yN1C6Fz6qTRN for ; Thu, 03 Sep 2026 03:36:28 +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 4hb4yM75L5z3j9X for ; Thu, 03 Sep 2026 03:36:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788406588; 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=1+YgCZcoqRLg8Hjx6tyeZAWpazMLhvClPJ4WOEDY6Vc=; b=Y+/hJ2wtlgzPoJjJIF1AfBiQFMVthhvVMOMTvOzpfnk/num3sYsP7P2piuHbM70pheLKZ/ gpoUbZ8Erfbv+mPpmPysOTGWo/06O4wgDfSuxXZm+OcW4Zy2KfNSS54/OLUv8mXIB3HKqo +m1ld7ZjEKxa9yjpUCgggLqtQAIEFue9txmLCtid2w5tqjyknxHMIdlNcT15+Pz96OktcS /dM9vKp6C3tAeF/5d4oE/pmtksTfaQcmfjiDEgsc8cb9xOu1WZ5so7GrmFN++KUdldh9d1 +gRq2xBzDRfxu/zRBD6XELsaO5XHj3HwmOEbUYNhXSfPFqa+Ty98M0o9pkhIeA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788406588; a=rsa-sha256; cv=none; b=o3DZhvDxsUs7lEf5V4uq5aw6MaxzFtgJBXhn+f94ju25f2wzmljRdIbM2x1PCeKoNtyzJe Ec+Cbn8znvbtRh1PqIyhL2yshZGQGkshVzGIeWZLhr3R0t2QYjXh7NPIpNboHlEfMqC0K4 070j8YIPKeGYu/nTI9h0hmro/7d28Bnjjk6IW4fmhNNH05E0UL7RsnJcz4wB8jE+ygayYh u+SJujY9NkSOzAGIrmUMcE4YcPZjcu3R+ctTiI7LsHX4rr4MEJLFklOXX5efTBTZb2CfgL bZbv6eiUfh/ZPhegsvpxk54vQcgrpgqBET7qligr7XbrYPPMZhEHZoXlCEW7QQ== 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=1788406588; 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=1+YgCZcoqRLg8Hjx6tyeZAWpazMLhvClPJ4WOEDY6Vc=; b=tzoPGkvPDihfmcL5wytaiQy96RXtRw42QczdLPySppyn7xrllYYLEPFiqsvsS2F1NgeunW izjqExseqULH6vuhTT1dNLwrZJz6Wcm8dBIqVcn7wHFVOuIh5BoBNLm6PPWqsOzrxtI0jp YCFk2SzlQQKEAG3/GhBnos/nx1y8nG4ctG/P6ITQ0tgKqFDEsHR2xkZs/XSUjljDI8uKGy VyIyM3WNBM9g070KM++PCRP7slQVXeib0R4jTljajxn7qsMaHoGCQ1iGh1kl8sq+V07zyL KMGVr7NWQVM45BpnXBGfUoY7vWRmcAXF9mCTc2wyc/nr6ji2FIjIdgeeBFHUfw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hb4yM5Zrfz1BTw for ; Thu, 03 Sep 2026 03:36:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 36e52 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 03 Sep 2026 03:36:27 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: b8fe6d7055b3 - main - iavf: Wire iflib suspend and resume methods 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: b8fe6d7055b3a274cd646d0a6b5d3928f2fd7d7a Auto-Submitted: auto-generated Date: Thu, 03 Sep 2026 03:36:27 +0000 Message-Id: <6a98eb3b.36e52.4f982d2@gitrepo.freebsd.org> The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=b8fe6d7055b3a274cd646d0a6b5d3928f2fd7d7a commit b8fe6d7055b3a274cd646d0a6b5d3928f2fd7d7a Author: Kevin Bowling AuthorDate: 2026-09-03 03:32:14 +0000 Commit: Kevin Bowling CommitDate: 2026-09-03 03:35:56 +0000 iavf: Wire iflib suspend and resume methods Register the iflib device suspend and resume methods so the existing driver callbacks run during system power transitions. This stops mailbox retry work before suspend and lets iflib reinitialize the datapath after resume. MFC after: 2 weeks Sponsored by: BBOX.io --- sys/dev/iavf/if_iavf_iflib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/iavf/if_iavf_iflib.c b/sys/dev/iavf/if_iavf_iflib.c index c9fed8493103..aba31d05ee1d 100644 --- a/sys/dev/iavf/if_iavf_iflib.c +++ b/sys/dev/iavf/if_iavf_iflib.c @@ -141,6 +141,8 @@ static device_method_t iavf_methods[] = { DEVMETHOD(device_attach, iflib_device_attach), DEVMETHOD(device_detach, iflib_device_detach), DEVMETHOD(device_shutdown, iflib_device_shutdown), + DEVMETHOD(device_suspend, iflib_device_suspend), + DEVMETHOD(device_resume, iflib_device_resume), DEVMETHOD_END };