netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH net-next 0/9] Get rid of the switchdev transactional model
@ 2020-12-17  1:58 Vladimir Oltean
  2020-12-17  1:58 ` [RFC PATCH net-next 1/9] net: switchdev: remove the transaction structure from port object notifiers Vladimir Oltean
                   ` (10 more replies)
  0 siblings, 11 replies; 26+ messages in thread
From: Vladimir Oltean @ 2020-12-17  1:58 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski, netdev
  Cc: Florian Fainelli, Andrew Lunn, Vivien Didelot, Vladimir Oltean,
	Kurt Kanzenbach, Hauke Mehrtens, Woojung Huh,
	Microchip Linux Driver Support, Sean Wang, Landen Chao,
	Claudiu Manoil, Alexandre Belloni, Linus Walleij, Vadym Kochan,
	Taras Chornyi, Jiri Pirko, Ido Schimmel, Grygorii Strashko,
	Ioana Ciornei, Ivan Vecera

This series comes after the late realization that the prepare/commit
separation imposed by switchdev does not help literally anybody:
https://patchwork.kernel.org/project/netdevbpf/patch/20201212203901.351331-1-vladimir.oltean@nxp.com/

We should kill it before it inflicts even more damage to the error
handling logic in drivers.

Vladimir Oltean (9):
  net: switchdev: remove the transaction structure from port object
    notifiers
  net: switchdev: delete switchdev_port_obj_add_now
  net: switchdev: remove the transaction structure from port attributes
  net: dsa: remove the transactional logic from ageing time notifiers
  net: dsa: remove the transactional logic from MDB entries
  net: dsa: remove the transactional logic from VLAN objects
  net: dsa: remove obsolete comment about switchdev transactions
  mlxsw: spectrum_switchdev: remove transactional logic for VLAN objects
  net: switchdev: delete the transaction object

 drivers/net/dsa/b53/b53_common.c              |  42 +++----
 drivers/net/dsa/b53/b53_priv.h                |  15 +--
 drivers/net/dsa/bcm_sf2.c                     |   2 -
 drivers/net/dsa/bcm_sf2_cfp.c                 |   7 +-
 drivers/net/dsa/dsa_loop.c                    |  32 ++----
 drivers/net/dsa/hirschmann/hellcreek.c        |  18 +--
 drivers/net/dsa/lan9303-core.c                |  12 +-
 drivers/net/dsa/lantiq_gswip.c                |  40 +++----
 drivers/net/dsa/microchip/ksz8795.c           |  14 +--
 drivers/net/dsa/microchip/ksz9477.c           |  40 +++----
 drivers/net/dsa/microchip/ksz_common.c        |  23 +---
 drivers/net/dsa/microchip/ksz_common.h        |   8 +-
 drivers/net/dsa/mt7530.c                      |  20 +---
 drivers/net/dsa/mv88e6xxx/chip.c              |  72 ++++++------
 drivers/net/dsa/ocelot/felix.c                |  32 +++---
 drivers/net/dsa/qca8k.c                       |  20 +---
 drivers/net/dsa/realtek-smi-core.h            |   9 +-
 drivers/net/dsa/rtl8366.c                     |  36 +++---
 drivers/net/dsa/rtl8366rb.c                   |   1 -
 drivers/net/dsa/sja1105/sja1105.h             |   3 +-
 drivers/net/dsa/sja1105/sja1105_devlink.c     |   9 +-
 drivers/net/dsa/sja1105/sja1105_main.c        |  48 +++-----
 .../marvell/prestera/prestera_switchdev.c     |  44 ++------
 .../mellanox/mlxsw/spectrum_switchdev.c       | 102 ++++-------------
 drivers/net/ethernet/mscc/ocelot.c            |  32 ++----
 drivers/net/ethernet/mscc/ocelot_net.c        |  39 ++-----
 drivers/net/ethernet/rocker/rocker.h          |   6 +-
 drivers/net/ethernet/rocker/rocker_main.c     |  61 +++--------
 drivers/net/ethernet/rocker/rocker_ofdpa.c    |  23 ++--
 drivers/net/ethernet/ti/cpsw_switchdev.c      |  37 ++-----
 drivers/staging/fsl-dpaa2/ethsw/ethsw.c       |  80 +++++---------
 include/net/dsa.h                             |  11 +-
 include/net/switchdev.h                       |  24 +---
 include/soc/mscc/ocelot.h                     |   3 +-
 net/dsa/dsa_priv.h                            |  27 ++---
 net/dsa/port.c                                | 103 +++++++-----------
 net/dsa/slave.c                               |  56 +++-------
 net/dsa/switch.c                              |  74 ++-----------
 net/switchdev/switchdev.c                     | 101 ++---------------
 39 files changed, 408 insertions(+), 918 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2020-12-28 10:02 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-17  1:58 [RFC PATCH net-next 0/9] Get rid of the switchdev transactional model Vladimir Oltean
2020-12-17  1:58 ` [RFC PATCH net-next 1/9] net: switchdev: remove the transaction structure from port object notifiers Vladimir Oltean
2020-12-17  2:14   ` Florian Fainelli
2020-12-17  1:58 ` [RFC PATCH net-next 2/9] net: switchdev: delete switchdev_port_obj_add_now Vladimir Oltean
2020-12-17  2:14   ` Florian Fainelli
2020-12-17  1:58 ` [RFC PATCH net-next 3/9] net: switchdev: remove the transaction structure from port attributes Vladimir Oltean
2020-12-18  8:46   ` Kurt Kanzenbach
2020-12-27 13:26   ` Linus Walleij
2020-12-17  1:58 ` [RFC PATCH net-next 4/9] net: dsa: remove the transactional logic from ageing time notifiers Vladimir Oltean
2020-12-17  2:06   ` Florian Fainelli
2020-12-17  1:58 ` [RFC PATCH net-next 5/9] net: dsa: remove the transactional logic from MDB entries Vladimir Oltean
2020-12-17  2:08   ` Florian Fainelli
2020-12-17 11:03   ` Vladimir Oltean
2020-12-17  1:58 ` [RFC PATCH net-next 6/9] net: dsa: remove the transactional logic from VLAN objects Vladimir Oltean
2020-12-17  2:11   ` Florian Fainelli
2020-12-17 11:04   ` Vladimir Oltean
2020-12-17 11:43     ` Vladimir Oltean
2020-12-18  8:49   ` Kurt Kanzenbach
2020-12-27 13:30   ` Linus Walleij
2020-12-17  1:58 ` [RFC PATCH net-next 7/9] net: dsa: remove obsolete comment about switchdev transactions Vladimir Oltean
2020-12-17  2:11   ` Florian Fainelli
2020-12-17  1:58 ` [RFC PATCH net-next 8/9] mlxsw: spectrum_switchdev: remove transactional logic for VLAN objects Vladimir Oltean
2020-12-17  1:58 ` [RFC PATCH net-next 9/9] net: switchdev: delete the transaction object Vladimir Oltean
2020-12-17  2:11   ` Florian Fainelli
2020-12-27 13:32 ` [RFC PATCH net-next 0/9] Get rid of the switchdev transactional model Linus Walleij
2020-12-28  9:59 ` Jiri Pirko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).