Skip to content

mlxsw: Cosmetic fixes

Jiri Pirko netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12mlxsw: spectrum_trap: Use err variable instead of directly checking func return valuedrivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c+6 -20 replies
2/12mlxsw: spectrum_trap: Move functions to avoid their forward declarationsdrivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c+73 -780 replies
3/12mlxsw: core_acl_flex_actions: Rename Trap / Discard Action to Trap Actiondrivers/net/ethernet/mellanox/mlxsw/core_acl_flex_actions.c+49 -540 replies
4/12mlxsw: spectrum_trap: Move policer initialization to mlxsw_sp_trap_init()drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c+19 -530 replies
5/12mlxsw: core: Remove unused action field from mlxsw_rx_listener structdrivers/net/ethernet/mellanox/mlxsw/core.h+0 -10 replies
6/12mlxsw: core: Remove dummy union name from struct mlxsw_listenerdrivers/net/ethernet/mellanox/mlxsw/core.c drivers/net/ethernet/mellanox/mlxsw/core.h+7 -70 replies
7/12mlxsw: core: Convert is_event and is_ctrl bools to be single bitsdrivers/net/ethernet/mellanox/mlxsw/core.h+2 -20 replies
8/12mlxsw: core: Remove initialization to false of mlxsw_listener structdrivers/net/ethernet/mellanox/mlxsw/core.h+0 -20 replies
9/12mlxsw: spectrum_trap: Make global arrays const as they should bedrivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c+6 -60 replies
10/12mlxsw: spectrum_acl: Make block arg const where appropriatedrivers/net/ethernet/mellanox/mlxsw/spectrum.h drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c+10 -70 replies
11/12mlxsw: core: Remove priv from listener equality comparisondrivers/net/ethernet/mellanox/mlxsw/core.c drivers/net/ethernet/mellanox/mlxsw/core.h+15 -250 replies
12/12mlxsw: pci: Remove unused valuesdrivers/net/ethernet/mellanox/mlxsw/pci_hw.h+0 -20 replies

Reviews trailers per patch

1 of 12 patches has a Reviewed-by or Acked-by.

PatchJiri Pirko
1/12
2/12
3/12
4/12
5/12
6/12
7/12
8/12
9/12
10/12
11/12
12/12A-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 00/12] mlxsw: Cosmetic fixes

From: Jiri Pirko <[email protected]>

This is a set of mainly action/trap related cosmetic fixes. No functional changes.

Ido Schimmel (1):
mlxsw: pci: Remove unused values

Jiri Pirko (11):
mlxsw: spectrum_trap: Use err variable instead of directly checking
func return value
mlxsw: spectrum_trap: Move functions to avoid their forward
declarations
mlxsw: core_acl_flex_actions: Rename Trap / Discard Action to Trap
Action
mlxsw: spectrum_trap: Move policer initialization to
mlxsw_sp_trap_init()
mlxsw: core: Remove unused action field from mlxsw_rx_listener struct
mlxsw: core: Remove dummy union name from struct mlxsw_listener
mlxsw: core: Convert is_event and is_ctrl bools to be single bits
mlxsw: core: Remove initialization to false of mlxsw_listener struct
mlxsw: spectrum_trap: Make global arrays const as they should be
mlxsw: spectrum_acl: Make block arg const where appropriate
mlxsw: core: Remove priv from listener equality comparison

 drivers/net/ethernet/mellanox/mlxsw/core.c    |  38 ++-
 drivers/net/ethernet/mellanox/mlxsw/core.h    |  19 +-
 .../mellanox/mlxsw/core_acl_flex_actions.c    | 103 ++++----
 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h  |   2 -
 .../net/ethernet/mellanox/mlxsw/spectrum.h    |   7 +-
 .../ethernet/mellanox/mlxsw/spectrum_acl.c    |  10 +-
 .../ethernet/mellanox/mlxsw/spectrum_trap.c   | 221 ++++++++----------
 7 files changed, 174 insertions(+), 226 deletions(-)
Signature · 1 line
2.21.1