CONFIG_NET_VLAN_COUNT

Max VLAN tags supported in the system

Type: int

Help

How many VLAN tags can be configured.

Direct dependencies

NET_VLAN && NET_L2_ETHERNET && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At <Zephyr>/subsys/net/l2/ethernet/Kconfig:32

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:85<Zephyr>/subsys/net/l2/Kconfig:69

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → Enable Ethernet support → Enable virtual lan support

config NET_VLAN_COUNT
    int "Max VLAN tags supported in the system"
    range 1 255
    default 1
    depends on NET_VLAN && NET_L2_ETHERNET && NETWORKING
    help
      How many VLAN tags can be configured.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)