OSDN Git Service

net: dsa: bcm_sf2: Wire-up br_flags_pre, br_flags and set_mrouter
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 22 Feb 2021 22:30:09 +0000 (14:30 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 23 Feb 2021 20:23:00 +0000 (12:23 -0800)
commite6dd86ed27d1a56bd45c50f6cc238a94c283e8e2
treef7ca34f248266e371976d63ae29a069bd81e4917
parent18755e270666ce869289bceb734d25eae2be9da9
net: dsa: bcm_sf2: Wire-up br_flags_pre, br_flags and set_mrouter

Because bcm_sf2 implements its own dsa_switch_ops we need to export the
b53_br_flags_pre(), b53_br_flags() and b53_set_mrouter so we can wire-up
them up like they used to be with the former b53_br_egress_floods().

Fixes: a8b659e7ff75 ("net: dsa: act as passthrough for bridge port flags")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_priv.h
drivers/net/dsa/bcm_sf2.c