Received: by 2002:ab2:2441:0:b0:1f3:1f8c:d0c6 with SMTP id k1csp2183lqe; Wed, 3 Apr 2024 19:07:46 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVPeDdvlAGk0p1eUB1CAmxq3WGATrmQPz0M9+nmEu4tD71P5FzkEfxTbxqkbZAAKcn4+hxwMC0yI84tYiIkNDfWSuo02mBhvcaFYFmUyw== X-Google-Smtp-Source: AGHT+IGX7JYUw94P3EqgeDsUr5ZNoumjScyzEL5jikXqxIIisG6/zovFtyASEDu1rxEvj67pWing X-Received: by 2002:ae9:c205:0:b0:78d:3ffe:36b9 with SMTP id j5-20020ae9c205000000b0078d3ffe36b9mr982496qkg.14.1712196466539; Wed, 03 Apr 2024 19:07:46 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712196466; cv=pass; d=google.com; s=arc-20160816; b=YUGgofmEuIZiA0arvL8lOkb0dnbG53zXH8fxLpSS6kyAuTP7aTO+8esLAb7+sYguds aMv0XU0TY08HDgILUE1FyMf1ijw0j/3WXtOECR2nt/Wylon84LFx+KeH0ZdnCgAkRvZy v0IlFzd8/1PcdNu/DJFeScGY23pL+J9z84wmCiKo3t2s1Hqv5jcxxRLWzXTRYmseQzy4 ywa4B0qiKwbIl0WCi4+snmZQxYpxbPdFTWBnqVOPaeIcdFvQqnHr+wzXgNV9gUAgQRJ7 SIQ5g7ITgCHjzkQPlyBfg32/e6xjMn/Xxjqo86nN8oqMr+yIKUhtZwPG+7ygLE0LVxDl h03w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=PQvXQlBfCWurNkP8feLUK+8HQle7ZVL/aPL7coEvQAo=; fh=KR8qxNt0DFsrUyliZvAqB1VtiOGyi5qIJpzwiVl/M+c=; b=BwOT4buWvIDERldRrGZWF8yiVM98EeBs8uGhyWaWlLMzl4SxUg8GhJXiOCPMnVCyCw J9sO1LNVCSVgeGQx/jHNV/zzatMn/bzTw0t1ceB2TbVcd1xuXOelUOCyeytMESI10Z7z 0IVKyLdZSSDclHxeBA7gawo/159atalzkwRVwqlPCHRrfLOGSTUv6ub1U99h41MU37Pk LY8Hhz5VAX9RDBZHFs//CMu417QU8EM1rhvNyRXbbN08KDC3ScfkFXGjPoAEB7ZFcOfU pGYqLE8z+9Pp4TOcbWpT2yRG7glvBBqZ+OS6CmQrows9IVpoqaue1ol8xkUZxZgVLrfJ zbcg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="hl/9axum"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-130828-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130828-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x9-20020a05620a098900b0078a31e1ec3asi16006981qkx.109.2024.04.03.19.07.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Apr 2024 19:07:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-130828-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="hl/9axum"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-130828-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-130828-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 2C3AD1C2653A for ; Thu, 4 Apr 2024 02:07:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CB3B31BDC8; Thu, 4 Apr 2024 02:07:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hl/9axum" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F18A01BC3E; Thu, 4 Apr 2024 02:07:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712196432; cv=none; b=GFpn322UAafQF+eqB+MYrOwQiTYw9giKHef68SVD3DHh4LhbzpSTBbuUwgiTw3gU0DnEPVygKcsOlssSZiF/bpZeREmJdkJi2uhIS3M+OFH3eUfdLdm7rE87MbTHQcgTjfKRgZuBMGrSsNZNloqKBj9U4k991h1EFP6jZpioN68= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712196432; c=relaxed/simple; bh=0lyjrwaTUpg1Rvc/sVo0XwFKKqgw/mZirkOmOJKHuCw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=diC585Un8aXYcvJLA9hUBPh8AZiAGNrhgnIbMnMkxBvK7ivJWtmMo7ER2StnvtS434Gnw92fylkvUmJWol9h9EoWcbO2kx6Y8PuI70eL814pvKtchPIHMQgyWE6lVauBgKzvXQ/Jn7wbkZGunRihZYPqIF4KFxKfkgKIcr28Vyc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hl/9axum; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 44C2BC433C7; Thu, 4 Apr 2024 02:07:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712196431; bh=0lyjrwaTUpg1Rvc/sVo0XwFKKqgw/mZirkOmOJKHuCw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=hl/9axumTh7DE4Luwx63nUBi8JEDRCnV2Bz9iy41T7M38/p3zAsa+l1586APOEKU5 AxXEEI9saviXr+6FcvOF+YJMdnrHuq7Rw/J2zXiLKXZ/qILA6y/2CvFUqI3ibGHsy4 sjgUTLaoQjUi94AtCzvm2zBuqdNP7otd66Z0BQg0txJUWqzfR4RrM586RTU65tjJfQ /Rsohk1qNcmiZlNIOXkheRwEeLlB8z0OKIoWbp8Tnl6nch5PcGfpYAvEMZj2SWj9Ph JUtZfzQXMKwFsdvRpAboS9HxWXqZk6QW2GRaY1mUxtJDhChpnt0fOv5h52AnUGuPKO uWdC3oED7DKzw== Date: Wed, 3 Apr 2024 19:07:10 -0700 From: Jakub Kicinski To: Venkat Venkatsubra Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, maheshb@google.com, edumazet@google.com, gia-khanh.nguyen@oracle.com Subject: Re: [PATCH net-next] Add handling of NETDEV_DOWN event Message-ID: <20240403190704.6df9481d@kicinski-fedora-PC1C0HJN> In-Reply-To: <1711892489-27931-1-git-send-email-venkat.x.venkatsubra@oracle.com> References: <1711892489-27931-1-git-send-email-venkat.x.venkatsubra@oracle.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-Transfer-Encoding: 7bit On Sun, 31 Mar 2024 06:41:28 -0700 Venkat Venkatsubra wrote: > When ethP is the parent interface of ipvlan interface ethC, > and you do > > # ip link set ethP down > > ethC's link state is not brought down. > > In the below example, ens5 is the host interface which is the > parent of the ipvlan interface eth0 in the container. > > Host: > > [root@gkn-podman-x64 ~]# ip link set ens5 down > [root@gkn-podman-x64 ~]# ip -d link show dev ens5 > 3: ens5: mtu 9000 qdisc mq state DOWN > ... > [root@gkn-podman-x64 ~]# > > Container: > > [root@testnode-ol8 /]# ip -d link show dev eth0 > 2: eth0@if3: mtu 9000 state UNKNOWN > ... > ipvlan mode l2 bridge > [root@testnode-ol8 /]# > > eth0 continues to remain UP. No need to add a cover letter for a single patch. Add what's relevant to the main commit message.