This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3359: CPSW configuration for RSTP

Part Number: AM3359

Our customer wants to use RSTP. In the Linux example, it seems to be implemented by software (mstpd) in dual MAC mode.

http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Industrial_Protocols_RSTP.html

They want to implement RSTP by using ALE in switch mode because they are concerned about software delays.

For Linux, dual MAC mode and switch mode can be changed by the DTS file, but the RSTP example doesn't seem to support the switch mode.

Can RSTP be used in switch mode?

If possible, could you tell me how to use RSTP in switch mode?

Could you tell me how to get the source code for mstpd?

I searched the source code referring to the software manifest, but could not find the version described in the manifest.

http://software-dl.ti.com/processor-sdk-linux/esd/AM335X/latest/exports/software_manifest.htm
Software Name: mstpd
Version: 0.0.7+git0+e4f0ba5a48-r0.89
Location: mstpd_0.0.7+git0+e4f0ba5a48-r0.89_armv7at2hf-neon.ipk

Best regards,

Daisuke

  • Hi,

    The link to mstpd source code is in the manifest, it is in the right most column. Here is the link to the git repository for mstpd.

    The customer's concern is common one regarding the time delay as well as the work load for handling the BPDU discovery packets. The ALE is not capable of implementing as a complete RSTP solution by itself. The reason is that the ALE is not able to handle creating and sending the BPDU packets and processing them, the ARM is required to do that. 

    Determining if the time delays are too great for their particular use case is something that the customer will have to evaluate on a TI EVM. 

    Best Regards,

    Schuyler 

  • Hi Schuyler-san,

    Thank you for your reply.

    Best regards,

    Daisuke