]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: felix: qos classified based on pcp
authorXiaoliang Yang <xiaoliang.yang_1@nxp.com>
Wed, 13 May 2020 02:25:08 +0000 (10:25 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2020 18:54:46 +0000 (11:54 -0700)
commit3afcec84cb7c51d6792f8859fec303776009b50f
tree3a8dbc402f2577815f48cd141b5a6430183a7425
parent50a16415d58d89c88d26993f623122021151b82e
net: dsa: felix: qos classified based on pcp

Set the default QoS Classification based on PCP and DEI of vlan tag,
after that, frames can be Classified to different Qos based on PCP tag.
If there is no vlan tag or vlan ignored, use port default Qos.

Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/ocelot/felix.c