OSDN Git Service

Merge branch 'net-Remove-support-from-bridge-bypass-for-mlxsw-rocker-drivers'
authorDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 18:16:31 +0000 (14:16 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jun 2017 18:16:31 +0000 (14:16 -0400)
commit4cd31af77582653a8e4b367fdb612e84a2cdd685
treec88e676bbbe2590489392fdad2f69792b29f600e
parent6c8607eb34369092f2f3bf9f99522ed7555b3a04
parentabfbf8a0b25e779d0e3533a7d99843982755d61e
Merge branch 'net-Remove-support-from-bridge-bypass-for-mlxsw-rocker-drivers'

Jiri Pirko says:

===================
net: Remove support from bridge bypass for mlxsw/rocker drivers

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
===================

Signed-off-by: David S. Miller <davem@davemloft.net>