mbox series

[net-next,0/8] mlxsw, selftests: Cleanups

Message ID cover.1685720841.git.petrm@nvidia.com (mailing list archive)
Headers show
Series mlxsw, selftests: Cleanups | expand

Message

Petr Machata June 2, 2023, 4:20 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 5, 2023, 10:30 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Fri, 2 Jun 2023 18:20:04 +0200 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [net-next,1/8] mlxsw: spectrum_router: Clarify a comment
    https://git.kernel.org/netdev/net-next/c/be35db17c872
  - [net-next,2/8] mlxsw: spectrum_router: Use extack in mlxsw_sp~_rif_ipip_lb_configure()
    https://git.kernel.org/netdev/net-next/c/5afef6748c19
  - [net-next,3/8] mlxsw: spectrum_router: Do not query MAX_RIFS on each iteration
    https://git.kernel.org/netdev/net-next/c/3903249ee1af
  - [net-next,4/8] mlxsw: spectrum_router: Do not query MAX_VRS on each iteration
    https://git.kernel.org/netdev/net-next/c/75426cc0b316
  - [net-next,5/8] selftests: mlxsw: ingress_rif_conf_1d: Fix the diagram
    https://git.kernel.org/netdev/net-next/c/204cc3d04fe2
  - [net-next,6/8] selftests: mlxsw: egress_vid_classification: Fix the diagram
    https://git.kernel.org/netdev/net-next/c/34ad708d1b43
  - [net-next,7/8] selftests: router_bridge_vlan: Add a diagram
    https://git.kernel.org/netdev/net-next/c/812de4dfab98
  - [net-next,8/8] selftests: router_bridge_vlan: Set vlan_default_pvid 0 on the bridge
    https://git.kernel.org/netdev/net-next/c/f5136877f421

You are awesome, thank you!