The branch stable/15 has been updated by kbowling: URL: https://cgit.FreeBSD.org/src/commit/?id=65fbb9de87a7fbcc793a28029b18e0d3720cdaec
commit 65fbb9de87a7fbcc793a28029b18e0d3720cdaec Author: Kevin Bowling <[email protected]> AuthorDate: 2026-09-03 03:32:14 +0000 Commit: Kevin Bowling <[email protected]> CommitDate: 2026-09-18 00:10:07 +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. Sponsored by: BBOX.io (cherry picked from commit b8fe6d7055b3a274cd646d0a6b5d3928f2fd7d7a) --- 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 };
