Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3429806rwb; Tue, 16 Aug 2022 02:56:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR48dFsHGu5kFleejsa1jvsTDO5yPdeICFXZGAUV3E4hDaffJzvYUrnAsxGyEQC1bUSoYLC0 X-Received: by 2002:a17:90b:b03:b0:1f3:6fb:bd20 with SMTP id bf3-20020a17090b0b0300b001f306fbbd20mr32972809pjb.38.1660643775784; Tue, 16 Aug 2022 02:56:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660643775; cv=none; d=google.com; s=arc-20160816; b=I/3/S9dgP7acBgACW4r+r97U4t2lIr4PpLMnRljxu4SAiN2Jf3aPCAGKwJkvnru4qm 31ZNJgqGKY4/WYLyIFWF1gKurBg5YGrGQCnfE+yIVAvMXMMUeFa/2UgAEFVGqx+rqQdT VXjAl3X+UAsFwJwRZN50OMOZ3FtC7lp7wRkkZcKjnVuFDKnDB8e6RAXF/TpRq5JeYcCz LtRVMoIHkSs9bOD16Ben7zgzgvUP42bxfsGPAUmzCarnZhMFdX4R4T/pk1BRc9ZqFgiw DuQLo9dVlsx3Nyx3iAwAz7mdDNhROKV+5bTAxmG8A9zDZnj7G/bExWKBECeSKjhejLGu yimA== 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=0lbD8zhL5xDxz7EEhBT8JWCLLkbLmsEG+diMF0c0Xog=; b=uy3TEv4VyPnxmMNOcdSJ98sbfgZQPU0NMOV3CuJQZklta9vaxw8VThk1yO+v4mEHs1 7Scy7aCVByvJsBBJNK/a+IlZx2suHZnZi1QioEQIENXR1pFoKK6rcXn8IgXAsYS9XC9t Wke1xe/Gjqwpvwxzh9F//etGsyTpuCpi7bknLljRVdXKC8rfPnYQrT4mSwBWGDQ1mIU2 DjwkGMvgVRlTDsBTDtd9S2HnknlqHMU2bOg46nLhTG5DxHXF7igw3yRacj7BcTZm5V6T DhseBpXL3AuH52Dp21rEVORgPmZ8SiqK+z99FDW5W/Y0EK0ycYaHLWJAu/3DHWyoR2ZO UN4A== 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 q11-20020a170902f78b00b001728e96f695si289727pln.563.2022.08.16.02.56.05; Tue, 16 Aug 2022 02:56:15 -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 S233620AbiHPJbb (ORCPT + 99 others); Tue, 16 Aug 2022 05:31:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47104 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233619AbiHPJac (ORCPT ); Tue, 16 Aug 2022 05:30:32 -0400 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5385679611; Tue, 16 Aug 2022 00:51:35 -0700 (PDT) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id D084F18848BC; Tue, 16 Aug 2022 07:51:32 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id C689725032B7; Tue, 16 Aug 2022 07:51:32 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id A3C93A1A0049; Tue, 16 Aug 2022 07:51:32 +0000 (UTC) X-Screener-Id: 413d8c6ce5bf6eab4824d0abaab02863e8e3f662 MIME-Version: 1.0 Date: Tue, 16 Aug 2022 09:51:32 +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: <20220708091550.2qcu3tyqkhgiudjg@skbuf> <20220708115624.rrjzjtidlhcqczjv@skbuf> <723e2995314b41ff323272536ef27341@kapio-technology.com> <79683d9cf122e22b66b5da3bbbb0ee1f@kapio-technology.com> <6c6fe135ce7b5b118289dc370135b0d3@kapio-technology.com> User-Agent: Gigahost Webmail Message-ID: 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-10 09:21, Ido Schimmel wrote: >> > >> > 1. It discards packets with matching DMAC, regardless of ingress port. I >> > read the document [1] you linked to in a different reply and could not >> > find anything against this approach, so this might be fine or at least >> > not very significant. >> > >> > Note that this means that "locked" entries need to be notified to device >> > drivers so that they will install a matching entry in the HW FDB. >> I just want to be completely sure as what should be done in version 5 with locked entries from the bridge, as - if I should implement it so that they are sent to all the drivers, and the drivers then ignore them if they don't need to take action? (for the mv88e6xxx driver, it does not need them and can ignore but other drivers might need.)