Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2091442rwl; Thu, 30 Mar 2023 06:03:24 -0700 (PDT) X-Google-Smtp-Source: AKy350YQeXgrNGhmSDUY6ERDKnu3HTnstN+9Mbh8oEvaLeBmMHYo/uyqv9aD/C/IxlbdB9eA4Lk6 X-Received: by 2002:a17:90a:b305:b0:23d:1bef:8594 with SMTP id d5-20020a17090ab30500b0023d1bef8594mr2231364pjr.1.1680181403694; Thu, 30 Mar 2023 06:03:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680181403; cv=none; d=google.com; s=arc-20160816; b=gqnY0zo9GcyVyuYBKJK2mJu5+GTdMZXgQ/TZ9Sgha8rmbB3SKoUng6nEHC+H9uPjbM 4PwErj0G6wVOMEWZlek9NKL/Ox5iX3M85jxmy7lDAQzHv5cj36WenWA0HbkIlqDCKyAZ Exdre73wVG+EoDiKqJXAAcluGGE1rodqUrGDbWSirVbq4ytAo2gi9X1RRQVYkImoRibG c9CYexOf9WM3Np00586LC2J9xdZ1EVOEdg7/kqj2DM7twS2Ii5sm6dwlFX9GQEcW9eKP SQdtm5e+FYzFiIp2NzoNMdtAMFsbgePyPasqw56e3PfeEfyRrfUqNS7fA1POcKNRZV/d 5vOg== 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=JyQY5OcNMIQ2oIQZceKQTrFiVMNGY9OFnbX8E7rlTfk=; b=DuVMeKWkJUB8Zaka6TTDKwVssJg64R1npA42k6EZJuw/TI+WatJm9iLxkLh9aSInpA DvmtDe0xssiBsdOC5r4uOXzUWhOrRYF3oBuYpTuBhKa+fo0v6KxrKS2FDRNiFZoj9ArD IPGoqY+jXKEZdRqw8oq7EJhoHWxjKUIArba8dpGNU+e49N5tTQDA3cuqv9HOJJCizBZ4 c+cb215DQyjXJj5qVmYGjpau7W24FsFryLO5LYotTR6XSHPQf9fTWXVEjzYNpo054VMO GKPdsBjxZt6AW2tDB62ZNFNL6jE2keOksywYpvpwBzo3pHPyR7CSVDl91Pp44KNA/vZR I+JQ== 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 z1-20020a63e101000000b004fc2f19bacasi33753920pgh.120.2023.03.30.06.03.01; Thu, 30 Mar 2023 06:03:23 -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 S231196AbjC3NCB (ORCPT + 99 others); Thu, 30 Mar 2023 09:02:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229694AbjC3NB7 (ORCPT ); Thu, 30 Mar 2023 09:01:59 -0400 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 543FFA24B; Thu, 30 Mar 2023 06:01:47 -0700 (PDT) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id BFEA6188440B; Thu, 30 Mar 2023 13:01:43 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id 66E1425005A8; Thu, 30 Mar 2023 13:01:43 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id 515C691201E3; Thu, 30 Mar 2023 13:01:43 +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 956189B403E2; Thu, 30 Mar 2023 13:01:42 +0000 (UTC) From: Hans Schultz To: Vladimir Oltean Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Florian Fainelli , Andrew Lunn , Eric Dumazet , Paolo Abeni , Kurt Kanzenbach , Hauke Mehrtens , Woojung Huh , "maintainer:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER" , Sean Wang , Landen Chao , DENG Qingfang , Matthias Brugger , AngeloGioacchino Del Regno , Claudiu Manoil , Alexandre Belloni , =?utf-8?Q?Cl=C3=A9ment_L=C3=A9ger?= , Jiri Pirko , Ivan Vecera , Roopa Prabhu , Nikolay Aleksandrov , Shuah Khan , Christian Marangi , Ido Schimmel , open list , "moderated list:ARM/Mediatek SoC support" , "moderated list:ARM/Mediatek SoC support" , "open list:RENESAS RZ/N1 A5PSW SWITCH DRIVER" , "moderated list:ETHERNET BRIDGE" , "open list:KERNEL SELFTEST FRAMEWORK" Subject: Re: [PATCH v2 net-next 2/6] net: dsa: propagate flags down towards drivers In-Reply-To: <20230330124326.v5mqg7do25tz6izk@skbuf> References: <20230318141010.513424-1-netdev@kapio-technology.com> <20230318141010.513424-3-netdev@kapio-technology.com> <20230327115206.jk5q5l753aoelwus@skbuf> <87355qb48h.fsf@kapio-technology.com> <20230327160009.bdswnalizdv2u77z@skbuf> <87pm8tooe1.fsf@kapio-technology.com> <20230327225933.plm5raegywbe7g2a@skbuf> <87ileljfwo.fsf@kapio-technology.com> <20230328114943.4mibmn2icutcio4m@skbuf> <87cz4slkx5.fsf@kapio-technology.com> <20230330124326.v5mqg7do25tz6izk@skbuf> Date: Thu, 30 Mar 2023 14:59:04 +0200 Message-ID: <87wn2yxunb.fsf@kapio-technology.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Thu, Mar 30, 2023 at 15:43, Vladimir Oltean wrote: > On Tue, Mar 28, 2023 at 09:45:26PM +0200, Hans Schultz wrote: >> So the solution would be to not let the DSA layer send the >> SWITCHDEV_FDB_OFFLOADED event in the case when the new dynamic flag is >> set? > > I have never said that. No, I was just thinking of a solution based on your previous comment that dynamic fdb entries with the offloaded flag set should not be aged out by the bridge as they are now.