OSDN Git Service

Merge branch 'net-dsa-learning-fixes-for-b53-bcm_sf2'
authorJakub Kicinski <kuba@kernel.org>
Tue, 23 Feb 2021 20:23:06 +0000 (12:23 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 23 Feb 2021 20:23:06 +0000 (12:23 -0800)
commitf3f9be9c58085d11f4448ec199bf49dc2f9b7fb9
treee10f622aed7f81f9ef22168961b5d4b92dc4df0e
parent18755e270666ce869289bceb734d25eae2be9da9
parentf9b3827ee66cfcf297d0acd6ecf33653a5f297ef
Merge branch 'net-dsa-learning-fixes-for-b53-bcm_sf2'

Florian Fainelli says:

====================
net: dsa: Learning fixes for b53/bcm_sf2

This patch series contains a couple of fixes for the b53/bcm_sf2 drivers
with respect to configuring learning.

The first patch is wiring-up the necessary dsa_switch_ops operations in
order to support the offloading of bridge flags.

The second patch corrects the switch driver's default learning behavior
which was unfortunately wrong from day one.

This is submitted against "net" because this is technically a bug fix
since ports should not have had learning enabled by default but given
this is dependent upon Vladimir's recent br_flags series, there is no
Fixes tag provided.

I will be providing targeted stable backports that look a bit
different.

Changes in v2:

- added first patch
- updated second patch to include BR_LEARNING check in br_flags_pre as
  a support bridge flag to offload
====================

Link: https://lore.kernel.org/r/20210222223010.2907234-1-f.fainelli@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>