:orphan: .. title:: CONFIG_NET_GPTP_BMCA_PRIORITY1 .. kconfig:: CONFIG_NET_GPTP_BMCA_PRIORITY1 CONFIG_NET_GPTP_BMCA_PRIORITY1 ############################## *BMCA priority1 value* Type: ``int`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`NET_GPTP ` && \ :kconfig:`NET_L2_ETHERNET ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== - 248 if \ :kconfig:`NET_GPTP_GM_CAPABLE ` - 255 Kconfig definition ================== At ``/net/l2/ethernet/gptp/Kconfig:198`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:85`` → ``/net/l2/Kconfig:71`` → ``/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] .. code-block:: kconfig 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.)*