xref: /OK3568_Linux_fs/kernel/net/openvswitch/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Open vSwitch
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig OPENVSWITCH
7*4882a593Smuzhiyun	tristate "Open vSwitch"
8*4882a593Smuzhiyun	depends on INET
9*4882a593Smuzhiyun	depends on !NF_CONNTRACK || \
10*4882a593Smuzhiyun		   (NF_CONNTRACK && ((!NF_DEFRAG_IPV6 || NF_DEFRAG_IPV6) && \
11*4882a593Smuzhiyun				     (!NF_NAT || NF_NAT) && \
12*4882a593Smuzhiyun				     (!NETFILTER_CONNCOUNT || NETFILTER_CONNCOUNT)))
13*4882a593Smuzhiyun	select LIBCRC32C
14*4882a593Smuzhiyun	select MPLS
15*4882a593Smuzhiyun	select NET_MPLS_GSO
16*4882a593Smuzhiyun	select DST_CACHE
17*4882a593Smuzhiyun	select NET_NSH
18*4882a593Smuzhiyun	help
19*4882a593Smuzhiyun	  Open vSwitch is a multilayer Ethernet switch targeted at virtualized
20*4882a593Smuzhiyun	  environments.  In addition to supporting a variety of features
21*4882a593Smuzhiyun	  expected in a traditional hardware switch, it enables fine-grained
22*4882a593Smuzhiyun	  programmatic extension and flow-based control of the network.  This
23*4882a593Smuzhiyun	  control is useful in a wide variety of applications but is
24*4882a593Smuzhiyun	  particularly important in multi-server virtualization deployments,
25*4882a593Smuzhiyun	  which are often characterized by highly dynamic endpoints and the
26*4882a593Smuzhiyun	  need to maintain logical abstractions for multiple tenants.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun	  The Open vSwitch datapath provides an in-kernel fast path for packet
29*4882a593Smuzhiyun	  forwarding.  It is complemented by a userspace daemon, ovs-vswitchd,
30*4882a593Smuzhiyun	  which is able to accept configuration from a variety of sources and
31*4882a593Smuzhiyun	  translate it into packet processing rules.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyun	  See http://openvswitch.org for more information and userspace
34*4882a593Smuzhiyun	  utilities.
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun	  To compile this code as a module, choose M here: the module will be
37*4882a593Smuzhiyun	  called openvswitch.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun	  If unsure, say N.
40*4882a593Smuzhiyun
41*4882a593Smuzhiyunconfig OPENVSWITCH_GRE
42*4882a593Smuzhiyun	tristate "Open vSwitch GRE tunneling support"
43*4882a593Smuzhiyun	depends on OPENVSWITCH
44*4882a593Smuzhiyun	depends on NET_IPGRE
45*4882a593Smuzhiyun	default OPENVSWITCH
46*4882a593Smuzhiyun	help
47*4882a593Smuzhiyun	  If you say Y here, then the Open vSwitch will be able create GRE
48*4882a593Smuzhiyun	  vport.
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun	  Say N to exclude this support and reduce the binary size.
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun	  If unsure, say Y.
53*4882a593Smuzhiyun
54*4882a593Smuzhiyunconfig OPENVSWITCH_VXLAN
55*4882a593Smuzhiyun	tristate "Open vSwitch VXLAN tunneling support"
56*4882a593Smuzhiyun	depends on OPENVSWITCH
57*4882a593Smuzhiyun	depends on VXLAN
58*4882a593Smuzhiyun	default OPENVSWITCH
59*4882a593Smuzhiyun	help
60*4882a593Smuzhiyun	  If you say Y here, then the Open vSwitch will be able create vxlan vport.
61*4882a593Smuzhiyun
62*4882a593Smuzhiyun	  Say N to exclude this support and reduce the binary size.
63*4882a593Smuzhiyun
64*4882a593Smuzhiyun	  If unsure, say Y.
65*4882a593Smuzhiyun
66*4882a593Smuzhiyunconfig OPENVSWITCH_GENEVE
67*4882a593Smuzhiyun	tristate "Open vSwitch Geneve tunneling support"
68*4882a593Smuzhiyun	depends on OPENVSWITCH
69*4882a593Smuzhiyun	depends on GENEVE
70*4882a593Smuzhiyun	default OPENVSWITCH
71*4882a593Smuzhiyun	help
72*4882a593Smuzhiyun	  If you say Y here, then the Open vSwitch will be able create geneve vport.
73*4882a593Smuzhiyun
74*4882a593Smuzhiyun	  Say N to exclude this support and reduce the binary size.
75