I'm on the Fedora side of Banana Pi R1 :-)
https://www.wiesinger.com/opensource/fedora/kernel/BananaPi-R1/
So far, same Problem on Fedora.
Things I found out already:
DSA=Distributed Switch Architecture drivers
https://github.com/torvalds/linux/blob/master/Documentation/networking/dsa/dsa.txt
https://www.kernel.org/doc/Documentation/networking/switchdev.txt
didn't help:
echo 'force_drivers+=" b53_common b53_mdio b53_spi b53_mmap b53_srab "' > /etc/dracut.conf.d/banana-switch.conf
https://www.phoronix.com/scan.php?page=news_item&px=Networking-Linux-4.8
https://github.com/Bananian/bananian/blob/master/kernel/4.3.3/patches/0002-b53_switch_driver.patch
Please enable B53 mdio switch driver
https://lists.debian.org/debian-kernel/2016/08/msg00230.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836231
# bridge entry not there
echo 1 >/sys/class/net/eth0/bridge/vlan_filtering
https://www.spinics.net/lists/netdev/msg133237.html
https://www.spinics.net/lists/netdev/msg380994.html
Was also not successful yet.
Proprietary swconfig is not used anymore, we have to find how to configure the switch with new DSA infrastructure. Above posted bridge vlan commands might help.
https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=23c731e830009a51a39a7a558179007235c84eb7
Guess we should contact the author, which had it running: David S. Miller <davem@davemloft.net>
Ciao,
Gerhard