Page MenuHomeFreeBSD

bnxt: Add support for magic packet based Wake-on-LAN.
ClosedPublic

Authored by venkatkumar.duvvuru_broadcom.com on Mar 24 2017, 7:09 AM.
Tags
None
Referenced Files
F168052704: D10124.id27178.diff
Wed, Aug 26, 3:54 AM
F168046507: D10124.id26623.diff
Wed, Aug 26, 3:07 AM
F167995416: D10124.diff
Tue, Aug 25, 8:04 PM
F167949172: D10124.id.diff
Tue, Aug 25, 2:14 PM
Unknown Object (File)
Tue, Aug 25, 12:19 AM
Unknown Object (File)
Tue, Aug 25, 12:17 AM
Unknown Object (File)
Tue, Aug 25, 12:17 AM
Unknown Object (File)
Tue, Aug 25, 12:16 AM

Details

Summary

To enable WoL:-
sysctl dev.bnxt.<if_id>.wol=1

To disable WoL:-
sysctl dev.bnxt.<if_id>.wol=0

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8582
Build 8896: arc lint + arc unit

Event Timeline

sbruno requested changes to this revision.Mar 27 2017, 2:06 PM

In order for iflib and the network stack to know about WOL, you need to set the capabilities for WOL in the driver. I didn't see this done in this patch and I don't see it being done in the driver in the tree.

An example of what I'm referring to can be seen in sys/dev/e1000/if_em.c::2630

This lets the stack know that the WOL capabilities are enabled.

This revision now requires changes to proceed.Mar 27 2017, 2:06 PM
venkatkumar.duvvuru_broadcom.com edited edge metadata.

bnxt: Add support for magic packet based Wake-on-LAN.

This revision was automatically updated to reflect the committed changes.