[Bug 238411] igb(4): Wake on Lan not working with Intel I210
[email protected] Sat, 23 May 2026 04:41:10 +0000
| Newsgroups | gmane.os.freebsd.devel.net |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238411 --- Comment #36 from Kaho Toshikazu <[email protected]> --- (In reply to Bjoern A. Zeeb from comment #35) The function em_if_shutdown() call only em_if_suspend() and both iflib_device_shutdown() and iflib_device_suspend() call bus_generic_suspend(). It seems both functions are doing almost the same thing. Before iflib integration, the function em_initialize_receive_unit() isn't called at initialize phase, and it is called when the interface is activated to receive packets. But after iflib, I think em_initialize_receive_unit() is called at least once. If the laptop can't wake up when it boots and immediately suspend, but it wakes up after the interface was used for some connections, this patch may help in this situation. static int em_if_suspend(if_ctx_t ctx) { struct e1000_softc *sc = iflib_get_softc(ctx); + em_initialize_receive_unit(ctx); em_release_manageability(sc); em_release_hw_control(sc); em_enable_wakeup(ctx); return (0); } -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.