Merge branch 'mlxsw-selftests-cleanups'
authorDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2023 10:29:49 +0000 (11:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2023 10:29:49 +0000 (11:29 +0100)
Petr Machata says:

====================
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
====================

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge