CONFIG_NET_GPTP_BMCA_PRIORITY1

BMCA priority1 value

Type: int

Help

The priority1 attribute of the local clock. It is used in the Best Master Clock selection Algorithm (BMCA), lower values take precedence. The default value is 255 if the device is non grand master capable, and 248 if it is GM capable. See Chapter 8.6.2.1 of IEEE 802.1AS for a more detailed description of priority1. Note that if the system is non GM capable, then the value 255 is used always and this setting is ignored.

Direct dependencies

NET_GPTP && NET_L2_ETHERNET && NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At <Zephyr>/subsys/net/l2/ethernet/gptp/Kconfig:198

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

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → Enable Ethernet support → Enable IEEE 802.1AS (gPTP) support [EXPERIMENTAL]

config NET_GPTP_BMCA_PRIORITY1
    int "BMCA priority1 value"
    range 0 255
    default 248 if NET_GPTP_GM_CAPABLE
    default 255
    depends on NET_GPTP && NET_L2_ETHERNET && NETWORKING
    help
      The priority1 attribute of the local clock. It is used in the
      Best Master Clock selection Algorithm (BMCA), lower values take
      precedence. The default value is 255 if the device is non grand
      master capable, and 248 if it is GM capable.
      See Chapter 8.6.2.1 of IEEE 802.1AS for a more detailed description
      of priority1. Note that if the system is non GM capable, then the
      value 255 is used always and this setting is ignored.

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