xref: /linux/net/openvswitch/Kconfig (revision c0c3ab63de603b40f89a9c0d7217209a8840d053)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2ccb1352eSJesse Gross#
3ccb1352eSJesse Gross# Open vSwitch
4ccb1352eSJesse Gross#
5ccb1352eSJesse Gross
6ccb1352eSJesse Grossconfig OPENVSWITCH
7ccb1352eSJesse Gross	tristate "Open vSwitch"
88cd4313aSPravin B Shelar	depends on INET
938c089d1SJoe Stringer	depends on !NF_CONNTRACK || \
1005752523SJarno Rajahalme		   (NF_CONNTRACK && ((!NF_DEFRAG_IPV6 || NF_DEFRAG_IPV6) && \
1199b7248eSArnd Bergmann				     (!NF_NAT || NF_NAT) && \
1211efd5cbSYi-Hung Wei				     (!NETFILTER_CONNCOUNT || NETFILTER_CONNCOUNT)))
13a175a723SJoe Stringer	select LIBCRC32C
147d5f41f2SEric W. Biederman	select MPLS
158cd4313aSPravin B Shelar	select NET_MPLS_GSO
16d71785ffSPaolo Abeni	select DST_CACHE
17b2d0f5d5SYi Yang	select NET_NSH
18*c0c3ab63SXin Long	select NF_CONNTRACK_OVS if NF_CONNTRACK
19ebddb140SXin Long	select NF_NAT_OVS if NF_NAT
20a7f7f624SMasahiro Yamada	help
21ccb1352eSJesse Gross	  Open vSwitch is a multilayer Ethernet switch targeted at virtualized
22ccb1352eSJesse Gross	  environments.  In addition to supporting a variety of features
23ccb1352eSJesse Gross	  expected in a traditional hardware switch, it enables fine-grained
24ccb1352eSJesse Gross	  programmatic extension and flow-based control of the network.  This
25ccb1352eSJesse Gross	  control is useful in a wide variety of applications but is
26ccb1352eSJesse Gross	  particularly important in multi-server virtualization deployments,
27ccb1352eSJesse Gross	  which are often characterized by highly dynamic endpoints and the
28ccb1352eSJesse Gross	  need to maintain logical abstractions for multiple tenants.
29ccb1352eSJesse Gross
30ccb1352eSJesse Gross	  The Open vSwitch datapath provides an in-kernel fast path for packet
31ccb1352eSJesse Gross	  forwarding.  It is complemented by a userspace daemon, ovs-vswitchd,
32ccb1352eSJesse Gross	  which is able to accept configuration from a variety of sources and
33ccb1352eSJesse Gross	  translate it into packet processing rules.
34ccb1352eSJesse Gross
35ccb1352eSJesse Gross	  See http://openvswitch.org for more information and userspace
36ccb1352eSJesse Gross	  utilities.
37ccb1352eSJesse Gross
38ccb1352eSJesse Gross	  To compile this code as a module, choose M here: the module will be
39ccb1352eSJesse Gross	  called openvswitch.
40ccb1352eSJesse Gross
41ccb1352eSJesse Gross	  If unsure, say N.
42fb825a55SPravin B Shelar
43fb825a55SPravin B Shelarconfig OPENVSWITCH_GRE
4462b9c8d0SThomas Graf	tristate "Open vSwitch GRE tunneling support"
45fb825a55SPravin B Shelar	depends on OPENVSWITCH
46b2acd1dcSPravin B Shelar	depends on NET_IPGRE
4762b9c8d0SThomas Graf	default OPENVSWITCH
48a7f7f624SMasahiro Yamada	help
49fb825a55SPravin B Shelar	  If you say Y here, then the Open vSwitch will be able create GRE
50fb825a55SPravin B Shelar	  vport.
51fb825a55SPravin B Shelar
52fb825a55SPravin B Shelar	  Say N to exclude this support and reduce the binary size.
53fb825a55SPravin B Shelar
54fb825a55SPravin B Shelar	  If unsure, say Y.
5558264848SPravin B Shelar
56dcc38c03SThomas Grafconfig OPENVSWITCH_VXLAN
57dcc38c03SThomas Graf	tristate "Open vSwitch VXLAN tunneling support"
58dcc38c03SThomas Graf	depends on OPENVSWITCH
59dcc38c03SThomas Graf	depends on VXLAN
60dcc38c03SThomas Graf	default OPENVSWITCH
61a7f7f624SMasahiro Yamada	help
62dcc38c03SThomas Graf	  If you say Y here, then the Open vSwitch will be able create vxlan vport.
63dcc38c03SThomas Graf
64dcc38c03SThomas Graf	  Say N to exclude this support and reduce the binary size.
65dcc38c03SThomas Graf
66dcc38c03SThomas Graf	  If unsure, say Y.
67dcc38c03SThomas Graf
68f5796684SJesse Grossconfig OPENVSWITCH_GENEVE
6962b9c8d0SThomas Graf	tristate "Open vSwitch Geneve tunneling support"
70f5796684SJesse Gross	depends on OPENVSWITCH
716b001e68SPravin B Shelar	depends on GENEVE
7262b9c8d0SThomas Graf	default OPENVSWITCH
73a7f7f624SMasahiro Yamada	help
74f5796684SJesse Gross	  If you say Y here, then the Open vSwitch will be able create geneve vport.
75f5796684SJesse Gross
76f5796684SJesse Gross	  Say N to exclude this support and reduce the binary size.
77