To enable WoL:-
sysctl dev.bnxt.<if_id>.wol=1
To disable WoL:-
sysctl dev.bnxt.<if_id>.wol=0
Paths
| Differential D10124 Authored by venkatkumar.duvvuru_broadcom.com on Mar 24 2017, 7:09 AM.
Details
Summary To enable WoL:- To disable WoL:-
Diff Detail
Event Timelinevenkatkumar.duvvuru_broadcom.com created this revision.Mar 24 2017, 7:09 AM2017-03-24 07:09:36 (UTC+0) Harbormaster completed remote builds in B8270: Diff 26623.Mar 24 2017, 7:09 AM2017-03-24 07:09:36 (UTC+0) Herald added subscribers: Contributor Reviews (src), imp. · View Herald TranscriptMar 24 2017, 7:09 AM2017-03-24 07:09:36 (UTC+0) Comment Actions 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 PM2017-03-27 14:06:35 (UTC+0) venkatkumar.duvvuru_broadcom.com updated this revision to Diff 27178.Apr 7 2017, 1:51 PM2017-04-07 13:51:40 (UTC+0) venkatkumar.duvvuru_broadcom.com edited edge metadata. Comment Actionsbnxt: Add support for magic packet based Wake-on-LAN. Harbormaster completed remote builds in B8582: Diff 27178.Apr 7 2017, 1:51 PM2017-04-07 13:51:43 (UTC+0) Closed by commit rS316616: bnxt(4): add support for WOL Magic. (authored by sbruno). · Explain WhyApr 7 2017, 4:16 PM2017-04-07 16:16:09 (UTC+0) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 27178 sys/dev/bnxt/bnxt.h
sys/dev/bnxt/bnxt_hwrm.h
sys/dev/bnxt/bnxt_hwrm.c
sys/dev/bnxt/if_bnxt.c
|
This line is longer then 80 lines.