Merge branch 'selftests-mlxsw-a-couple-of-fixes'
authorJakub Kicinski <kuba@kernel.org>
Thu, 3 Mar 2022 16:14:04 +0000 (08:14 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 3 Mar 2022 16:14:06 +0000 (08:14 -0800)
Ido Schimmel says:

====================
selftests: mlxsw: A couple of fixes

Patch #1 fixes a breakage due to a change in iproute2 output. The real
problem is not iproute2, but the fact that the check was not strict
enough. Fixed by using JSON output instead. Targeting at net so that the
test will pass as part of old and new kernels regardless of iproute2
version.

Patch #2 fixes an issue uncovered by the first one.
====================

Link: https://lore.kernel.org/r/20220302161447.217447-1-idosch@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge