net: dsa: b53: Include IMP/CPU port in dumb forwarding mode
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 24 Apr 2017 21:27:21 +0000 (14:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Apr 2017 22:28:56 +0000 (18:28 -0400)
commita424f0de61638cbb5047e0a888c54da9cf471f90
tree3b496c07a3c9270854832de7e9f47c644166957b
parent38baf3a68bd2a8bca346abf0ba4b98a691543e7e
net: dsa: b53: Include IMP/CPU port in dumb forwarding mode

Since Broadcom tags are not enabled in b53 (DSA_PROTO_TAG_NONE), we need
to make sure that the IMP/CPU port is included in the forwarding
decision.

Without this change, switching between non-management ports would work,
but not between management ports and non-management ports thus breaking
the default state in which DSA switch are brought up.

Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch")
Reported-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_regs.h