[LS1046A][DPAA1] VLAN PCP header manipulation update elements fill and index?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

[LS1046A][DPAA1] VLAN PCP header manipulation update elements fill and index?

跳至解决方案
1,004 次查看
alance
Contributor II

Hi

We'd like to use DPAA1 header manipulation update to set VLAN PCP header. From the document, it is set from dscp elements fill and index. Could you provide more info about how these elements map to VLAN PCP? Thanks.  

https://docs.nxp.com/bundle/GUID-C3A436DA-E944-4F73-9811-2335DEBD04D6/page/GUID-40D0A317-2C60-411F-B...

 

0 项奖励
回复
1 解答
987 次查看
bpe
NXP Employee
NXP Employee

If what you want is just to set a new PCP value in the outer VLAN tag, use
type="vpri", not "dscp".

DSCP in DPAA1 header manipulation establishes a mapping between IP TOS field and
the priority field in the VLAN tag, so the frame must encapsulate a valid IP datagram.
If that is what yo want, study LS1046ADPAARM, Sections 5.12.10.8 and 5.12.10.8.1
to have an idea of the array the document you referred talks about.

Hope this helps,
Platon

在原帖中查看解决方案

0 项奖励
回复
1 回复
988 次查看
bpe
NXP Employee
NXP Employee

If what you want is just to set a new PCP value in the outer VLAN tag, use
type="vpri", not "dscp".

DSCP in DPAA1 header manipulation establishes a mapping between IP TOS field and
the priority field in the VLAN tag, so the frame must encapsulate a valid IP datagram.
If that is what yo want, study LS1046ADPAARM, Sections 5.12.10.8 and 5.12.10.8.1
to have an idea of the array the document you referred talks about.

Hope this helps,
Platon

0 项奖励
回复