aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/Kconfig
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2014-10-22 11:29:06 -0400
committerDavid S. Miller <davem@davemloft.net>2014-10-28 14:43:18 -0400
commit62b9c8d0372d11a5e048c6b56997374901e0445b (patch)
treee75c8fdf723466e9aa98997b6555fb5baa9c55d7 /net/openvswitch/Kconfig
parentcf7b2003866ca5afc91dcddf9d91b627101f9654 (diff)
ovs: Turn vports with dependencies into separate modules
The internal and netdev vport remain part of openvswitch.ko. Encap vports including vxlan, gre, and geneve can be built as separate modules and are loaded on demand. Modules can be unloaded after use. Datapath ports keep a reference to the vport module during their lifetime. Allows to remove the error prone maintenance of the global list vport_ops_list. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/Kconfig')
-rw-r--r--net/openvswitch/Kconfig18
1 files changed, 9 insertions, 9 deletions
diff --git a/net/openvswitch/Kconfig b/net/openvswitch/Kconfig
index ba3bb8203b99..2a9673e39ca1 100644
--- a/net/openvswitch/Kconfig
+++ b/net/openvswitch/Kconfig
@@ -29,11 +29,11 @@ config OPENVSWITCH
29 If unsure, say N. 29 If unsure, say N.
30 30
31config OPENVSWITCH_GRE 31config OPENVSWITCH_GRE
32 bool "Open vSwitch GRE tunneling support" 32 tristate "Open vSwitch GRE tunneling support"
33 depends on INET 33 depends on INET
34 depends on OPENVSWITCH 34 depends on OPENVSWITCH
35 depends on NET_IPGRE_DEMUX && !(OPENVSWITCH=y && NET_IPGRE_DEMUX=m) 35 depends on NET_IPGRE_DEMUX
36 default y 36 default OPENVSWITCH
37 ---help--- 37 ---help---
38 If you say Y here, then the Open vSwitch will be able create GRE 38 If you say Y here, then the Open vSwitch will be able create GRE
39 vport. 39 vport.
@@ -43,11 +43,11 @@ config OPENVSWITCH_GRE
43 If unsure, say Y. 43 If unsure, say Y.
44 44
45config OPENVSWITCH_VXLAN 45config OPENVSWITCH_VXLAN
46 bool "Open vSwitch VXLAN tunneling support" 46 tristate "Open vSwitch VXLAN tunneling support"
47 depends on INET 47 depends on INET
48 depends on OPENVSWITCH 48 depends on OPENVSWITCH
49 depends on VXLAN && !(OPENVSWITCH=y && VXLAN=m) 49 depends on VXLAN
50 default y 50 default OPENVSWITCH
51 ---help--- 51 ---help---
52 If you say Y here, then the Open vSwitch will be able create vxlan vport. 52 If you say Y here, then the Open vSwitch will be able create vxlan vport.
53 53
@@ -56,11 +56,11 @@ config OPENVSWITCH_VXLAN
56 If unsure, say Y. 56 If unsure, say Y.
57 57
58config OPENVSWITCH_GENEVE 58config OPENVSWITCH_GENEVE
59 bool "Open vSwitch Geneve tunneling support" 59 tristate "Open vSwitch Geneve tunneling support"
60 depends on INET 60 depends on INET
61 depends on OPENVSWITCH 61 depends on OPENVSWITCH
62 depends on GENEVE && !(OPENVSWITCH=y && GENEVE=m) 62 depends on GENEVE
63 default y 63 default OPENVSWITCH
64 ---help--- 64 ---help---
65 If you say Y here, then the Open vSwitch will be able create geneve vport. 65 If you say Y here, then the Open vSwitch will be able create geneve vport.
66 66