]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Configure IMP port TC2QOS mapping
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 4 Sep 2017 03:27:03 +0000 (20:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Sep 2017 18:53:34 +0000 (11:53 -0700)
commit7e70137a89af35d095d25cf7de15803d186eac9e
treef6188bcc659b75e21b0799dfdf3308eda2160d84
parent8b808ab0efdb7b8a3725483b8d27f85e0caecc21
net: dsa: bcm_sf2: Configure IMP port TC2QOS mapping

Even though TC2QOS mapping is for switch egress queues, we need to
configure it correclty in order for the Broadcom tag ingress (CPU ->
switch) queue selection to work correctly since there is a 1:1 mapping
between switch egress queues and ingress queues.

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