summaryrefslogtreecommitdiff
path: root/tools/testing/vma/include/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2026-03-30 18:29:27 +0300
committerPaolo Abeni <pabeni@redhat.com>2026-04-02 12:11:03 +0200
commit7db9da4c67c7781c2c917657d5d9bdc171836d5f (patch)
tree6aacf9ba2b0d02e940809a6bf7a46c72233db041 /tools/testing/vma/include/git@git.tavy.me:linux.git
parent2de16ebe78f0509d5fa0b41ed6e841603058b6a6 (diff)
selftests: net: update some helpers to use run_on
Update some helpers so that they are capable to run commands on different targets than the local one. This patch makes the necesasy modification for those helpers / sections of code which are needed for the ethtool_rmon.sh test that will be converted in the next patches. For example, mac_addr_prepare() and mac_addr_restore() used when STABLE_MAC_ADDRS=yes need to ensure stable MAC addresses on interfaces located even in other namespaces. In order to do that, append the 'ip link' commands with a 'run_on $dev' tag. The same run_on is necessary also when verifying if all the interfaces listed in NETIFS are indeed available. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Link: https://patch.msgid.link/20260330152933.2195885-4-ioana.ciornei@nxp.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions