-
CONFIG_NET_LLDP_CHASSIS_ID_SUBTYPE
¶
Chassis ID TLV subtype
Type: int
Help¶
Chassis ID subtype options are defined below. Please refer to section 8.5.2.2 of the 802.1AB for more info. Subtype 1 = Chassis component Subtype 2 = Interface alias Subtype 3 = Port component Subtype 4 = MAC address Subtype 5 = Network address Subtype 6 = Interface name Subtype 7 = Locally assigned If subtype 4 is selected, MAC address, then configs NET_LLDP_CHASSIS_ID_MAC0 through NET_LLDP_CHASSIS_ID_MAC5 must be defined, otherwise you must use NET_LLDP_CHASSIS_ID instead.
Direct dependencies¶
NET_LLDP
&& NET_L2_ETHERNET
&& NETWORKING
(Includes any dependencies from ifs and menus.)
Default¶
4
Kconfig definition¶
At <Zephyr>/subsys/net/l2/ethernet/lldp/Kconfig:54
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:34
→ <Zephyr>/subsys/net/Kconfig:85
→ <Zephyr>/subsys/net/l2/Kconfig:69
→ <Zephyr>/subsys/net/l2/ethernet/Kconfig:77
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → Enable Ethernet support → Enable Link Layer Discovery Protocol (LLDP)
config NET_LLDP_CHASSIS_ID_SUBTYPE int "Chassis ID TLV subtype" range 1 7 default 4 depends onNET_LLDP
&&NET_L2_ETHERNET
&&NETWORKING
help Chassis ID subtype options are defined below. Please refer to section 8.5.2.2 of the 802.1AB for more info. Subtype 1 = Chassis component Subtype 2 = Interface alias Subtype 3 = Port component Subtype 4 = MAC address Subtype 5 = Network address Subtype 6 = Interface name Subtype 7 = Locally assigned If subtype 4 is selected, MAC address, then configs NET_LLDP_CHASSIS_ID_MAC0 through NET_LLDP_CHASSIS_ID_MAC5 must be defined, otherwise you must use NET_LLDP_CHASSIS_ID instead.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)