From nobody Fri Sep 11 20:17:14 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 4hhQnQ5jT8z6rDfm for ; Fri, 11 Sep 2026 20:17:14 +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 4hhQnQ4zhNz4KHl for ; Fri, 11 Sep 2026 20:17:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789157834; 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=CpXAVuJU4qQtA4E5U6NEuph3OYJtTiZwLV8LYeoQ9Cs=; b=Mo+cGgR22UuQH7AkCnijcckx8idrpwymYLb2IgqABTPS6HDg28/HuxF+Pq7Ze1XbAoDquu onuFANzkpKjklTXL4m/6EfpOJ+FCEQDZxmFgmF6necQMCVQJsFhQo0mf+HR6JekiGLplrD h/dRsc2bHTSNaBpcR1fmnlRGcjpETen4EGzncyOQ/R9PkkCxZtG/Qj8dhy9QjmRdPCHAag QsnYa8aeIq/4er5yBgJhShHISHsqkHciVMEt/7xmyZ+OPN7edtl5WCqjHdB1htl41Qxm2E 2lZLjHsBzEhkLPI1mGGTStEe43MCS3/RJqq5rbNSITPCm9C1QczZ+a822ZFYDA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789157834; b=Yq3NfXTdOO+N+0+jDAtQAfTNnKuZsi1mqS3ydtOy8k/vs4LZEf82CxXKkTSmtTboA3TMav n6Sj1wPctZR/CpH+3xgouuvm31GOBEuISAhHy4ois/B/EgenMNo9/GRibSTnHfAHxD8WRC oJEAsRkbkXU5bt+T9M2nSbm8+FuGXDEdDDNQgu+15vwLQ0jbaHKgszVf1TihYa6kwWYgSF HTDj8Q2o4Z6ZBvQbK+tC3Sg7PytKRD9aEP/SsXLnmeNLlJSO3VYM17w5n+lPeIxeVP9p/K enhnWTLtPRgQelCeJesepEZSpEQDoIK3Ea1yCxDjEpL2K4tI4xxQk6ZZySeqkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789157834; 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=CpXAVuJU4qQtA4E5U6NEuph3OYJtTiZwLV8LYeoQ9Cs=; b=BMtY26/DHayT3EvrvaxSJzcfHBZlW1WhrtrKTXG9CnFTPGRIl6/rl+NX058V2AXtPIVw+B n1syZI4neUocV79Jv3bX5Hu6yxJvr7Kt+U5m2CoO4k5qN04Z5L9zjSQbOLO1yECuREMofz wGQ+acTziFq15CWoYLcHaRM95IkEzz+2JeI1IH0i+oIJwshIKpcRm6w2XuUGF8UY6TE68m h9pmg/AAPygmXPqShOETYnG8MpPc8DdtmzThLJbJi9NHuU5OUrnZ9UUoCNGKLHRP9D5nzE XLKd7ZwmY19mAlPLmSN7V7+Tgd0SNwx1xb5poGHDgfWVBtWBVtsvUfvRkS9sGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hhQnQ42XhzSDy for ; Fri, 11 Sep 2026 20:17:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 25c82 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 11 Sep 2026 20:17:14 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kevin Bowling Subject: git: f496cd95cf9e - main - iflibdd(9): Clarify resume during suspend rollback 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: f496cd95cf9e1ed68b0df3ae2f7a24fc0f66aa6b Auto-Submitted: auto-generated Date: Fri, 11 Sep 2026 20:17:14 +0000 Message-Id: <6aa461ca.25c82.2475a517@gitrepo.freebsd.org> The branch main has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=f496cd95cf9e1ed68b0df3ae2f7a24fc0f66aa6b commit f496cd95cf9e1ed68b0df3ae2f7a24fc0f66aa6b Author: Kevin Bowling AuthorDate: 2026-09-11 20:16:45 +0000 Commit: Kevin Bowling CommitDate: 2026-09-11 20:16:45 +0000 iflibdd(9): Clarify resume during suspend rollback The resume callback also runs when suspend fails, without an intervening PCI power-state transition or configuration-space restore. Document that drivers must not assume either has occurred. MFC after: 2 weeks Sponsored by: BBOX.io --- share/man/man9/iflibdd.9 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/share/man/man9/iflibdd.9 b/share/man/man9/iflibdd.9 index 54551c9c7053..23c293a604bf 100644 --- a/share/man/man9/iflibdd.9 +++ b/share/man/man9/iflibdd.9 @@ -272,6 +272,10 @@ Shutdown errors are returned without attempting rollback. .It Fn ifdi_resume Optional function that restores suspend-specific device state while the datapath remains stopped. +This function is also called to roll back a failed suspend. +It must not assume that a PCI power-state transition or configuration-space +restore has occurred since +.Fn ifdi_suspend . After it succeeds, iflib initializes the datapath exactly once when the interface is administratively up and leaves an administratively-down interface stopped.