diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-02-25 22:34:02 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-26 11:49:05 -0500 |
commit | f4b6bcc7002f0e3a3428bac33cf1945abff95450 (patch) | |
tree | 12631c8e4f27bc0274072aaa9fb72eb1b6d96e88 /net/dsa | |
parent | d8cf757fbd3ee96a449f656707e773c91ca805b8 (diff) |
net: devlink: turn devlink into a built-in
Being able to build devlink as a module causes growing pains.
First all drivers had to add a meta dependency to make sure
they are not built in when devlink is built as a module. Now
we are struggling to invoke ethtool compat code reliably.
Make devlink code built-in, users can still not build it at
all but the dynamically loadable module option is removed.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r-- | net/dsa/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dsa/Kconfig b/net/dsa/Kconfig index 91e52973ee13..fab49132345f 100644 --- a/net/dsa/Kconfig +++ b/net/dsa/Kconfig | |||
@@ -6,7 +6,7 @@ config HAVE_NET_DSA | |||
6 | 6 | ||
7 | config NET_DSA | 7 | config NET_DSA |
8 | tristate "Distributed Switch Architecture" | 8 | tristate "Distributed Switch Architecture" |
9 | depends on HAVE_NET_DSA && MAY_USE_DEVLINK | 9 | depends on HAVE_NET_DSA |
10 | depends on BRIDGE || BRIDGE=n | 10 | depends on BRIDGE || BRIDGE=n |
11 | select NET_SWITCHDEV | 11 | select NET_SWITCHDEV |
12 | select PHYLINK | 12 | select PHYLINK |