Re: [PATCH net-next v6 5/5] selftests: netconsole: validate target resume
From: Breno Leitao
Date: Mon Nov 24 2025 - 04:52:03 EST
On Fri, Nov 21, 2025 at 12:49:04PM +0000, Andre Carvalho wrote:
> Introduce a new netconsole selftest to validate that netconsole is able
> to resume a deactivated target when the low level interface comes back.
>
> The test setups the network using netdevsim, creates a netconsole target
> and then remove/add netdevsim in order to bring the same interfaces
> back. Afterwards, the test validates that the target works as expected.
>
> Targets are created via cmdline parameters to the module to ensure that
> we are able to resume targets that were bound by mac and interface name.
>
> Signed-off-by: Andre Carvalho <asantostc@xxxxxxxxx>
Reviewed-by: Breno Leitao <leitao@xxxxxxxxxx>