Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp825137rwe; Thu, 25 Aug 2022 09:43:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR5WV9PeORkU3Ztaj1Br0N6luhjdyKASATKGzkXyMyWI7EP7NH1Pj6IQ9m3puY2/7EytFHSD X-Received: by 2002:a17:907:72cf:b0:73d:d007:e249 with SMTP id du15-20020a17090772cf00b0073dd007e249mr2719658ejc.500.1661445824966; Thu, 25 Aug 2022 09:43:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661445824; cv=none; d=google.com; s=arc-20160816; b=uKQwsrG96+6b3mIuT7RDCAoowplwl0HMZHSL9fIS0S4S7j3fab0dXRXcp4lXCA52vp bvRg0XYllSuDYFuOkVy/Dg6PFFvJkA3zWdrFqrRoHTo625Ka9mrknYutP5EsHTLldD3z 2TYzNRne+wpP5i8T/w9MDGm4DB2ue9PraHr3+FB7Wz3ynqEW7vfGRyAQWB1AkvObnuLK dXdK3y82mS/avdG2ZmCPWEj+oKbpzzLzi/jybGAyjPvVyvCG88rNJnmwUeaCixzDmu55 OeBbGTwq7Zks4slBcNOMkYzpQywRpNylbYjuvKyCfDmREvWsThO2YDEogX19mX3Itso5 QJMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version; bh=AgECgGvPjpjv4ajIsH29zLwuQ7XfXcHVyQiTlZbld1w=; b=XEU9u4m/YtZszMGuTKOZsOxfY4UnAcYq1hHvW3NNVTnWcWIyJCj2+9wU1MUa6VyYDb Q0aa60bltCC6yApQSCpPUk+upzAuS/SiMyLJ+oCv3HvUVm7FEIL537bCXj7D6REBbADj 8Ld1vsJuZNifCXtX+Dvr5JPsEE1UIJm7SNKEbcuPYlzzoHBXSSEwSfSbVLMxZfliW4WE aKHf4xxNJjoGuIv+LEiH/W8ZhqL301vptYmhkeZHqe7RMKS9foIOOdZr7+O4XYQukzi6 ehtfYRBRmm44NDF+zG9k9lG2UFtCodstA6i+dtxOyOoObwYbo4BzshLGujOaZU6w17Qr LM5Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g22-20020a056402321600b0043d35059c65si4265339eda.160.2022.08.25.09.43.16; Thu, 25 Aug 2022 09:43:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241348AbiHYPPJ (ORCPT + 99 others); Thu, 25 Aug 2022 11:15:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242557AbiHYPPF (ORCPT ); Thu, 25 Aug 2022 11:15:05 -0400 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B1DD48EAD; Thu, 25 Aug 2022 08:15:02 -0700 (PDT) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id 86EDA1884D53; Thu, 25 Aug 2022 15:14:59 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id 6224C25032B7; Thu, 25 Aug 2022 15:14:59 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id 4F2C09EC0002; Thu, 25 Aug 2022 15:14:59 +0000 (UTC) X-Screener-Id: 413d8c6ce5bf6eab4824d0abaab02863e8e3f662 MIME-Version: 1.0 Date: Thu, 25 Aug 2022 17:14:59 +0200 From: netdev@kapio-technology.com To: Ido Schimmel Cc: Vladimir Oltean , davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Andrew Lunn , Vivien Didelot , Florian Fainelli , Eric Dumazet , Paolo Abeni , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Shuah Khan , Daniel Borkmann , linux-kernel@vger.kernel.org, bridge@lists.linux-foundation.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v4 net-next 3/6] drivers: net: dsa: add locked fdb entry flag to drivers In-Reply-To: References: <5a4cfc6246f621d006af69d4d1f61ed1@kapio-technology.com> <34dd1318a878494e7ab595f8727c7d7d@kapio-technology.com> <15407e4b247e91fd8326b1013d1a8640@kapio-technology.com> User-Agent: Gigahost Webmail Message-ID: <824eda8a76f36c8e211289e4ed3d2118@kapio-technology.com> X-Sender: netdev@kapio-technology.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.