Hi!
Nowadays I am testing the STP function on NXP LS1028A TSN switch. It is tested that the STP function of kernel enabled by command brctl stp switch on works as expected.
Then I installed mstpd and mstpctl on the switch and enabled the RSTP according to the following script: (source code from https://github.com/mstpd/mstpd )
#!/bin/bash
# set_rstp.sh
cp /sysdisk/mstp* /usr/bin/
brctl stp switch on
sleep 1
mstpd
sleep 1
mstpctl addbridge switch
sleep 1
mstpctl setforcevers switch rstp
And I configure the network and show the port role by mstpctl showport command:

Then start the flow from 1/1-->1/4, and disconnect the link of swp1 between switch 105 and 106. mstpctl showport tells that swp2 of 105 switched to forwarding state within 1 second. But the flow recovered in about 30 seconds after the link of swp1 disconnected.
The experiment above seems show that RSTP doesn't actually work on LS1028A. If the LS1028A support RSTP or is any error in my configuration?