Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp482584imi; Thu, 21 Jul 2022 05:13:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uax3ISlPCiu27tMiRxuqQeO1sR3VKSJrV01h4+w6zcMm4TkLIUByG37PzQT1cXFZnXBgP9 X-Received: by 2002:a05:6808:1148:b0:33a:1f13:6027 with SMTP id u8-20020a056808114800b0033a1f136027mr4685234oiu.245.1658405581303; Thu, 21 Jul 2022 05:13:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658405581; cv=none; d=google.com; s=arc-20160816; b=ORW+95dhSr+94r/VyxQH+tl1ewC/EUFJhk0nkbOoCDxOv9b6q8wfiuxcZsiMCAgpMj MrERvLkngdYhAOwhDQmOucuCQB+pWa/38QiDxGoEKQrz59TmQgDPldgQ2YPxIt8nFqj/ IN1WsAcpi93JE4TcupnZl7I+16WI0igCZxgAiCAwKq6NPHlY2KVdDFSk8qpN/p0NbaUy r2a86eLSdwBGQyFuNI7wb/bo6co0OrxDusv7embdb6BjLP2PNmYbL2P8Q7ElFb2qU/Ep xHL86XEqoiKOOs6coi0ues9Lc+8NjhPco7tfK+bx7JSSKmwbLnhTnsnheDNabFDLkNSg Z8fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=GmDGNOSJLQLxHyqUbqdShMpk7Rg5vZOsES1osVYWvM8=; b=aww9HchurjPJsvu/yAR9/P7jVNT1dGOHo2y252xqyWLUVmaJff1OP3FnlCzj9aJ2zT cKLHCWqa+bL6H857gQd+HKoWeBsLe89gs1kytCFfNBtO3vPKH9pAW+Ynmv0id6mi2Qvj VSHkknPYzs+Q72PgLzkQrE7MhUeYmPhGj/j+opp8O25MYJE4uC66o57yHZhnobdSrnwR Qh8U6juzxwtDFC7L2KaFwf10xLJMeXRkYB1CrnI8bI/1djgM/e8zhCIGErLHK1J5B3DI Hnr+kLyL+FXSkBQfrMkG6WMuFEMYC2J6Ase2qNuOAqz17nVqESqFo8NsLA9S6PYwvPky yynw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OGZ65YDJ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i6-20020acab806000000b0033a1ddd4c1dsi1140615oif.241.2022.07.21.05.12.47; Thu, 21 Jul 2022 05:13:01 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OGZ65YDJ; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233267AbiGULvZ (ORCPT + 99 others); Thu, 21 Jul 2022 07:51:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230230AbiGULvY (ORCPT ); Thu, 21 Jul 2022 07:51:24 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95A9A2AC53; Thu, 21 Jul 2022 04:51:22 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id j22so2748438ejs.2; Thu, 21 Jul 2022 04:51:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=GmDGNOSJLQLxHyqUbqdShMpk7Rg5vZOsES1osVYWvM8=; b=OGZ65YDJOY1TZJZnVZ0xSIYu44FSqV/GtlogNPVbdgVP4qeyYrQHHb6ra08gEteLzV Xza04ZqfmXuFmhOG2yubswI7rJYU6kah1KAk/PdYFcxZyIUiqrdeuYQK7JWkTWahv2Xx H+xG3OpXRv+ZsZ9rhioXX7uv2G6nrzfmTw7N3N0qOk9X/x9PqACbHtBuZasvnja9gYYF XGFgOoVVvydCpOFf0ll9jxiG+6G7lDcfGhK5m+DOx0uPlszpt/Sur2fiK2z/QmWdmkHp l+f6Bq9/k/W8I3XbHk5jPjUEsVz3hHt6datdIR1dhSigpWSaon9VR/EFMeMQbgLyiwqu SAzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=GmDGNOSJLQLxHyqUbqdShMpk7Rg5vZOsES1osVYWvM8=; b=TkjgvM7cB30f4bxfCx8YOzMs4FtlwK6dTKKvKuFg6WAp7WasXVMo2KDwtnXFoIgnDt N1/D0td07rYb82m0PYTPFMbxHC/cYB4WMCp0IBrv8RnHNmr/VZJBqB85ZYTVrPWEnItZ L4SvcQas2RGd4Tdk9jinxv/i2eW/9rGU31GfHDL539fPkzEu7La7F0rD7VuTCWlOSF7m PhglL5JTgtjwgdHEq4KLxlnd+oLaRmEaYi1Y0exg8nGGOjSuUD0RQv8NHP9wMeP67Z1H jpWR/HV5yfEhC/5TXZT0rCdKjcsJ8Gw8gXtP4L3atL5hMmp0p0QusfYZX/5KCyU+KxbU dfcA== X-Gm-Message-State: AJIora+V7wrsUQuD5kndzrAoyFVNrquWT1APco6nHKomnlFrCkQH1OuM /EnKGTD3Q/bL0JcvycNAJpU= X-Received: by 2002:a17:906:2086:b0:715:7983:a277 with SMTP id 6-20020a170906208600b007157983a277mr39840337ejq.386.1658404280576; Thu, 21 Jul 2022 04:51:20 -0700 (PDT) Received: from skbuf ([188.25.231.115]) by smtp.gmail.com with ESMTPSA id 15-20020a170906328f00b006fee98045cdsm814224ejw.10.2022.07.21.04.51.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 04:51:19 -0700 (PDT) Date: Thu, 21 Jul 2022 14:51:16 +0300 From: Vladimir Oltean To: netdev@kapio-technology.com Cc: 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 , Ido Schimmel , 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 Message-ID: <20220721115116.5avmhghbmbbprq23@skbuf> References: <20220707152930.1789437-1-netdev@kapio-technology.com> <20220707152930.1789437-4-netdev@kapio-technology.com> <20220708084904.33otb6x256huddps@skbuf> <20220708091550.2qcu3tyqkhgiudjg@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 Fri, Jul 08, 2022 at 11:50:33AM +0200, netdev@kapio-technology.com wrote: > On 2022-07-08 11:15, Vladimir Oltean wrote: > > When the possibility for it to be true will exist, _all_ switchdev > > drivers will need to be updated to ignore that (mlxsw, cpss, ocelot, > > rocker, prestera, etc etc), not just DSA. And you don't need to > > propagate the is_locked flag to all individual DSA sub-drivers when none > > care about is_locked in the ADD_TO_DEVICE direction, you can just ignore > > within DSA until needed otherwise. > > > > Maybe I have it wrong, but I think that Ido requested me to send it to all > the drivers, and have them ignore entries with is_locked=true ... Yes, but re-read my message about what "all the drivers" means.