From nobody Thu Sep 03 03:37:51 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 4hb50469zgz6qTkT for ; Thu, 03 Sep 2026 03:37:56 +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 4hb50457w2z3kfx for ; Thu, 03 Sep 2026 03:37:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788406676; 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=FlM5Pk0w8E0xRTquSKPEl/ahNiyL3g9r1ga6C4fRS8w=; b=qkSsijqgKvneoW3yWjWUoEZLccg2PEoe6tkcCm5ePL5wRKEtisb3H3zoAp/LzPJPDCI90I 8iAC9HcyBTzHcLCwXnJ09EfHNR2dLAPsBIwePubt4yMrO6BzdISJHR7Rp9D6iMxHedpk9M y+5AriuQCX75wL/kGtAMpFsA1gK8HIHvE9C+Qv47sk03FZUQBf1DqBF8SayDtrNiIGi5FV PgThhDPH0kcz8JMH/gxbbZsnKd/kUdJdIJrINo5qkmm0Y4dUfyENw93JpM7RnyBxPWxzqF lYR7V4VUGmNxq730enH4GHbNgpz9Azp0LEMQ7XJ4J8cOAH/jluT+p9OTNjf34A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788406676; a=rsa-sha256; cv=none; b=WsFBrh5WXkEHXuKp+WrjftNh7/j/LzKRN6PJ61xLJka33YsR5uqDZnfU11buv0NqCuYIrn pWvEP55Zt5wunBQB2zcegqB2Es13U+rimVvnTr0omu9+prwj7qsf/J+BKdv2dwKt8K0oPH 27a+CEZuf0d+2ENkAPUSL9EkBo7iFWa1qZo40fGO+B8RIhJWtM3zYIEAGet8h62zGfEO4W cRryG0OwHt/cer3fV2z8Yks7jbVZjhDqwu5zEX0/ueEm6+RXa6lvBfV6nGxDBsO829yig/ jCWfS1nt1+XuJjBHO/2lDEZbiZgsW+GMfaBtUVpJ8uREGSk0rX6TJzyrBgYJhg== 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=1788406676; 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=FlM5Pk0w8E0xRTquSKPEl/ahNiyL3g9r1ga6C4fRS8w=; b=cj0CT8cuzHlNnlD9HhYj2LMnYw1llOQPY9luMMT3w7tlAmiNXrp5IvVtsEq/Zrx+uxqPdT FJU63+Sxu96c4d+CFuC4OzqUcwIE1/eg0+VPDXA0YqWA6LdqthIWkGTDo30cFe5uN/OyNE 7n4JKuFchyqX8Ah+5RV35vs9R1CLlxrR9mFSI8MaVRKYInGudW4D9lgd0B2GXpI/qQFiRw XxVgx54ZuVmmnrK7EGjpj3gIqyCdJcclV2ijo8kLfo0vAZ2OobBF2hqF3elnybkKD9vq3b iFwMoDE8sWM4KW9STC6h56lVHM4sK0Dzdba1IdTHWN45jlQ6/DSVbZ7uK2236A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hb5043lR2z1Bhw for ; Thu, 03 Sep 2026 03:37:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3690e by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 03 Sep 2026 03:37:51 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: d5aa8022da56 - main - ixl: Route suspend and resume through iflib 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: d5aa8022da56c5188e9f2c7068d95009ff2019be Auto-Submitted: auto-generated Date: Thu, 03 Sep 2026 03:37:51 +0000 Message-Id: <6a98eb8f.3690e.773c2c7b@gitrepo.freebsd.org> The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=d5aa8022da56c5188e9f2c7068d95009ff2019be commit d5aa8022da56c5188e9f2c7068d95009ff2019be Author: Kevin Bowling AuthorDate: 2026-09-03 03:32:14 +0000 Commit: Kevin Bowling CommitDate: 2026-09-03 03:37:04 +0000 ixl: Route suspend and resume through iflib Register the iflib device suspend and resume methods. Remove the direct initialization from the driver resume callback because iflib_device_resume() performs the datapath restart after the callback returns. MFC after: 2 weeks Sponsored by: BBOX.io --- sys/dev/ixl/if_ixl.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/dev/ixl/if_ixl.c b/sys/dev/ixl/if_ixl.c index 886a4e52303c..2bddcc605869 100644 --- a/sys/dev/ixl/if_ixl.c +++ b/sys/dev/ixl/if_ixl.c @@ -144,6 +144,8 @@ static device_method_t ixl_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), #ifdef PCI_IOV DEVMETHOD(pci_iov_init, iflib_device_iov_init), DEVMETHOD(pci_iov_uninit, iflib_device_iov_uninit), @@ -940,16 +942,10 @@ ixl_if_suspend(if_ctx_t ctx) static int ixl_if_resume(if_ctx_t ctx) { - if_t ifp = iflib_get_ifp(ctx); - INIT_DEBUGOUT("ixl_if_resume: begin"); /* Read & clear wake-up registers */ - /* Required after D3->D0 transition */ - if (if_getflags(ifp) & IFF_UP) - ixl_if_init(ctx); - return (0); }