git: 10d09e6e8a7f - main - ixv: Wire iflib suspend and resume methods

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Thu, 03 Sep 2026 03:36:55 UTC
The branch main has been updated by kbowling:

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

commit 10d09e6e8a7ff141b5dc39e6ddca5b7c2cb0b66b
Author:     Kevin Bowling <kbowling@FreeBSD.org>
AuthorDate: 2026-09-03 03:32:14 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-09-03 03:36:40 +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.
    
    MFC after:      2 weeks
    Sponsored by:   BBOX.io
---
 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 c88c334ee94f..1eed2a29e933 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
 };