Merge branch 'get-rid-of-the-switchdev-transactional-model'
authorJakub Kicinski <kuba@kernel.org>
Tue, 12 Jan 2021 00:01:00 +0000 (16:01 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Jan 2021 00:01:00 +0000 (16:01 -0800)
commitd1c8b6a3dd772f72204c341e0594c22f4ea9e69b
treefd7cbb69cd117a7a9ef46f9f79d5611f44971bf8
parentbeb401ec50067bfef39e74f0cf80be3de3313e7d
parent8f73cc50ba2dd5a5749d3670e453c3864258b892
Merge branch 'get-rid-of-the-switchdev-transactional-model'

Vladimir Oltean says:

====================
Get rid of the switchdev transactional model

Changes in v4:
- Fixed build error in dsa_loop and build warning in hellcreek driver.
- Scheduling the mlxsw SPAN work item regardless of the VLAN add return
  code, as per Ido's and Petr's request.

Changes in v3:
- Resolved a build warning in mv88e6xxx and tested that it actually
  works properly, which resulted in an extra patch (02/11).
- Addressed Ido's minor feedback in commit 10/11 relating to a comment.

Changes in v2:
- Got rid of the vid_begin -> vid_end range too from the switchdev API.
- Actually propagating errors from DSA MDB and VLAN notifiers.

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.

Also remove the unused VLAN ranges feature from the switchdev VLAN
objects, which simplifies all drivers by quite a bit.
====================

Link: https://lore.kernel.org/r/20210109000156.1246735-1-olteanv@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>