Re: [patch net-next 5/6] selftests: forwarding: add wait_for_dev() helper

2024-04-13 Thread Jiri Pirko
Fri, Apr 12, 2024 at 10:43:40PM CEST, benjamin.poir...@gmail.com wrote: >On 2024-04-12 17:13 +0200, Jiri Pirko wrote: >> From: Jiri Pirko >> >> The existing setup_wait*() helper family check the status of the >> interface to be up. Introduce wait_for_dev() to wait for the netdevice >> to appear,

Re: [patch net-next 5/6] selftests: forwarding: add wait_for_dev() helper

2024-04-12 Thread Benjamin Poirier
On 2024-04-12 17:13 +0200, Jiri Pirko wrote: > From: Jiri Pirko > > The existing setup_wait*() helper family check the status of the > interface to be up. Introduce wait_for_dev() to wait for the netdevice > to appear, for example after test script does manual device bind. > > Signed-off-by: Jir

[patch net-next 5/6] selftests: forwarding: add wait_for_dev() helper

2024-04-12 Thread Jiri Pirko
From: Jiri Pirko The existing setup_wait*() helper family check the status of the interface to be up. Introduce wait_for_dev() to wait for the netdevice to appear, for example after test script does manual device bind. Signed-off-by: Jiri Pirko --- tools/testing/selftests/net/forwarding/lib.sh