SPRUJ55D September 2023 – July 2025 AM263P2 , AM263P2-Q1 , AM263P4 , AM263P4-Q1
There are three priorities that are used inside the CPSW: packet priority, header packet priority, and switch priority. The packet priority is the determined priority for the ingress packet. The header packet priority is used as the outgoing VLAN priority if the packet is egressing from the switch with a VLAN tag. The switch priority determines which of the 8 FIFO priority queues the packet uses during egress.
The VLAN_LTYPE_SEL value below is selected by the S_CN_SWITCH bit in the CPSW Control register and is either the VLAN_LTYPE_INNER (0x8100 default) or the VLAN_LTYPE_OUTER (0x88A8 default) value.
Packets are received on two types of ports (Ethernet and CPDMA host port). Received packets have a received packet priority (0 to 7, with 7 being the highest priority).