From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9F903A960C for ; Tue, 20 Jan 2026 11:39:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768909152; cv=none; b=d918f/IBkNBSvvFcbN5Mg+Sv3TaAFSYqqOxXI07dKJlD+av6xp9z/6IG6gUdzwXIpmiCYM1oFWg8vVpugsBbcrQXz0zLPcg7kdiUVKy+VSZ2MGB6IXXlV29obXEJkaf0qiqi6AYz2tO5yuSojweKbJpAiehM7cuRFYEVoyGVNrI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768909152; c=relaxed/simple; bh=NXQQ0WkSmgtYQRflH9tioiw7U5+rUuPB44dqz2UDnCk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Z0Vf/m6VXZn7n/X2cHaI31LA6Zz/DWOnvTw3VSAM0ZSeZ6CkLvnkeVZ4KyIwob0brRGJJ9XiLsmaC9cGlfu28i+J7ZfvakBAJHrqlwA/fjpj4UeOtBvIIPzu+vb5PZfCcMBokoElj2ae4rbnQpaBGTgYs01r2RdMj1hv93VBRk8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.161.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-65f65538a98so2933846eaf.0 for ; Tue, 20 Jan 2026 03:39:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768909150; x=1769513950; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZhcjOLbEZG4bgQTQWPq2S3Utcl+3a4AuxvSi1hMPyUE=; b=icKA8CW2OaaZEFTzDD3ilAlwgYZ7V83qLhqm6YkdyiwPK8ls9TOS+V6yY3XLZSYTDn r7uQJrNN6K1wIzfUxaVrEbm4DlRiMZcKNaYrWcdAdS2Cxzov1uNvVpcSu25GyCzA5ao2 xjHiJI2v+KRTOcgmGSh3ouEcLFqFffjDmMTM+aTF8qaJ6i6Kkmh1SgcAAVTIZEit6vGr Zf9EvZ6YF2Gx5G8FlE1W89fphwjDEVi3Rmj2cgXHR6cJG+kQqS80X/MnuvGVgNEx5o8I M339Z7wzHZDuFxkxK1Lxl00OEkD4dcLBTIgein6ggZ9mvM3rixNmZ5iqqV3WIRR3eQV8 FEJA== X-Forwarded-Encrypted: i=1; AJvYcCUeO4QSaYFImX+E20+GPErb60GZTi4nvIW0/c2EznhRpK08STIi6/YmQgR9vDe/ovNLtsFMgpQTucb2TjY=@vger.kernel.org X-Gm-Message-State: AOJu0YxMKeJAncMKKKgYYM6yn1NE+UK5kTPwN320snIEYEa6bWa6nJac bSraTK2tA7G2PzSd5499b811nOT+cAM6PcE/9HaLPE08/FjZpHWhlfRs X-Gm-Gg: AY/fxX7UE9YPGd2mVM+uwJ6bqFpq/mCHXxxYMEekPNXw/od+i3RV9kbUYHczOgqTkeV FU36teCqGaAfuwqRxi0o7DU6ZfBBl4fuArpiCR19vj0PTteaYfE9FN+lth7GAuNpmjAIdwiQfok wHB4W2fBTv3ApYAtfAiDc3x+OBc5nngU7/UME5sQeYc5shyfGVg5B33oW59QLhM1eLo/n1l5VBd SA3+sCy71rYB6Y/y18fWG8/WfPv/2m3BHcWeuZVq7u4Maho0cN/xkdZiuPtAvvGV22tl4Qq6FOM JziIwSoWgal/wvpciYc6y5WGVI7/6d/iLRNqTwPbzJtGPcSQdWinRl8TwomQ3TLlX4iHupMo27T ihY786Wohb+3EtKy3PnoW4MhUAzozHK+vRUDdVz7v8LLWe/PSI7ZPAYWLLrxRot9q7HyA4o1paU us8Q== X-Received: by 2002:a05:6820:81ce:b0:657:5f31:31b1 with SMTP id 006d021491bc7-661177c31c7mr4988879eaf.0.1768909149768; Tue, 20 Jan 2026 03:39:09 -0800 (PST) Received: from gmail.com ([2a03:2880:10ff:4e::]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-6611890c9aesm5874107eaf.4.2026.01.20.03.39.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jan 2026 03:39:09 -0800 (PST) Date: Tue, 20 Jan 2026 03:39:07 -0800 From: Breno Leitao To: Andre Carvalho Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shuah Khan , Simon Horman , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH net-next v11 0/7] netconsole: support automatic target recovery Message-ID: References: <20260118-netcons-retrigger-v11-0-4de36aebcf48@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260118-netcons-retrigger-v11-0-4de36aebcf48@gmail.com> 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 Tested-by: Breno Leitao Thanks for your work here, and sorry for so many revisions! --breno