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.
1 请参考STK中2片DSP对通测试的例子
2 您可以看看到抓到的包头是不是广播地址
3 一般来说switch都有学习功能的,会通过MAC地址和PORT端口映射进行学习和更新路由表,具体操作您要咨询BCM5396的供应商
驱动中SGMII CLK是需要根据板子实际参考时钟(156.25M)做倍频的,看看你驱动中是怎么配的吧
可以用这个方法修改端口:
CPU 把packet push到tx queue 比如 queue 648,并且设置Tx descriptor的ps_flag = 1,表示把这个packet直接发送到GbE switch port1,也就是SGMII port 0