summaryrefslogtreecommitdiff
path: root/net/ethtool/Makefile
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2019-12-27 17:55:18 +0300
committerDavid S. Miller <davem@davemloft.net>2019-12-28 03:40:01 +0300
commit2b4a8990b7df55875745a80a609a1ceaaf51f322 (patch)
treed164f30c2750d1288ea252df535aa53a4f04c4c3 /net/ethtool/Makefile
parent356b23c073dd063427102329b296061855b912d9 (diff)
downloadlinux-2b4a8990b7df55875745a80a609a1ceaaf51f322.tar.xz
ethtool: introduce ethtool netlink interface
Basic genetlink and init infrastructure for the netlink interface, register genetlink family "ethtool". Add CONFIG_ETHTOOL_NETLINK Kconfig option to make the build optional. Add initial overall interface description into Documentation/networking/ethtool-netlink.rst, further patches will add more detailed information. Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool/Makefile')
-rw-r--r--net/ethtool/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/ethtool/Makefile b/net/ethtool/Makefile
index f68387618973..59d5ee230c29 100644
--- a/net/ethtool/Makefile
+++ b/net/ethtool/Makefile
@@ -1,3 +1,7 @@
# SPDX-License-Identifier: GPL-2.0-only
-obj-y += ioctl.o common.o
+obj-y += ioctl.o common.o
+
+obj-$(CONFIG_ETHTOOL_NETLINK) += ethtool_nl.o
+
+ethtool_nl-y := netlink.o