Thomas Gleixner | ec8f24b | 2019-05-19 13:07:45 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
Simon Horman | 0d89d20 | 2013-05-23 21:02:52 +0000 | [diff] [blame] | 2 | # |
| 3 | # MPLS configuration |
| 4 | # |
Eric W. Biederman | cec9166 | 2015-03-03 19:10:23 -0600 | [diff] [blame] | 5 | |
| 6 | menuconfig MPLS |
Robert Shearman | 8a08919 | 2015-03-10 16:37:59 +0000 | [diff] [blame] | 7 | bool "MultiProtocol Label Switching" |
Eric W. Biederman | cec9166 | 2015-03-03 19:10:23 -0600 | [diff] [blame] | 8 | default n |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 9 | help |
Eric W. Biederman | cec9166 | 2015-03-03 19:10:23 -0600 | [diff] [blame] | 10 | MultiProtocol Label Switching routes packets through logical |
Geert Uytterhoeven | 26c459a | 2015-03-09 12:54:48 +0100 | [diff] [blame] | 11 | circuits. Originally conceived as a way of routing packets at |
Eric W. Biederman | cec9166 | 2015-03-03 19:10:23 -0600 | [diff] [blame] | 12 | hardware speeds (before hardware was capable of routing ipv4 packets), |
Geert Uytterhoeven | 26c459a | 2015-03-09 12:54:48 +0100 | [diff] [blame] | 13 | MPLS remains a simple way of making tunnels. |
Eric W. Biederman | cec9166 | 2015-03-03 19:10:23 -0600 | [diff] [blame] | 14 | |
| 15 | If you have not heard of MPLS you probably want to say N here. |
| 16 | |
| 17 | if MPLS |
| 18 | |
Simon Horman | 0d89d20 | 2013-05-23 21:02:52 +0000 | [diff] [blame] | 19 | config NET_MPLS_GSO |
Robert Shearman | 8a08919 | 2015-03-10 16:37:59 +0000 | [diff] [blame] | 20 | tristate "MPLS: GSO support" |
Simon Horman | 0d89d20 | 2013-05-23 21:02:52 +0000 | [diff] [blame] | 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. |
Eric W. Biederman | cec9166 | 2015-03-03 19:10:23 -0600 | [diff] [blame] | 25 | |
Eric W. Biederman | 0189197 | 2015-03-03 19:10:47 -0600 | [diff] [blame] | 26 | config MPLS_ROUTING |
Robert Shearman | 8a08919 | 2015-03-10 16:37:59 +0000 | [diff] [blame] | 27 | tristate "MPLS: routing support" |
Arnd Bergmann | 0eb16f8 | 2017-10-11 15:55:31 +0200 | [diff] [blame] | 28 | depends on NET_IP_TUNNEL || NET_IP_TUNNEL=n |
Matteo Croce | ec66854 | 2019-06-12 11:50:37 +0200 | [diff] [blame] | 29 | depends on PROC_SYSCTL |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 30 | help |
Eric W. Biederman | 0189197 | 2015-03-03 19:10:47 -0600 | [diff] [blame] | 31 | Add support for forwarding of mpls packets. |
| 32 | |
Roopa Prabhu | e3e4712 | 2015-07-21 10:43:53 +0200 | [diff] [blame] | 33 | config MPLS_IPTUNNEL |
| 34 | tristate "MPLS: IP over MPLS tunnel support" |
| 35 | depends on LWTUNNEL && MPLS_ROUTING |
Masahiro Yamada | a7f7f62 | 2020-06-14 01:50:22 +0900 | [diff] [blame] | 36 | help |
Roopa Prabhu | e3e4712 | 2015-07-21 10:43:53 +0200 | [diff] [blame] | 37 | mpls ip tunnel support. |
| 38 | |
Eric W. Biederman | cec9166 | 2015-03-03 19:10:23 -0600 | [diff] [blame] | 39 | endif # MPLS |