As you well mention, In current BSP, Passthrough mode can be supported by fec driver and L2 switch mode can be supported by fec_switch driver.
Both functions are mutual exclusive by the current BSP design.Obviously some efforts are needed to change the software in order to support the switching between L2 switch and Passthrough modes in runtime. So I recommend you that you keep the L2 Switch Mode as the configuration and use the Ethernet ports in this mode.
Have a great day,
Jaime
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------