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.

[参考译文] TMS320DM648:llpacket API 和带有 VLAN 标签的帧

Guru**** 2590530 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/643048/tms320dm648-llpacket-api-and-frames-with-vlan-tag

器件型号:TMS320DM648

您好!

我们使用 llpacket API。 为了实现自己的协议、我们在 lPacketService 中解析以太网帧。 到目前为止的工作方式不同之处在于、当我们在 DM648上接收到带有 VLAN 标签的帧的以太网标头时、该标头不正确。

下面是我们发送到 DM648的第一个字节:

ff-ff-ff-ff-ff-ff-9c-e8-20-AB-02

(这是 dest 和 src Mac 地址。)

这就是我们在 lPacketService 中得到的结果:

AB-02-81-00-00-00-ff-ff-9c-e8-20

可以看到数据已移位、VLAN 标记会覆盖某些目标 Mac 地址。 为什么是这样?

谢谢!