From: Jiri Pirko <jiri@resnulli.us>
Date: Thu, 8 Jun 2017 08:44:09 +0200
Currently setting bridge port attributes and adding FDBs are done via
setting the SELF flag which implies unconsistent offloading model. This
patch-set fixes this behavior by making the bridge and drivers which are
using it to be totally in sync.
This implies several changes:
- Offloading bridge flags from the bridge code.
- Sending notification about FDB add/del to the software bridge in a
similiar way it is done for the hardware externally learned FDBs.
By making the offloading model more consistent a cleanup is done in
the drivers supporting it. This is done in order to remove un-needed
logic related to dump operation which is redundant.
First add missing functionality to bridge, then clean up the mlxsw/rocker
drivers.
---
v1->v2
- Move bridge-switchdev related stuff to br_switchdev.c as suggested by Nik
Series applied.
I really appreciate how you split these changes up to make them easier
to review.
Thanks.