linux/drivers/net/dsa
Vivien Didelot f123f2fbed net: dsa: pass bridge device when a port leaves
Upon reception of the NETDEV_CHANGEUPPER, a leaving port is already
unbridged, so reflect this by assigning the port's bridge_dev pointer to
NULL before calling the port_bridge_leave DSA driver operation.

Now that the bridge_dev pointer is exposed to the drivers, reflecting
the current state of the DSA switch fabric is necessary for the drivers
to adjust their port based VLANs correctly.

Pass the bridge device pointer to the port_bridge_leave operation so
that drivers have all information to re-program their chips properly,
and do not need to cache it anymore.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-29 18:42:46 -05:00
..
b53 net: dsa: pass bridge device when a port leaves 2017-01-29 18:42:46 -05:00
mv88e6xxx net: dsa: pass bridge device when a port leaves 2017-01-29 18:42:46 -05:00
bcm_sf2_regs.h net: dsa: bcm_sf2: Add support for BCM7278 integrated switch 2017-01-22 16:58:31 -05:00
bcm_sf2.c net: dsa: bcm_sf2: Allow non-IMP ports to have Broadcom tags enabled 2017-01-22 16:58:31 -05:00
bcm_sf2.h net: dsa: bcm_sf2: Allow non-IMP ports to have Broadcom tags enabled 2017-01-22 16:58:31 -05:00
Kconfig net-next: dsa: add new driver for qca8xxx family 2016-09-16 04:31:51 -04:00
Makefile net-next: dsa: add new driver for qca8xxx family 2016-09-16 04:31:51 -04:00
mv88e6060.c net: dsa: Make dsa_switch_ops const 2017-01-09 15:44:50 -05:00
mv88e6060.h net: dsa: Keep the mii bus and address in the private structure 2016-04-13 18:15:23 -04:00
qca8k.c net: dsa: pass bridge device when a port leaves 2017-01-29 18:42:46 -05:00
qca8k.h net-next: dsa: add new driver for qca8xxx family 2016-09-16 04:31:51 -04:00