Messages in this thread | | | Date | Tue, 5 Sep 2023 14:13:15 +0530 | Subject | Re: [RFC PATCH net-next 3/4] net: ti: icssg-prueth: Add support for ICSSG switch firmware on AM654 PG2.0 EVM | From | MD Danish Anwar <> |
| |
On 04/09/23 19:38, Andrew Lunn wrote: >> Switch mode requires loading of new firmware into ICSSG cores. This >> means interfaces have to taken down and then reconfigured to switch mode >> using devlink. > > Can you always run it in switch mode, just not have the ports in a > bridge? > > Andrew
No, we can't always run it in switch mode. Switch mode requires loading of different firmware. The switch firmware only supports switch operations. If the ports are not in a bridge in switch mode, the normal functionalities will not work. We will not be able to send / receive / forward packets in switch mode without bridge.
When device is booted up, the dual EMAC firmware is loaded and ICSSG works in dual EMAC mode with both ports doing independent TX / RX.
When switch mode is enabled, dual EMAC firmware is unloaded and switch firmware is loaded. The ports become part of the bridge and the two port together acts as a switch.
-- Thanks and Regards, Danish
| |