]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: provide WoL settings with WOL_GET request
authorMichal Kubecek <mkubecek@suse.cz>
Sun, 26 Jan 2020 22:11:13 +0000 (23:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2020 10:31:36 +0000 (11:31 +0100)
commit163763a4c77c62cb56c1291c78e2e821aac5e33d
tree278820e9b0c6c519e55f852145bd33125f45f26d
parent694575b0bdf6670b164cc2bc20f19c7578e5871a
ethtool: provide WoL settings with WOL_GET request

Implement WOL_GET request to get wake-on-lan settings for a device,
traditionally available via ETHTOOL_GWOL ioctl request.

As part of the implementation, provide symbolic names for wake-on-line
modes as ETH_SS_WOL_MODES string set.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ethtool-netlink.rst
include/uapi/linux/ethtool.h
include/uapi/linux/ethtool_netlink.h
net/ethtool/Makefile
net/ethtool/common.c
net/ethtool/common.h
net/ethtool/netlink.c
net/ethtool/netlink.h
net/ethtool/strset.c
net/ethtool/wol.c [new file with mode: 0644]