summaryrefslogtreecommitdiff
path: root/include/linux/stmmac.h
diff options
context:
space:
mode:
authorTobias Waldekranz <tobias@waldekranz.com>2021-03-18 22:25:40 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-19 02:24:06 +0300
commit8d1d8298eb00756cc525e12a133a5cc37cfdf992 (patch)
treee0e8d1fdd9057a55b413cb637f53e6a2f1b6d1eb /include/linux/stmmac.h
parent041bd545e1249906b997645ee71f40df21417f17 (diff)
downloadlinux-8d1d8298eb00756cc525e12a133a5cc37cfdf992.tar.xz
net: dsa: mv88e6xxx: Offload bridge broadcast flooding flag
These switches have two modes of classifying broadcast: 1. Broadcast is multicast. 2. Broadcast is its own unique thing that is always flooded everywhere. This driver uses the first option, making sure to load the broadcast address into all active databases. Because of this, we can support per-port broadcast flooding by (1) making sure to only set the subset of ports that have it enabled whenever joining a new bridge or VLAN, and (2) by updating all active databases whenever the setting is changed on a port. Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
0 files changed, 0 insertions, 0 deletions