linux-stable/net/ethtool
Michal Kubecek 3d2b847fb9 ethtool: provide link state with LINKSTATE_GET request
Implement LINKSTATE_GET netlink request to get link state information.

At the moment, only link up flag as provided by ETHTOOL_GLINK ioctl command
is returned.

LINKSTATE_GET request can be used with NLM_F_DUMP (without device
identification) to request the information for all devices in current
network namespace providing the data.

Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-12-27 16:40:02 -08:00
..
bitset.c ethtool: netlink bitset handling 2019-12-27 16:40:01 -08:00
bitset.h ethtool: netlink bitset handling 2019-12-27 16:40:01 -08:00
common.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
common.h ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
ioctl.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
linkinfo.c ethtool: add LINKINFO_NTF notification 2019-12-27 16:40:02 -08:00
linkmodes.c ethtool: add LINKMODES_NTF notification 2019-12-27 16:40:02 -08:00
linkstate.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
Makefile ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
netlink.c ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
netlink.h ethtool: provide link state with LINKSTATE_GET request 2019-12-27 16:40:02 -08:00
strset.c ethtool: provide string sets with STRSET_GET request 2019-12-27 16:40:01 -08:00