]> Gentwo Git Trees - linux/.git/commit
selftests: net: py: read ip link info about remote dev
authorJakub Kicinski <kuba@kernel.org>
Thu, 20 Nov 2025 02:10:19 +0000 (18:10 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Nov 2025 02:19:29 +0000 (18:19 -0800)
commit15011a57d0ec95d7ee7d5c1a4b108b9ee3c9ee31
tree628e0e15c951b1d0223d111b48e08c5f4401e657
parente02b52ecef5ba468f55ed0dc38de6016424d9703
selftests: net: py: read ip link info about remote dev

We're already saving the info about the local dev in env.dev
for the tests, save remote dev as well. This is more symmetric,
env generally provides the same info for local and remote end.

While at it make sure that we reliably get the detailed info
about the local dev. nsim used to read the dev info without -d.

Reviewed-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20251120021024.2944527-8-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/lib/py/env.py
tools/testing/selftests/net/lib/py/nsim.py