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.

c6678 双网口

自制的c6678板卡,SGMII0和SGMII1分别接一个PHY芯片,现在是想使用两个网口中的任意一个都可实现和板卡的网络互连;

1、platform、nimu_eth中需要修改哪些地方,实现两个网口的初始化;(只知道修改emac_port_mode[2]中的端口模式);

2、NDK的协议层应该如何初始化,如何绑定IP地址,是两个网口绑定一个IP(两个网口相当于交换端口),还是绑定两个IP,应该怎么设置?如果是绑定2个IP地址的话,网络应用层的程序应该怎么实现?