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.

am335x cpsw中开启dual mac后如何配置两个port的优先级的问题



对于优先级的配置有如下几方面的问题:

1.因为cpsw 发送和接收中断只有一个,如何能够配置使得port2的发送和接收优先级高于port1?

2.我看了一下TRM 14.3.2.8中有关的介绍,对于received packet priority 、packet priority 、source port priority 这几个分别是指代什么,是否是可以配置的有疑问?

3.此外对于switch priority我是否可以认为是最后实际接受过程中的优先级?

4.在TRM 14.3.2.5 Table14-8 中又提及 header packet VLAN priority 这又对实际的优先级有什么影响?

我的驱动层代码基本上用的是starterware 2.0.1.1 中cpswif.c 和 cpsw.c 的代码,开启了CPSW_DUAL_MAC_MODE宏,FIFO配置在dual mac mode下,也使能了vlan _aware