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