excerpt from the bridge(8) man page that says: the STP port priority. The priority value is an unsigned 8-bit quantity (number between 0 and 255). This metric is used in the designated port an droot port selectio algorithms. (typos in original)
https://social.v.st/system/media_attachments/files/112/796/974/256/770/038/original/d0c21ca568b75e51.png