Thread (27 messages) 27 messages, 3 authors, 2026-03-21

Re: [PATCH net-next v3 4/9] selftests: net: update some helpers to use run_on

From: Ioana Ciornei <ioana.ciornei@nxp.com>
Date: 2026-03-20 12:55:12
Also in: lkml

On Fri, Mar 20, 2026 at 12:22:02PM +0100, Petr Machata wrote:
Ioana Ciornei [off-list ref] writes:
quoted
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>
This looks good, but I'm unhappy with some overlong lines again :)
Sure, I will take care of them.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help