diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2019-12-27 15:56:08 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-28 01:40:02 +0100 |
commit | f625aa9be8c10f2e4dc677837e240730a25feda7 (patch) | |
tree | 0d6ee55c38a6a26d3101c74ac594c0641e016436 /net/ethtool/Makefile | |
parent | ethtool: add LINKINFO_NTF notification (diff) | |
download | linux-f625aa9be8c10f2e4dc677837e240730a25feda7.tar.xz linux-f625aa9be8c10f2e4dc677837e240730a25feda7.zip |
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>
Diffstat (limited to 'net/ethtool/Makefile')
-rw-r--r-- | net/ethtool/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/Makefile b/net/ethtool/Makefile index 765736ec52c0..8023da6672ce 100644 --- a/net/ethtool/Makefile +++ b/net/ethtool/Makefile @@ -4,4 +4,4 @@ obj-y += ioctl.o common.o obj-$(CONFIG_ETHTOOL_NETLINK) += ethtool_nl.o -ethtool_nl-y := netlink.o bitset.o strset.o linkinfo.o +ethtool_nl-y := netlink.o bitset.o strset.o linkinfo.o linkmodes.o |