diff options
author | 2025-03-08 22:04:20 +0800 | |
---|---|---|
committer | 2025-03-08 22:04:20 +0800 | |
commit | a07bb8fd1299070229f0e8f3dcb57ffd5ef9870a (patch) | |
tree | 84f21bd0bf7071bc5fc7dd989e77d7ceb5476682 /net/mpls/Kconfig | |
download | ohosKernel-a07bb8fd1299070229f0e8f3dcb57ffd5ef9870a.tar.gz ohosKernel-a07bb8fd1299070229f0e8f3dcb57ffd5ef9870a.zip |
Initial commit: OpenHarmony-v4.0-ReleaseOpenHarmony-v4.0-Release
Diffstat (limited to 'net/mpls/Kconfig')
-rw-r--r-- | net/mpls/Kconfig | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/net/mpls/Kconfig b/net/mpls/Kconfig new file mode 100644 index 000000000..d672ab72a --- /dev/null +++ b/net/mpls/Kconfig | |||
@@ -0,0 +1,39 @@ | |||
1 | # SPDX-License-Identifier: GPL-2.0-only | ||
2 | # | ||
3 | # MPLS configuration | ||
4 | # | ||
5 | |||
6 | menuconfig 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 | |||
17 | if MPLS | ||
18 | |||
19 | config 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 | |||
26 | config 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 | |||
33 | config MPLS_IPTUNNEL | ||
34 | tristate "MPLS: IP over MPLS tunnel support" | ||
35 | depends on LWTUNNEL && MPLS_ROUTING | ||
36 | help | ||
37 | mpls ip tunnel support. | ||
38 | |||
39 | endif # MPLS | ||