net: dsa: bcm_sf2: Configure traffic classes to queue mapping
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 30 Jan 2017 17:48:41 +0000 (09:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Jan 2017 19:49:58 +0000 (14:49 -0500)
commite1b9147cbdb84cae017f450b34781f4cfc790095
treea71feb4d1325693b5287f24378d3e6068596555f
parentbf9f26485d232916cdc2257e42831781e1f075e8
net: dsa: bcm_sf2: Configure traffic classes to queue mapping

By default, all traffic goes to queue 0, re-configure the traffic
classes to quality of service mapping such that priority X maps to queue
X, where X is from 0 through 7.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/bcm_sf2_regs.h