Skip to content

mlxsw: Various updates

Ido Schimmel netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 0 repliesApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7mlxsw: spectrum: Set basic trap groups from an arraydrivers/net/ethernet/mellanox/mlxsw/spectrum.c+18 -290 repliesApplied
2/7mlxsw: core: Move basic_trap_groups_set() call out of EMAD init codedrivers/net/ethernet/mellanox/mlxsw/core.c+10 -60 repliesApplied
3/7mlxsw: core: Move basic trap group initialization from spectrum.cdrivers/net/ethernet/mellanox/mlxsw/core.c drivers/net/ethernet/mellanox/mlxsw/core.h drivers/net/ethernet/mellanox/mlxsw/spectrum.c+21 -310 repliesApplied
4/7mlxsw: core: Move functions to register/unregister array of traps to core.cdrivers/net/ethernet/mellanox/mlxsw/core.c drivers/net/ethernet/mellanox/mlxsw/core.h drivers/net/ethernet/mellanox/mlxsw/spectrum.c+58 -490 repliesApplied
5/7mlxsw: core: Consolidate trap groups to a single event groupdrivers/net/ethernet/mellanox/mlxsw/core.c drivers/net/ethernet/mellanox/mlxsw/core.h drivers/net/ethernet/mellanox/mlxsw/core_env.c +1 more+8 -90 repliesApplied
6/7mlxsw: spectrum: Guard against invalid local portsdrivers/net/ethernet/mellanox/mlxsw/spectrum.c drivers/net/ethernet/mellanox/mlxsw/spectrum.h drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c +1 more+10 -70 repliesApplied
7/7mlxsw: spectrum_acl: Allocate default actions for internal TCAM regionsdrivers/net/ethernet/mellanox/mlxsw/resources.h drivers/net/ethernet/mellanox/mlxsw/spectrum2_acl_tcam.c+13 -10 repliesApplied

Reviews trailers per patch

5 of 7 patches have a Reviewed-by or Acked-by.

PatchPetr Machata
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7
6/7
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/7] mlxsw: Various updates

This patchset contains miscellaneous updates for mlxsw. No user visible changes that I am aware of.

Patches #1-#5 rework registration of internal traps in preparation of line cards support.

Patch #6 improves driver resilience against a misbehaving device.

Patch #7 prevents the driver from overwriting device internal actions. See the commit message for more details.

Amit Cohen (1):
mlxsw: spectrum: Guard against invalid local ports

Ido Schimmel (1):
mlxsw: spectrum_acl: Allocate default actions for internal TCAM
regions

Jiri Pirko (5):
mlxsw: spectrum: Set basic trap groups from an array
mlxsw: core: Move basic_trap_groups_set() call out of EMAD init code
mlxsw: core: Move basic trap group initialization from spectrum.c
mlxsw: core: Move functions to register/unregister array of traps to
core.c
mlxsw: core: Consolidate trap groups to a single event group

 drivers/net/ethernet/mellanox/mlxsw/core.c    |  75 +++++++++++--
 drivers/net/ethernet/mellanox/mlxsw/core.h    |  10 +-
 .../net/ethernet/mellanox/mlxsw/core_env.c    |   4 +-
 drivers/net/ethernet/mellanox/mlxsw/reg.h     |   4 +-
 .../net/ethernet/mellanox/mlxsw/resources.h   |   2 +
 .../net/ethernet/mellanox/mlxsw/spectrum.c    | 106 +++---------------
 .../net/ethernet/mellanox/mlxsw/spectrum.h    |   7 ++
 .../mellanox/mlxsw/spectrum2_acl_tcam.c       |  12 +-
 .../ethernet/mellanox/mlxsw/spectrum_ptp.c    |   3 +-
 .../mellanox/mlxsw/spectrum_switchdev.c       |   3 +-
 10 files changed, 116 insertions(+), 110 deletions(-)
Signature · 1 line
2.33.1