From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 1814A60C12 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org C7EA960D9D MIME-Version: 1.0 Date: Thu, 25 Aug 2022 17:14:59 +0200 From: netdev@kapio-technology.com In-Reply-To: References: <5a4cfc6246f621d006af69d4d1f61ed1@kapio-technology.com> <34dd1318a878494e7ab595f8727c7d7d@kapio-technology.com> <15407e4b247e91fd8326b1013d1a8640@kapio-technology.com> Message-ID: <824eda8a76f36c8e211289e4ed3d2118@kapio-technology.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Bridge] [PATCH v4 net-next 3/6] drivers: net: dsa: add locked fdb entry flag to drivers List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ido Schimmel Cc: Ivan Vecera , Andrew Lunn , Florian Fainelli , Jiri Pirko , Daniel Borkmann , netdev@vger.kernel.org, Nikolay Aleksandrov , bridge@lists.linux-foundation.org, linux-kernel@vger.kernel.org, Vivien Didelot , Eric Dumazet , Paolo Abeni , linux-kselftest@vger.kernel.org, Roopa Prabhu , kuba@kernel.org, Vladimir Oltean , Shuah Khan , davem@davemloft.net On 2022-08-25 11:36, Ido Schimmel wrote: > On Tue, Aug 23, 2022 at 01:41:51PM +0200, netdev@kapio-technology.com > wrote: >> On 2022-08-23 08:48, Ido Schimmel wrote: >> > >> > I'm not good at naming, but "blackhole" is at least consistent with what >> > we already have for routes and nexthop objects. >> > >> >> I have changed it the name "masked", as that is also the term used in >> the >> documentation for the zero-DPV entries, and I think that it will >> generally >> be a more accepted term. > > "blackhole" is an already accepted term and at least to me it is much > more clear than "masked". Keep in mind that both L2 neighbours (FDB) > and > L3 neighbours share the same uAPI and eventually we might want to > extend > the use of this flag for L3 neighbours (at least Spectrum supports it), > so it needs to make sense for both. I have changed the name of the flag to 'blackhole', but the struct entry in switchdev_notifier_fdb_info and a function input parameter is still named 'masked'. If that should be changed before I send out V5, please let me know as I hope to get this patch set accepted.