From: David S. Miller <davem@davemloft.net>
Date: Thu, 8 Jun 2017 18:16:31 +0000 (-0400)
Subject: Merge branch 'net-Remove-support-from-bridge-bypass-for-mlxsw-rocker-drivers'
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4cd31af77582653a8e4b367fdb612e84a2cdd685;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git

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

4cd31af77582653a8e4b367fdb612e84a2cdd685