ethtool: add WOL_NTF notification
authorMichal Kubecek <mkubecek@suse.cz>
Sun, 26 Jan 2020 22:11:19 +0000 (23:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2020 10:31:36 +0000 (11:31 +0100)
commit67bffa79231f15ba372007972563cc8aa5e48bfa
treed1aa3d47c4ac13d64bebe5099a7e52eb4a95ca83
parent8d425b19b305a77cb1ba67b84e7c1ca547de032f
ethtool: add WOL_NTF notification

Send ETHTOOL_MSG_WOL_NTF notification whenever wake-on-lan settings of
a device are modified using ETHTOOL_MSG_WOL_SET netlink message or
ETHTOOL_SWOL ioctl request.

As notifications can be received by anyone, do not include SecureOn(tm)
password in notification messages.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ethtool-netlink.rst
include/uapi/linux/ethtool_netlink.h
net/ethtool/ioctl.c
net/ethtool/netlink.c
net/ethtool/wol.c