1# Copyright (c) 2021 Intel Corporation. 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig NET_L2_VIRTUAL 5 bool "Enable virtual L2 support" 6 help 7 Add a virtual L2 layer driver. This is needed if you have a L2 8 layer that depends on other L2 layer. Like running VPN on top of 9 Ethernet. 10 11if NET_L2_VIRTUAL 12 13config NET_L2_VIRTUAL_MGMT 14 bool "Enable virtual interface network management interface" 15 select NET_MGMT 16 select NET_MGMT_EVENT 17 help 18 Enable support net_mgmt virtual interface which can be used to 19 configure at run-time the L2 settings. 20 21config NET_L2_VIRTUAL_MAX_NAME_LEN 22 int "Max length of the virtual L2 layer name" 23 default 32 24 range 8 128 25 help 26 Indicate the max name length, including the terminating NULL byte. 27 Reduce this value to conserve memory. 28 29module = NET_L2_VIRTUAL 30module-dep = NET_LOG 31module-str = Log level for virtual L2 layer 32module-help = Enables virtual L2 to output debug messages. 33source "subsys/net/Kconfig.template.log_config.net" 34 35source "subsys/net/l2/virtual/ipip/Kconfig" 36 37endif # NET_L2_VIRTUAL 38