Subject: Re: [PATCH net-next v10 3/3] netdevsim: add selftest for forwarding skb between connected ports

From: Jakub Kicinski <[email-masked]>
Date: Tue, 13 Feb 2024 06:06:22 -0800

On Mon, 12 Feb 2024 14:05:44 -0800 David Wei wrote:
> +	ip netns add nssv
> +	ip netns add nscl

You're missing a

	udevadm settle

somewhere between creating the devices and getting their names.
Otherwise they'll get auto-renamed while the test is running.

> +	NSIM_DEV_1_NAME=$(find $NSIM_DEV_1_SYS/net -maxdepth 1 -type d ! \
> +		-path $NSIM_DEV_1_SYS/net -exec basename {} \;)
> +	NSIM_DEV_2_NAME=$(find $NSIM_DEV_2_SYS/net -maxdepth 1 -type d ! \
> +		-path $NSIM_DEV_2_SYS/net -exec basename {} \;)
-- 
pw-bot: cr