[Bug 189531] [fxp] Wake on Lan (WOL) enabled for Intel 82562EZ ethernet adapter, but WOL does not work

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 3 17:33:46 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=189531

--- Comment #2 from Sean Bruno <sbruno at FreeBSD.org> ---
(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 at gmail.com>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list