2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 19:23:57 +08:00
linux-next/net/ethtool
Michal Kubecek f625aa9be8 ethtool: provide link mode information with LINKMODES_GET request
Implement LINKMODES_GET netlink request to get link modes related
information provided by ETHTOOL_GLINKSETTINGS and ETHTOOL_GSET ioctl
commands.

This request provides supported, advertised and peer advertised link modes,
autonegotiation flag, speed and duplex.

LINKMODES_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 settings with LINKINFO_GET request 2019-12-27 16:40:02 -08:00
common.h ethtool: provide link settings with LINKINFO_GET request 2019-12-27 16:40:02 -08:00
ioctl.c ethtool: add LINKINFO_NTF notification 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: provide link mode information with LINKMODES_GET request 2019-12-27 16:40:02 -08:00
Makefile ethtool: provide link mode information with LINKMODES_GET request 2019-12-27 16:40:02 -08:00
netlink.c ethtool: provide link mode information with LINKMODES_GET request 2019-12-27 16:40:02 -08:00
netlink.h ethtool: provide link mode information with LINKMODES_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