Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp25364lqe; Fri, 5 Apr 2024 11:21:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXSu/ZISdB+tT122BmjzjHsECo82XWEKqvYpT454+93W+FlBn00bvjTAqI0P5lb79VEO1Mz6BtRlq910er+ObnDRfn7YWYGcMDXa9pQog== X-Google-Smtp-Source: AGHT+IGJyet8/gEB8Q0fD7dJVTxmigYNLh+xcy/R7Mkm/0aP+oD8Ghx0CAL+/dKjPLGcJ9kZlbs6 X-Received: by 2002:a17:90b:8d0:b0:2a2:88d:cdcb with SMTP id ds16-20020a17090b08d000b002a2088dcdcbmr2542408pjb.26.1712341306026; Fri, 05 Apr 2024 11:21:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712341306; cv=pass; d=google.com; s=arc-20160816; b=pUSJIniuh5bRBA9fDHbmoYWZF0A33qAU/FQuGriaVelRJyvWqCA8mV4pkcbW4rt9Vu Co6yEX01ysYMytiipkVSN3zipmrtxwlpdsX8VW+ZtAdRIc/XLv6FsrJuwmw6ks8Rq/1e chjF2KwWwh57iBgqVU5dGkuNnpl46e8HFeN3qpTI64F55bC9WDsKBY0MtuKMVmg5RK0m RITnvTUJEyDvfT6KC/GgVrXo+V6DIJPVpjFIgFzErGVutzxLOsJxP/Jq84V+Jq8tVVEq BTeN7VEVkkPyVC6HGydKRfKUhcXDbi6oD3B9IoZufSBEPeY1Po6onq+h/rq0a3l/AEpY 7w3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=1ExWG6lnq6Jb9Dq5C8ieewhWbtqdhaSVWPy/xy8ZHcg=; fh=czq77k2NQUk6tl+zzAQsX28uYj9nO6xFX+i9IDrvLdg=; b=ZMN4y8+rQFvDU1YBjdQILmiLRpF5hYrQWsklvXWim+aVsum1lRSj2suHY8iaRQB68r dWzxkw+JpXOC0+ioQOlzZpZk4mcSzK0RIgBJQ3CwikTxvscrJ2eoBHNb/XGCl0lUaKMf ESh9FF7LDkeZnExRZmwm9TqbIoJNPk/WIrfVyUTyaOWXLn2oFdK/YZN2b7b++enk7zHN G/grfM/fHScKkQEbJ/ZULf/OQ7coUdzYrbXM9Vif3xc8xoDdB0q6cNiL3BcpEaNMAWAV E6y55gUBKI5LIpZwCZ/6sVmO7t/Ai4DlYwN4Kuvj6E4cbsS7Mr7rsh7nR0JQOVsTXP2u WsGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=0ACe5f0S; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-133467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133467-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id j19-20020a17090ae61300b002a3be34832fsi1641289pjy.34.2024.04.05.11.21.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 11:21:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=0ACe5f0S; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-133467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133467-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A48B528C4F5 for ; Fri, 5 Apr 2024 18:21:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5970217277C; Fri, 5 Apr 2024 18:21:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="0ACe5f0S" Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (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 DCAF7171E6C for ; Fri, 5 Apr 2024 18:21:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712341299; cv=none; b=TVLEkeaw+705wYLf2ofwXxB0J5+UQz761Cj+fh2jucGPIL5e/r4Gh0wkRhMjPNwKvJMMHFwNU9v1ViFzWaf5ipxNNhGThU66IVKtAC8R0Nkb5qifUPMU07Ge0SWWuum9aC1sP9vvgbCWUD3YqWTV4+toictvDedY870ArqcJB6I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712341299; c=relaxed/simple; bh=1ExWG6lnq6Jb9Dq5C8ieewhWbtqdhaSVWPy/xy8ZHcg=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=K5g2yOkvbWY3oRxoVWMMKQbkyBybFlPsIxlY4GTBQXhJ7ur/iEVkUUexIX2BP10sMpEmxqetPKtoEZ58eRKtfkcWW7D8kqzwBl1iB9UbDGqK3xHF+0VoPqbeK81zcKoXDz2ZxX7taU1KFeURbzvJZ0Zrc2KS1xNxcivc7tUe3XY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=0ACe5f0S; arc=none smtp.client-ip=209.85.208.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-56e2e851794so1895a12.0 for ; Fri, 05 Apr 2024 11:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1712341296; x=1712946096; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1ExWG6lnq6Jb9Dq5C8ieewhWbtqdhaSVWPy/xy8ZHcg=; b=0ACe5f0SGLHB4Y9zBhen3KIZ3UQ6WTPJA04JDnrsqZqWlMLcv8kqWX6tmIdS3RfamY GnXrAuMCAFuMEvMspXtATTz6wJKn+O5QlxXmV65CqN/YExcf1hShY+F4SviMJiVf5Eed XJBXOrMMSq192xq977SNHGbsF6AEtZFMi4US7wSrfayzoPJchnrVZxyFsc08qtUTs/FL iKY1Lw8OoZE//93qZyOO+lRAQKixXtrgUXZaRQ0yM/Yz2qR9m3FeOZO3JLE5HQhahT3R D/27m6XuhmUCgB1WgyUC4MDmK8gCEoJdDbPp4x+mqXMaYH2KSAEd063S8m1y10/Z6GD9 chZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712341296; x=1712946096; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1ExWG6lnq6Jb9Dq5C8ieewhWbtqdhaSVWPy/xy8ZHcg=; b=v4fxKsm+IVYLLa7/TGIGiIoizC+Onw+KQCPSNmcwsDiXgp2iB/Nyj1fqGvIFDRoGuS 07tyMaLhCKbOCoMnKsojXJNHdSDFhA38fgLanY64Iv76EczkaoeZn2xksY9SuMyxUeM9 oDBIY5f+FteGpOeqyOXdbvd2CzSobUAI2aM4mr2rTlpxIt1kBOgLbFE93pdBTACRxCwE HSRz+4EU3Gxt1PtN8UbVBdqS4sE/IEhRYhldMCAkLXNCgrn7Y6zZAcnpQ+Uo7ySue1/0 KzqcKWNI5bcmOhH8IddESeSNgAF5lMj7txUIz2nkrLwFt9xbx6U/YFPls4z7plLg9G7z O0cA== X-Forwarded-Encrypted: i=1; AJvYcCUTGWA5xOCeHO1Kmpjdjo/M5Ay+bg2KVWPtQMoOLE+ZHiEYbxpb6710vT7fttJ69FMUJW0QJJtWpo+tyaVge9lAf1P23DrUPVowo72v X-Gm-Message-State: AOJu0Yxbhg25ZVLDL3jePdAl/VSmZUcjYcjSTkX1bY1R7F9CwvT9/eJj RQrCcrh7VdJ37DAtn6BAN5MzJwrHzPeNNPVEwW+un4Sau1SKOYIYVss4lYm3B1XlYm5+BWV9ap6 MEzZYoo6RQp5ZU1Mpjt7hGrpeK2hTMW8aP4Q02OV60TXqhzP9uw== X-Received: by 2002:a05:6402:3d8:b0:56e:22bc:754a with SMTP id t24-20020a05640203d800b0056e22bc754amr17913edw.0.1712341296037; Fri, 05 Apr 2024 11:21:36 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <1712340972-13643-1-git-send-email-venkat.x.venkatsubra@oracle.com> In-Reply-To: <1712340972-13643-1-git-send-email-venkat.x.venkatsubra@oracle.com> From: Eric Dumazet Date: Fri, 5 Apr 2024 20:21:25 +0200 Message-ID: Subject: Re: [PATCH net-next v2] ipvlan: handle NETDEV_DOWN event To: Venkat Venkatsubra Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, maheshb@google.com, kuba@kernel.org, gia-khanh.nguyen@oracle.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Apr 5, 2024 at 8:16=E2=80=AFPM Venkat Venkatsubra wrote: > > In case of stacked devices, to help propagate the down > link state from the parent/root device (to this leaf device), > handle NETDEV_DOWN event like it is done now for NETDEV_UP. > > In the below example, ens5 is the host interface which is the > parent of the ipvlan interface eth0 in the container. > Reviewed-by: Eric Dumazet Thanks.