I have some doubts about your question:
1. What do you mean by "CPU eth0“? Is it just eth0, a RGMII ethernet port?
2. L2Switch has 8 ports, I think it should be port0-7. So which is port8?
To be clear, T1040ardb have 11 ethernet ports which are: 2 RGMII eth( eth0-1), 1 SGMII (eth3), 8 QSGMII (eth4-11).