Summary: | [fxp] Wake on Lan (WOL) enabled for Intel 82562EZ ethernet adapter, but WOL does not work | ||
---|---|---|---|
Product: | Base System | Reporter: | Jim <jkriordan> |
Component: | kern | Assignee: | freebsd-net (Nobody) <net> |
Status: | Closed Not Enough Information | ||
Severity: | Affects Only Me | CC: | sbruno |
Priority: | Normal | Keywords: | IntelNetworking |
Version: | Unspecified | ||
Hardware: | Any | ||
OS: | Any |
Description
Jim
2014-05-09 22:00:02 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-net Over to maintainer(s). (In reply to jkriordan from comment #0) Please post the revision of FreeBSD you are using for this issue. Looking at logs, WOL has not been touched since: ------------------------------------------------------------------------ r251600 | yongari | 2013-06-10 00:31:49 -0700 (Mon, 10 Jun 2013) | 24 lines Avoid unnecessary controller reinitialization by checking driver running state. fxp(4) requires controller reinitialization for the following cases. o RX lockup condition on i82557 o promiscuous mode change o multicast filter change o WOL configuration o TSO/VLAN hardware tagging/checksum offloading configuration o MAC reprogramming after speed/duplex/flow-control resolution o Any events that result in MAC reprogramming(link UP/DOWN, remote link partner's restart of auto-negotiation etc) o Microcode loading/unloading Apart from above cases which come from hardware limitation, upper stack also blindly reinitializes controller whenever an IP address is assigned. After r194573, fxp(4) no longer needs to reinitialize the controller to program multicast filter after upping the interface. So keeping track of driver running state should remove all unnecessary controller reinitializations. This change will also address endless controller reinitialization triggered by dhclient(8). Tested by: hrs, Alban Hertroys <haramrae@gmail.com> batch change: For bugs that match the following - Status Is In progress AND - Untouched since 2018-01-01. AND - Affects Base System OR Documentation DO: Reset to open status. Note: I did a quick pass but if you are getting this email it might be worthwhile to double check to see if this bug ought to be closed. |