From nobody Thu Sep 03 03:37:51 2026 X-Original-To: dev-commits-src-main@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 4hb4zz5Bpqz6qV3c for ; Thu, 03 Sep 2026 03:37:51 +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 4hb4zz4fKYz3kLQ for ; Thu, 03 Sep 2026 03:37:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1788406671; 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=ryoBbdmTy6TA4IPlUcZ8HTBxt0jnUO2Ro0gvPypv7Lm7tLQaCNP3KXVzn5Jg7ZCYrBscco czKlaRL89V93NgZoBCda7ZY8NUQmkvaJl+m4oXAdTNyhkxOOqp7R5X+WKJVk4J+7KX1mf7 IGzLVZdUsl0WX5KyRhmb7HJDl4iBfWAnAak8i7QXzlPxGISCb4pGklOA1ckbWWfEibkywQ htxxpSVtIVyqjfHqctyEDTAzMlDgSjQxqv+UESH7lxLx/zq7xJbqi6I2JpKfbf+sgPKwZb XVa3QYH5ZwANUtvkKpTvwcHKKSt3yzEXwrl+kKWcP2Lk5JI8uVn1DCpCgUYwyg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1788406671; a=rsa-sha256; cv=none; b=pNI22Um7VaSFT1uoSMw/IFlV4zsgEon/ruW97hLdyTA7Xgi8D2VTHaa7CMRI1tuaso+JE/ eocO94j9en5KMbESQuPPvs6ATUsp95wENktsgaOluqyPE+QHu5fADsj2egDtyCOc814Ge5 nttEFkfIgbgBTsrcXQp20rlw9JiXmyvVh/J3eiIubS4HOPar8lqbb8pV73RKP157SZlxMe 2UApBfP9vjf5VBecey+e9ePKGSMZ7939rk/C001m7M3vaJ6zJRg12B+ME2feUaLDxziC8T zVpZuGuF7GSj1zFkut0q3kgICUfcUqU+feW/9poy0GKvBWBWcTfagtSVBI1LBA== 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=1788406671; 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=r+QxgcLyDaN3gWN/XWMz4xuzgcWYb4sDvy4CeFaq360AHnGchimTG669KdooVxcIVJi0Fp yVEl2h2jqUcnrlk9ciQGk5gzAeJGjI0ZR5kDIdduu9hbzCfC9d0/D+lFaIB0AiHv9mdooU lpXIdjWWBezFEBtUtLDMy8BVfQwjSIHGxO1YpkhFcn669Ui1+JyuIiT6M4Nurj9w8IR4wq zLou8V9YklLjUZ/t5a8X3GBUHjrVcSOlfqnGbm+8WsesABJcuIXvWtiFU9JV2eU9J+alt8 7yVpksBMUuACQLI3OScIY7Y2x9TI1jPVumk/QS95ePS1jW20MgIHc0YC6/BQYg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hb4zz3Ccqz1B0q for ; Thu, 03 Sep 2026 03:37:51 +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 the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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); }