linux/drivers/net/dsa
Vladimir Oltean a52b2da778 net: dsa: remove the transactional logic from MDB entries
For many drivers, the .port_mdb_prepare callback was not a good opportunity
to avoid any error condition, and they would suppress errors found during
the actual commit phase.

Where a logical separation between the prepare and the commit phase
existed, the function that used to implement the .port_mdb_prepare
callback still exists, but now it is called directly from .port_mdb_add,
which was modified to return an int code.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de> # hellcreek
Reviewed-by: Linus Wallei <linus.walleij@linaro.org> # RTL8366
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-01-11 16:00:57 -08:00
..
b53 net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
hirschmann net: switchdev: remove the transaction structure from port attributes 2021-01-11 16:00:57 -08:00
microchip net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
mv88e6xxx net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
ocelot net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
qca net: dsa: qca: ar9331: fix sleeping function called from invalid context bug 2020-12-16 10:57:35 -08:00
sja1105 net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
bcm_sf2_cfp.c net: switchdev: remove vid_begin -> vid_end range from VLAN objects 2021-01-11 16:00:56 -08:00
bcm_sf2_regs.h net: dsa: bcm_sf2: support BCM4908's integrated switch 2021-01-09 19:18:10 -08:00
bcm_sf2.c net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
bcm_sf2.h net: dsa: bcm_sf2: recalculate switch clock rate based on ports 2020-09-03 15:08:03 -07:00
dsa_loop_bdinfo.c
dsa_loop.c net: switchdev: remove the transaction structure from port attributes 2021-01-11 16:00:57 -08:00
dsa_loop.h
Kconfig net: dsa: Add DSA driver for Hirschmann Hellcreek switches 2020-11-05 14:04:49 -08:00
lan9303_i2c.c
lan9303_mdio.c
lan9303-core.c net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
lan9303.h
lantiq_gswip.c net: switchdev: remove the transaction structure from port attributes 2021-01-11 16:00:57 -08:00
lantiq_pce.h
Makefile net: dsa: Add DSA driver for Hirschmann Hellcreek switches 2020-11-05 14:04:49 -08:00
mt7530.c net: switchdev: remove the transaction structure from port attributes 2021-01-11 16:00:57 -08:00
mt7530.h net: dsa: mt7530: support setting ageing time 2020-12-08 16:18:26 -08:00
mv88e6060.c
mv88e6060.h
qca8k.c net: switchdev: remove the transaction structure from port attributes 2021-01-11 16:00:57 -08:00
qca8k.h net: dsa: qca8k: Add 802.1q VLAN support 2020-08-03 15:45:39 -07:00
realtek-smi-core.c net: dsa: rtl8366rb: Roof MTU for switch 2020-10-10 11:25:05 -07:00
realtek-smi-core.h net: switchdev: remove the transaction structure from port attributes 2021-01-11 16:00:57 -08:00
rtl8366.c net: switchdev: remove the transaction structure from port attributes 2021-01-11 16:00:57 -08:00
rtl8366rb.c net: dsa: rtl8366rb: Roof MTU for switch 2020-10-10 11:25:05 -07:00
vitesse-vsc73xx-core.c net: dsa: vsc73xx: make the MTU configurable 2020-03-27 16:07:25 -07:00
vitesse-vsc73xx-platform.c net: dsa: vitesse-vsc73xx: Convert to plain comments to avoid kerneldoc warnings 2020-07-05 15:49:03 -07:00
vitesse-vsc73xx-spi.c net: dsa: vitesse-vsc73xx: Convert to plain comments to avoid kerneldoc warnings 2020-07-05 15:49:03 -07:00
vitesse-vsc73xx.h