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)
This commit is contained in:
parent
7be2415c07
commit
8d203db2d4
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue