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
This commit is contained in:
Kevin Bowling committed 2026-09-11 13:16:45 -07:00
1 parent 45dc4a1365
commit f496cd95cf
1 file changed
+4
+4
View File
@@ -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.