summaryrefslogtreecommitdiffstats
path: root/net/ethtool/Makefile
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-03-30 05:59:52 +0200
committerDavid S. Miller <davem@davemloft.net>2021-03-31 23:15:23 +0200
commit1e5d1f69d9fb8ea0679f9e85915e8e7fdacfbe7a (patch)
tree46f2663c669df57342a05aeef88d0e6b6e17fd85 /net/ethtool/Makefile
parentnet: ethernet: Fix typo of 'network' in comment (diff)
downloadlinux-1e5d1f69d9fb8ea0679f9e85915e8e7fdacfbe7a.tar.xz
linux-1e5d1f69d9fb8ea0679f9e85915e8e7fdacfbe7a.zip
ethtool: support FEC settings over netlink
Add FEC API to netlink. This is not a 1-to-1 conversion. FEC settings already depend on link modes to tell user which modes are supported. Take this further an use link modes for manual configuration. Old struct ethtool_fecparam is still used to talk to the drivers, so we need to translate back and forth. We can revisit the internal API if number of FEC encodings starts to grow. Enforce only one active FEC bit (by using a bit position rather than another mask). Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool/Makefile')
-rw-r--r--net/ethtool/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/Makefile b/net/ethtool/Makefile
index 7a849ff22dad..c2dc9033a8f7 100644
--- a/net/ethtool/Makefile
+++ b/net/ethtool/Makefile
@@ -7,4 +7,4 @@ obj-$(CONFIG_ETHTOOL_NETLINK) += ethtool_nl.o
ethtool_nl-y := netlink.o bitset.o strset.o linkinfo.o linkmodes.o \
linkstate.o debug.o wol.o features.o privflags.o rings.o \
channels.o coalesce.o pause.o eee.o tsinfo.o cabletest.o \
- tunnels.o
+ tunnels.o fec.o