diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-02-23 01:30:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-20 12:43:44 +0300 |
commit | dd0b7edb779466e29c375b04ff1a2b19d929e70f (patch) | |
tree | 8d6dca3a2c3ac902b45ce5fff3cb6ce67e7a5da1 /drivers/net/ifb.c | |
parent | 0f6cab2350d5d5cc26daa8c2321d069ec874c3c6 (diff) | |
download | linux-dd0b7edb779466e29c375b04ff1a2b19d929e70f.tar.xz |
net: dsa: b53: Support setting learning on port
commit f9b3827ee66cfcf297d0acd6ecf33653a5f297ef upstream.
Add support for being able to set the learning attribute on port, and
make sure that the standalone ports start up with learning disabled.
We can remove the code in bcm_sf2 that configured the ports learning
attribute because we want the standalone ports to have learning disabled
by default and port 7 cannot be bridged, so its learning attribute will
not change past its initial configuration.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ifb.c')
0 files changed, 0 insertions, 0 deletions