xref: /OK3568_Linux_fs/kernel/net/mpls/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# MPLS configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunmenuconfig MPLS
7*4882a593Smuzhiyun	bool "MultiProtocol Label Switching"
8*4882a593Smuzhiyun	default n
9*4882a593Smuzhiyun	help
10*4882a593Smuzhiyun	  MultiProtocol Label Switching routes packets through logical
11*4882a593Smuzhiyun	  circuits.  Originally conceived as a way of routing packets at
12*4882a593Smuzhiyun	  hardware speeds (before hardware was capable of routing ipv4 packets),
13*4882a593Smuzhiyun	  MPLS remains a simple way of making tunnels.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  If you have not heard of MPLS you probably want to say N here.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunif MPLS
18*4882a593Smuzhiyun
19*4882a593Smuzhiyunconfig NET_MPLS_GSO
20*4882a593Smuzhiyun	tristate "MPLS: GSO support"
21*4882a593Smuzhiyun	help
22*4882a593Smuzhiyun	 This is helper module to allow segmentation of non-MPLS GSO packets
23*4882a593Smuzhiyun	 that have had MPLS stack entries pushed onto them and thus
24*4882a593Smuzhiyun	 become MPLS GSO packets.
25*4882a593Smuzhiyun
26*4882a593Smuzhiyunconfig MPLS_ROUTING
27*4882a593Smuzhiyun	tristate "MPLS: routing support"
28*4882a593Smuzhiyun	depends on NET_IP_TUNNEL || NET_IP_TUNNEL=n
29*4882a593Smuzhiyun	depends on PROC_SYSCTL
30*4882a593Smuzhiyun	help
31*4882a593Smuzhiyun	 Add support for forwarding of mpls packets.
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunconfig MPLS_IPTUNNEL
34*4882a593Smuzhiyun	tristate "MPLS: IP over MPLS tunnel support"
35*4882a593Smuzhiyun	depends on LWTUNNEL && MPLS_ROUTING
36*4882a593Smuzhiyun	help
37*4882a593Smuzhiyun	 mpls ip tunnel support.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyunendif # MPLS
40