On Wed, 26 Nov 2025 20:22:52 +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 going down).
It then modifies netconsole to handle NETDEV_UP events for such targets and setups netpoll. Targets are matched with incoming interfaces depending on how they were initially bound in netconsole (by mac or interface name).
Netpoll does not seem to handle DOWN events, so I'm guessing your primary use case is that the device had a HW fault and netdev was recreated after device reset?
Should we not be listening for the REGISTER event then? On boot we force UP the device if we find it, theoretically there may be a case where user space is not configured to UP the device, and then we'd never resume the target?