]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: bcm_sf2: Disable learning for ASP port
authorFlorian Fainelli <f.fainelli@gmail.com>
Mon, 30 Mar 2020 21:38:50 +0000 (14:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Mar 2020 02:55:42 +0000 (19:55 -0700)
commit9c00140247b063ba7413b273656e6a9cf4d40ce3
tree256d4b3b92b184ba55a9679b7b154821c413ae4e
parent6e4400d0b9fb48cc765fc765c31612001dfaed76
net: dsa: bcm_sf2: Disable learning for ASP port

We don't want to enable learning for the ASP port since it only receives
directed traffic, this allows us to bypass ARL-driven forwarding rules
which could conflict with Broadcom tags and/or CFP forwarding.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c