blob: d672ab72ab12d37703e4849e8829b05b97cec565 [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Simon Horman0d89d202013-05-23 21:02:52 +00002#
3# MPLS configuration
4#
Eric W. Biedermancec91662015-03-03 19:10:23 -06005
6menuconfig MPLS
Robert Shearman8a089192015-03-10 16:37:59 +00007 bool "MultiProtocol Label Switching"
Eric W. Biedermancec91662015-03-03 19:10:23 -06008 default n
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +09009 help
Eric W. Biedermancec91662015-03-03 19:10:23 -060010 MultiProtocol Label Switching routes packets through logical
Geert Uytterhoeven26c459a2015-03-09 12:54:48 +010011 circuits. Originally conceived as a way of routing packets at
Eric W. Biedermancec91662015-03-03 19:10:23 -060012 hardware speeds (before hardware was capable of routing ipv4 packets),
Geert Uytterhoeven26c459a2015-03-09 12:54:48 +010013 MPLS remains a simple way of making tunnels.
Eric W. Biedermancec91662015-03-03 19:10:23 -060014
15 If you have not heard of MPLS you probably want to say N here.
16
17if MPLS
18
Simon Horman0d89d202013-05-23 21:02:52 +000019config NET_MPLS_GSO
Robert Shearman8a089192015-03-10 16:37:59 +000020 tristate "MPLS: GSO support"
Simon Horman0d89d202013-05-23 21:02:52 +000021 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.
Eric W. Biedermancec91662015-03-03 19:10:23 -060025
Eric W. Biederman01891972015-03-03 19:10:47 -060026config MPLS_ROUTING
Robert Shearman8a089192015-03-10 16:37:59 +000027 tristate "MPLS: routing support"
Arnd Bergmann0eb16f82017-10-11 15:55:31 +020028 depends on NET_IP_TUNNEL || NET_IP_TUNNEL=n
Matteo Croceec668542019-06-12 11:50:37 +020029 depends on PROC_SYSCTL
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090030 help
Eric W. Biederman01891972015-03-03 19:10:47 -060031 Add support for forwarding of mpls packets.
32
Roopa Prabhue3e47122015-07-21 10:43:53 +020033config MPLS_IPTUNNEL
34 tristate "MPLS: IP over MPLS tunnel support"
35 depends on LWTUNNEL && MPLS_ROUTING
Masahiro Yamadaa7f7f622020-06-14 01:50:22 +090036 help
Roopa Prabhue3e47122015-07-21 10:43:53 +020037 mpls ip tunnel support.
38
Eric W. Biedermancec91662015-03-03 19:10:23 -060039endif # MPLS