Re: [PATCH net-next v11 0/7] netconsole: support automatic target recovery
From: Breno Leitao
Date: Tue Jan 20 2026 - 06:39:10 EST
On Sun, Jan 18, 2026 at 11:00:20AM +0000, Andre Carvalho wrote:
> This patchset introduces target resume capability to netconsole allowing
> it to recover targets when underlying low-level interface comes back
> online.
>
> The patchset starts by refactoring netconsole state representation in
> order to allow representing deactivated targets (targets that are
> disabled due to interfaces unregister).
>
> It then modifies netconsole to handle NETDEV_REGISTER events for such
> targets, setups netpoll and forces the device UP. Targets are matched with
> incoming interfaces depending on how they were bound in netconsole
> (by mac or interface name). For these reasons, we also attempt resuming
> on NETDEV_CHANGENAME.
>
> The patchset includes a selftest that validates netconsole target state
> transitions and that target is functional after resumed.
>
> Signed-off-by: Andre Carvalho <asantostc@xxxxxxxxx>
Tested-by: Breno Leitao <leitao@xxxxxxxxxx>
Thanks for your work here, and sorry for so many revisions!
--breno