From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 D21092500D3 for ; Sun, 24 Nov 2024 22:01:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732485677; cv=none; b=M+yla9atwlzxLp6U464DIgoMvw63W0pZU/q3OO6fqL219xYo8yegWH8Pr7opCBZy4Yy/DOyFdgtovyfJebmkx0SEex2LCQ+/kxcjXbScsymrGY61AIli1GnKdsgTF2YJgEyB0hk5NeuM8bZAfUdkeYLDvkpEUtBbuYiLo2q3848= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732485677; c=relaxed/simple; bh=B6ZExtlrWDpdVkh4NrErlj5TWXl10njXAk3D3IVXvjY=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=msOE72/nK/5eMHfgQ1sNuMQqRtVqGCbRZgpTSBQQmTNvsk18wTCn01Lf5XEglWbbqJwKBtzmFPVqGKWBoK5MiRZ0/T9FKIug+XO6tgaGO6aBHICu+govJ41RbntpkwQBWF/P+yWRDr1hpcRzSf5kl9W1wV0oFfCH2pS4rwyfZIM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=blackwall.org; spf=none smtp.mailfrom=blackwall.org; dkim=pass (2048-bit key) header.d=blackwall-org.20230601.gappssmtp.com header.i=@blackwall-org.20230601.gappssmtp.com header.b=hX5bDHYg; arc=none smtp.client-ip=209.85.128.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=blackwall.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=blackwall.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=blackwall-org.20230601.gappssmtp.com header.i=@blackwall-org.20230601.gappssmtp.com header.b="hX5bDHYg" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4315f24a6bbso32333945e9.1 for ; Sun, 24 Nov 2024 14:01:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackwall-org.20230601.gappssmtp.com; s=20230601; t=1732485673; x=1733090473; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WO0cvhOCCYEcMHo4t/kUcC7+MddOiWfvg8yPqnsazn4=; b=hX5bDHYg6+UsRUluRjpXQcWAhAehhv496WFfAjp3OK+Sl9S/xEdfrXuusNwYYzKx/O Aks3lm+k7/hd4suDwLvlTot5iiw0eoFVBdc1CGVwx8K1k//INL2ELAXfFcr9gwtzuJi1 vrxR4pBcp8CbRsJGTN4HS3m9nrmuX6JFUKIjRTLz9ocViQdFeIUZgD7J+kgZ5lMoLAg6 qM7O3UfmwgN+aJfb5xvZX48o+Lqz2mnWbiVk0SJd8HSMDm3qamafOkgmk9lUsZOHNxu6 jC3kcLmwL0qK1JfpYlFws5y58VZ5AgsjjJ+aT/lkpiWUE/JX5SiFFiyXDkVlNBMGB9yH 4DmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732485673; x=1733090473; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WO0cvhOCCYEcMHo4t/kUcC7+MddOiWfvg8yPqnsazn4=; b=u6vBZOYacPeHuwvueJnfs3p7+H8f9bL+uQ2zXu1DQJ64h/EKvZM6nM0vjnAEkuY7mt 3KkdCJsgG0Xw+JI3k/mTAK5uYl8kXq3WDwvBm9C356QVffUdTmaOA8BJVrAeQkkM5Y2A bqjoqsnaPePnEN1sULj0ABuJKoAx5RfUDB/DMTh62cdrB2LIYV1Bd2ubuv65fdagVe9L o7KtzdLZTca7FlNuOar7YB2Sf+cYsu3Xu9A2j/lym04lK5E3ot3Fm3yvYqdlwgMilee1 VwhKHPJnrbcbQwIzzL/AxZwEv0KepSj1nZ5U6OC0oPNNqLqTOsfbyAbLLVLQgsRiFvyF mimA== X-Forwarded-Encrypted: i=1; AJvYcCV969axmh6Lj1RpY+TsAXCxRcgHidREcFy1XtAtGE7JUmU98y4jY/CmF6soouK2Mh3zVWy1OL4O6q1ZQbk=@vger.kernel.org X-Gm-Message-State: AOJu0Yxy/vbHoUt/X1Ezk0/Ei2r+jzFHlus5D6PYm3sM1Ch5pdwYXLW6 BaxdlYEeNXQk/RrrIM/nVqbS0Cvq7r/hgbLK5MksIEFbJH6LYzkypGGaRYd0f2o= X-Gm-Gg: ASbGnctknTwpTVN9Pcyns4Lov/iOy96e44ma86koy8LR1aSrxHIqPFd3r6UFy4cD8x0 li+hUAcl1MtxrSQycEk4Z7oWcIvmv+5kRnVu6FTArh2F7vJ1KpekM/AKeOyVvvW9sbA7vrlSWLT MfNsArEgdli7BJOjSD8lsBcjY8icxq9NSWI6scwn7nj+srdFZE/m2qD64dDpy8aDxThWxwgfnko vxUHaSROpFPsMWXFdHQa1U4Z08yHuN+yKfU6T+D3mYJNb+JzpLV X-Google-Smtp-Source: AGHT+IEUmJWNVT/yCHIU4DpWfoBtu4D/gDbWjN7B8ekkI1xXmQ3BxXPpdtKlYrC7+KrVS7KrV9+AEw== X-Received: by 2002:a5d:64a1:0:b0:382:5aae:87c7 with SMTP id ffacd0b85a97d-38260b89369mr8791101f8f.31.1732485673204; Sun, 24 Nov 2024 14:01:13 -0800 (PST) Received: from [192.168.0.245] ([62.73.69.208]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-433cde0db3csm105665385e9.10.2024.11.24.14.01.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 24 Nov 2024 14:01:12 -0800 (PST) Message-ID: <87d8a49c-41e3-4b18-9ada-cb64fa66fe9b@blackwall.org> Date: Mon, 25 Nov 2024 00:01:11 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC net-next (resend) 1/4] net: bridge: respect sticky flag on external learn To: Elliot Ayrey , "andrew@lunn.ch" , "olteanv@gmail.com" , "davem@davemloft.net" , "pabeni@redhat.com" , "roopa@nvidia.com" , "edumazet@google.com" , "f.fainelli@gmail.com" , "horms@kernel.org" , "kuba@kernel.org" Cc: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bridge@lists.linux.dev" References: <20241108035546.2055996-1-elliot.ayrey@alliedtelesis.co.nz> <20241108035546.2055996-2-elliot.ayrey@alliedtelesis.co.nz> Content-Language: en-US From: Nikolay Aleksandrov In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 24/11/2024 23:01, Elliot Ayrey wrote: > On Sat, 2024-11-09 at 15:32 +0200, Nikolay Aleksandrov wrote: >> So you have a sticky fdb entry added, but it is still allowed to roam >> in HW? > > No the hardware has informed us a host has _tried_ to roam. > > As I think about this more, using the sticky bit alone probably isn't > the best idea and it might be better if this mechanism were related to > a port being locked? After all the port being locked in hardware is > what generates this event. That does sound better, but we should have the same functionality in software as well. Perhaps optional to avoid potential flood of current users with unexpected notifications, see my response to the other mail for more info. Cheers, Nik