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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
993 Views
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 Kudos
Reply
1 Solution
976 Views
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

View solution in original post

0 Kudos
Reply
1 Reply
977 Views
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 Kudos
Reply