Re: [PATCH v2] net: ethernet: ti: cpsw: fix tx vlan priority mapping

2018-04-22 Thread David Miller
From: Ivan Khoronzhuk Date: Thu, 19 Apr 2018 22:49:09 +0300 > The CPDMA_TX_PRIORITY_MAP in real is vlan pcp field priority mapping > register and basically replaces vlan pcp field for tagged packets. > So, set it to be 1:1 mapping. Otherwise, it will cause unexpected > change of egress vlan tagge

[PATCH v2] net: ethernet: ti: cpsw: fix tx vlan priority mapping

2018-04-19 Thread Ivan Khoronzhuk
The CPDMA_TX_PRIORITY_MAP in real is vlan pcp field priority mapping register and basically replaces vlan pcp field for tagged packets. So, set it to be 1:1 mapping. Otherwise, it will cause unexpected change of egress vlan tagged packets, like prio 2 -> prio 5. Fixes: e05107e6b747 ("net: ethernet