Skip to content

mlxsw, selftests: Cleanups

Petr Machata linux-kselftest netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesApplied 8/8

Patches in v1 All 8 applied

#Subject and filesSizeRepliesApplied
1/8mlxsw: spectrum_router: Clarify a commentdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+2 -20 repliesApplied
2/8mlxsw: spectrum_router: Use extack in mlxsw_sp~_rif_ipip_lb_configure()drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+2 -20 repliesApplied
3/8mlxsw: spectrum_router: Do not query MAX_RIFS on each iterationdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+4 -20 repliesApplied
4/8mlxsw: spectrum_router: Do not query MAX_VRS on each iterationdrivers/net/ethernet/mellanox/mlxsw/spectrum_router.c+8 -40 repliesApplied
5/8selftests: mlxsw: ingress_rif_conf_1d: Fix the diagramtools/testing/selftests/drivers/net/mlxsw/ingress_rif_conf_1d.sh+2 -30 repliesApplied
6/8selftests: mlxsw: egress_vid_classification: Fix the diagramtools/testing/selftests/drivers/net/mlxsw/egress_vid_classification.sh+2 -30 repliesApplied
7/8selftests: router_bridge_vlan: Add a diagramtools/testing/selftests/net/forwarding/router_bridge_vlan.sh+22 -00 repliesApplied
8/8selftests: router_bridge_vlan: Set vlan_default_pvid 0 on the bridgetools/testing/selftests/net/forwarding/router_bridge_vlan.sh+1 -10 repliesApplied

Reviews trailers per patch

All 8 patches have a Reviewed-by or Acked-by.

PatchAmit Cohen
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-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/8] mlxsw, selftests: Cleanups

This patchset consolidates a number of disparate items that can all be considered cleanups. They are all related to mlxsw in that they are directly in mlxsw code, or in selftests that mlxsw heavily uses.

- patch #1 fixes a comment, patch #2 propagates an extack

- patches #3 and #4 tweak several loops to query a resource once and cache in a local variable instead of querying on each iteration

- patches #5 and #6 fix selftest diagrams, and #7 adds a missing diagram into an existing test

- patch #8 disables a PVID on a bridge in a selftest that should not need said PVID

Petr Machata (8):
mlxsw: spectrum_router: Clarify a comment
mlxsw: spectrum_router: Use extack in
mlxsw_sp~_rif_ipip_lb_configure()
mlxsw: spectrum_router: Do not query MAX_RIFS on each iteration
mlxsw: spectrum_router: Do not query MAX_VRS on each iteration
selftests: mlxsw: ingress_rif_conf_1d: Fix the diagram
selftests: mlxsw: egress_vid_classification: Fix the diagram
selftests: router_bridge_vlan: Add a diagram
selftests: router_bridge_vlan: Set vlan_default_pvid 0 on the bridge

 .../ethernet/mellanox/mlxsw/spectrum_router.c | 26 ++++++++++++-------
 .../net/mlxsw/egress_vid_classification.sh    |  5 ++--
 .../drivers/net/mlxsw/ingress_rif_conf_1d.sh  |  5 ++--
 .../net/forwarding/router_bridge_vlan.sh      | 24 ++++++++++++++++-
 4 files changed, 43 insertions(+), 17 deletions(-)
Signature · 1 line
2.40.1