linux/drivers/net/dsa/microchip
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
..
Kconfig net: dsa: ksz: Select KSZ protocol tag 2020-03-31 10:04:40 -07:00
ksz8795.c net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
ksz8795_reg.h net: dsa: microchip: ksz8795: use num_vlans where possible 2020-12-02 17:16:29 -08:00
ksz8795_spi.c net: dsa: microchip: ksz8795: setup SPI mode 2020-11-25 17:53:45 -08:00
ksz9477.c net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
ksz9477_i2c.c net: dsa: microchip: add ksz9563 to ksz9477 I2C driver 2020-10-09 13:05:56 -07:00
ksz9477_reg.h net: dsa: microchip: Use the correct style for SPDX License Identifier 2019-10-15 14:59:58 -07:00
ksz9477_spi.c net: dsa: microchip: ksz9477: setup SPI mode 2020-11-25 17:53:45 -08:00
ksz_common.c net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
ksz_common.h net: dsa: remove the transactional logic from MDB entries 2021-01-11 16:00:57 -08:00
Makefile net: dsa: microchip: add KSZ9477 I2C driver 2019-09-12 11:36:12 +01:00