netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/8] mlxsw, selftests: Cleanups
@ 2023-06-02 16:20 Petr Machata
  2023-06-02 16:20 ` [PATCH net-next 1/8] mlxsw: spectrum_router: Clarify a comment Petr Machata
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Petr Machata @ 2023-06-02 16:20 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	netdev
  Cc: Ido Schimmel, Petr Machata, Amit Cohen, Danielle Ratson,
	linux-kselftest, mlxsw

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(-)

-- 
2.40.1


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-05 10:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-02 16:20 [PATCH net-next 0/8] mlxsw, selftests: Cleanups Petr Machata
2023-06-02 16:20 ` [PATCH net-next 1/8] mlxsw: spectrum_router: Clarify a comment Petr Machata
2023-06-02 16:20 ` [PATCH net-next 2/8] mlxsw: spectrum_router: Use extack in mlxsw_sp~_rif_ipip_lb_configure() Petr Machata
2023-06-02 16:20 ` [PATCH net-next 3/8] mlxsw: spectrum_router: Do not query MAX_RIFS on each iteration Petr Machata
2023-06-02 16:20 ` [PATCH net-next 4/8] mlxsw: spectrum_router: Do not query MAX_VRS " Petr Machata
2023-06-02 16:20 ` [PATCH net-next 5/8] selftests: mlxsw: ingress_rif_conf_1d: Fix the diagram Petr Machata
2023-06-02 16:20 ` [PATCH net-next 6/8] selftests: mlxsw: egress_vid_classification: " Petr Machata
2023-06-02 16:20 ` [PATCH net-next 7/8] selftests: router_bridge_vlan: Add a diagram Petr Machata
2023-06-02 16:20 ` [PATCH net-next 8/8] selftests: router_bridge_vlan: Set vlan_default_pvid 0 on the bridge Petr Machata
2023-06-05 10:30 ` [PATCH net-next 0/8] mlxsw, selftests: Cleanups patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).