Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5773905rwr; Mon, 24 Apr 2023 08:47:39 -0700 (PDT) X-Google-Smtp-Source: AKy350Zr1Q3DnKZobv/2DHn8UF24cRc4EuQYUz/IYAEk21OT7vxLadCbAbRPIpdo8y1Waw8F4g+L X-Received: by 2002:a17:903:41c2:b0:1a8:1b63:8aee with SMTP id u2-20020a17090341c200b001a81b638aeemr18940995ple.46.1682351258686; Mon, 24 Apr 2023 08:47:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682351258; cv=none; d=google.com; s=arc-20160816; b=smTQUcY01uBXEs4eArYn6kKbJNYEGl3dXFl1kYPy+RUYmg8lP+RmLXFg5k1xMfMf5V fVy50TxVOOWjfSYGIXcoVRbclktnmrTP/AukciqBdzEPoWzIp8wCd6VuPnby5SmucIeX hSnsfXse/DPbMTVz7TgRzn42HjrHGxyTjCKOh/ZvJL3u4Hirx3JzwCYIlEsknI4j8D2f Sl4C1LJgrJm8ZgS+MLiJKe57X+svxUmob/7YgldMxr4o6k3vMOkoWpl9n6sY51a9/8I+ znV3eC9WZrVHO9H0i7uexriOVCOxIoyJDCMopZUYT69an/u+wBIFCRkP098+3MKKi4Fr u+Ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=UK2L3IdSe9HXQU32hEK1c2/wZp0etSFxYDOZ2i0q6Xc=; b=RmBDmN9zYzkLYVxNmmVz3Zll84SS386vC55bfDYoEjEXqNv59XaoTrulXj2JsZSeKD LbnCjSxUKwMhTp/ug+f8DKOQmnBLJMBjJOrnIWkPmSb8IBjz9xZTzR33CWLuT5pQ9iYf /Grlw+ipQh5vElfqlfA9/d08a8Dk6Eab8If+aXyj8FdTq2OwswVTQ+bdi6rZdrYmFPnL /qIcbY0P6Ep5uyvQSYFY18csAYoni+bJYJeJzMLXceRsc9oI8Gjo3t20OInKns4aFpO6 TPvlWjejbTyfX6Lx2JBbzVwsQg4hCx8pgqkbvEyJwe4W5rtU0XAEfD6rXBYGFdHGVLHS SMEA== 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 kt6-20020a170903088600b001a6555fb909si10693058plb.183.2023.04.24.08.47.26; Mon, 24 Apr 2023 08:47:38 -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 S232069AbjDXPhB (ORCPT + 99 others); Mon, 24 Apr 2023 11:37:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231845AbjDXPg6 (ORCPT ); Mon, 24 Apr 2023 11:36:58 -0400 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A2B67EC0; Mon, 24 Apr 2023 08:36:54 -0700 (PDT) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id D1858188374C; Mon, 24 Apr 2023 15:36:50 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id C669825004C3; Mon, 24 Apr 2023 15:36:45 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id BD4F79B403F7; Mon, 24 Apr 2023 15:36:45 +0000 (UTC) X-Screener-Id: e32ae469fa6e394734d05373d3a705875723cf1e Received: from fujitsu (2-104-116-184-cable.dk.customer.tdc.net [2.104.116.184]) by smtp.gigahost.dk (Postfix) with ESMTPSA id 6373D9B403F4; Mon, 24 Apr 2023 15:36:45 +0000 (UTC) From: Hans Schultz To: Vladimir Oltean Cc: netdev@vger.kernel.org, Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , Ido Schimmel , Roopa Prabhu , Nikolay Aleksandrov , Ivan Vecera , Jiri Pirko , Jesse Brandeburg , bridge@lists.linux-foundation.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 net] net: bridge: switchdev: don't notify FDB entries with "master dynamic" In-Reply-To: <20230424122631.d7kwfwmlwvqjo3pz@skbuf> References: <20230418155902.898627-1-vladimir.oltean@nxp.com> <875y9nt27g.fsf@kapio-technology.com> <20230424122631.d7kwfwmlwvqjo3pz@skbuf> Date: Mon, 24 Apr 2023 17:33:44 +0200 Message-ID: <87jzy11ehz.fsf@kapio-technology.com> MIME-Version: 1.0 Content-Type: text/plain 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 Mon, Apr 24, 2023 at 15:26, Vladimir Oltean wrote: > On Sun, Apr 23, 2023 at 10:47:15AM +0200, Hans Schultz wrote: >> I do not understand this patch. It seems to me that it basically blocks >> any future use of dynamic fdb entries from userspace towards drivers. >> >> I would have expected that something would be done in the DSA layer, >> where (switchcore) drivers would be able to set some flags to indicate >> which features are supported by the driver, including non-static >> fdb entries. But as the placement here is earlier in the datapath from >> userspace towards drivers it's not possible to do any such thing in the >> DSA layer wrt non-static fdb entries. > > As explained too many times already in the thread here: > https://patchwork.kernel.org/project/netdevbpf/patch/20230318141010.513424-3-netdev@kapio-technology.com/ > the plan is: Ahh yes thanks, I see the comment you wrote on march the 27th.