[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240213060622.33593442@kernel.org>
Date: Tue, 13 Feb 2024 06:06:22 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: David Wei <dw@...idwei.uk>
Cc: Jiri Pirko <jiri@...nulli.us>, Sabrina Dubroca <sd@...asysnail.net>,
netdev@...r.kernel.org, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net-next v10 3/3] netdevsim: add selftest for forwarding
skb between connected ports
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
Powered by blists - more mailing lists