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

2024-04-16 Thread Jiri Pirko
Mon, Apr 15, 2024 at 11:39:42PM CEST, benjamin.poir...@gmail.com wrote: >On 2024-04-15 18:25 +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 v2 5/6] selftests: forwarding: add wait_for_dev() helper

2024-04-15 Thread Benjamin Poirier
On 2024-04-15 18:25 +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 v2 5/6] selftests: forwarding: add wait_for_dev() helper

2024-04-15 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 --- v1->v2: - reworked wait_for_dev() helper to us