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 subsys/net/l2/ethernet/Kconfig:32

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:78subsys/net/l2/Kconfig:69

Menu path: (Top) → 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.)