Packets with unknown destination addresses are not forwarded to the cpu port on mv88e6097 based switches (e.g. MV88E6097) at the moment. This commit enables PORT_CONTROL_FORWARD_UNKNOWN_MC for this family.
Signed-off-by: Stefan Eichenberger <stefan.eichenber...@netmodule.com> --- drivers/net/dsa/mv88e6xxx/chip.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/net/dsa/mv88e6xxx/chip.c b/drivers/net/dsa/mv88e6xxx/chip.c index b14b3d5..4d21086 100644 --- a/drivers/net/dsa/mv88e6xxx/chip.c +++ b/drivers/net/dsa/mv88e6xxx/chip.c @@ -2487,6 +2487,10 @@ static int mv88e6xxx_setup_port(struct mv88e6xxx_chip *chip, int port) PORT_CONTROL_FORWARD_UNKNOWN_MC; else reg |= PORT_CONTROL_DSA_TAG; + + if (mv88e6xxx_6097_family(chip)) + reg |= PORT_CONTROL_FORWARD_UNKNOWN_MC; + reg |= PORT_CONTROL_EGRESS_ADD_TAG | PORT_CONTROL_FORWARD_UNKNOWN; } -- 2.9.3