git: c8aabf251428 - stable/15 - ixv: Wire iflib suspend and resume methods

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Fri, 18 Sep 2026 00:10:29 UTC
The branch stable/15 has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=c8aabf25142806a766c2e3e5690f885c3b73b947

commit c8aabf25142806a766c2e3e5690f885c3b73b947
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-09-03 03:32:14 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-09-18 00:10:21 +0000

    ixv: Wire iflib suspend and resume methods
    
    Register the standard iflib device suspend and resume methods so the
    framework reinitializes the VF datapath after a system power
    transition.
    
    Sponsored by:   BBOX.io
    
    (cherry picked from commit 10d09e6e8a7ff141b5dc39e6ddca5b7c2cb0b66b)
---
 sys/dev/ixgbe/if_ixv.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/ixgbe/if_ixv.c b/sys/dev/ixgbe/if_ixv.c
index 24b6f798289d..391e38f218f2 100644
--- a/sys/dev/ixgbe/if_ixv.c
+++ b/sys/dev/ixgbe/if_ixv.c
@@ -172,6 +172,8 @@ static device_method_t ixv_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
 };