Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp702263iob; Wed, 18 May 2022 11:00:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkt8360m+Jf6yw/bLLnuTNbCrv2mFwAtMAhtG+GPyseSKrGpdPLi8LJUxOViupbuW4HQsQ X-Received: by 2002:a17:903:2445:b0:161:d47e:88cf with SMTP id l5-20020a170903244500b00161d47e88cfmr540285pls.67.1652896813256; Wed, 18 May 2022 11:00:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652896813; cv=none; d=google.com; s=arc-20160816; b=00kOj3PCUdkW3HLmEm3gSJ4sjFMq32Bkww1pyBfgPs54d8BYkQOWza8BksKlI3RKFz U6QUeS+7F1lv6oxGsvpy/BgIX4ZhcDW6Yz7qs27kMgz6rqqX23qJp1OS7KJBQgQrFifT 5cRVD05jyZkdNAG+wYekawwFfIhBNBytPsBCwXHQ/VYo2fLpi98E0ZIf/CwcpPmB+yqy +6w2ejJHoO1HWXrNkoV6S5NYNDBsxc/mAnHdxmMiRDYdQcg18jGS3fVKU8FARoGPwbe1 rTfSqhLcOXGjuAJa0GaldWjlL39lsuDjrgtEpnsZc9r0ugIbCLIsZVkHqWg4X1cB2/hR BOaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=2EXLfpaR9WvqL8huPkuehcAb08K9DJWvKulz74lLwjw=; b=svhJAldn7syzxyYck4LBWHRkcImF6eWZS0ac3K4qmCNKolgTkh+/2sTTcZ0bjeiL6G q6SuNrdsqB9AiGezUsdCMV/EZdC8uI/nEDIydFKBhV1IFM9c6SfYn87CevBuG8Rf9l6Y kpzuBHIntUWDTmtyuNubLhcugKr8UfX+s0c4WYVhmzdvq0H4caRrl75K0/0Fa6ZXr1SY ZIWqezPixstGCNCQoDh6+V2EFEOQFDMmWVAy/vrgOh+oitSOYaHo+OBezmAby3b0wav6 Z+PQRuuW1X2rXfLsAB1TGEgrWjsy8DuVDpsx9+M9eVnTMfddDoY1FwFAxz/F3E217lmN N6zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=Urdlnv8I; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c13-20020a170902c1cd00b00161cdf431e1si1630834plc.50.2022.05.18.11.00.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 11:00:13 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=Urdlnv8I; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 66A6F8D697; Wed, 18 May 2022 10:59:30 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241220AbiERR7T (ORCPT + 99 others); Wed, 18 May 2022 13:59:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241140AbiERR7N (ORCPT ); Wed, 18 May 2022 13:59:13 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42E238CB21; Wed, 18 May 2022 10:59:11 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id n13so3418595ejv.1; Wed, 18 May 2022 10:59:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2EXLfpaR9WvqL8huPkuehcAb08K9DJWvKulz74lLwjw=; b=Urdlnv8IqAORyjTFmHZLBgcOzSzrZSHWlU9e7dz7blnq9rEiu55Ve3Q0Po4tYZIx+G 9TIXsHkVnSuplxMVXKRM6GJVjhLGm0PUkQECW0bwkLuJPOrG/eyTyf5F25rYNCIw4aAP 7yV1u/4cqsRvUNUH6ndn25TFkTxg4ewWEdvAcgYZ5UwHcNSg/6xHRSkZ1kcFp1UeaNzr OuVZJ6m5qgpnaZpx4mqnbi07koAg3rkKFxtmTqyusGOshud83kMwt0veApxORp+jPDxU i8gAuaf4FaU6R0A4T4hxeBWrQim+obyQzf1R8wI2/XexlaI9wnaQbfEOfJ8ji0czQdq5 qByA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2EXLfpaR9WvqL8huPkuehcAb08K9DJWvKulz74lLwjw=; b=eIr9SsgktXUpCiZaCJjIpSh+8MJiaros+5Ml8laf+Q5ixB0PPSxezJ3noeFnLpQ/+p DTNN18LyF21IlpmbQe1AMqDB8t7zYqbIKRXcG0tvPmM6QRDi74E+o7h/B3+axxewO8UK 8+GACnILz9bQonvgFrmMPczTgjbIapXVQaTvxYf4+38zSewPOanjheGBXrICpDYdXsln KS7I7WIIk3jjxKXCY/gNwCGiC7+CrQWtSDDUjtezjTJrEvQqUtgGRRdlTtPahMscfws6 P9XJSQ2lEcK462CTiOrK+SfinI+cTSHq3h4gqKrAU5TSHcWCvhUeMiEKCBM5QRKmNdz6 OLGw== X-Gm-Message-State: AOAM5327EG7ytIdnEp8Eig/vdGGsfaTh8s1seML8uwS+jQY5zquNw8Hl Vx5D9WjPt28zaAKzDQNZsUpdT8rukhScbHnLnwQskt/p X-Received: by 2002:a17:906:7e19:b0:6f4:5004:d442 with SMTP id e25-20020a1709067e1900b006f45004d442mr685470ejr.147.1652896749683; Wed, 18 May 2022 10:59:09 -0700 (PDT) MIME-Version: 1.0 References: <20220517194015.1081632-1-martin.blumenstingl@googlemail.com> <20220517194015.1081632-2-martin.blumenstingl@googlemail.com> <20220518114555.piutpdmdzvst2cvu@skbuf> In-Reply-To: <20220518114555.piutpdmdzvst2cvu@skbuf> From: Martin Blumenstingl Date: Wed, 18 May 2022 19:58:58 +0200 Message-ID: Subject: Re: [PATCH net v1 1/2] net: dsa: lantiq_gswip: Fix start index in gswip_port_fdb() To: Vladimir Oltean Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, Hauke Mehrtens Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hi Vladimir, On Wed, May 18, 2022 at 1:45 PM Vladimir Oltean wrote: [...] > The patch, as well as other improvements you might want to bring to the gswip driver > (we have more streamlined support in DSA now for FDB isolation, see ds->fdb_isolation) > is appreciated. Thank you very much for this hint! I was not aware of the ds->fdb_isolation flag and additionally I have some other questions regarding FDB - I'll send these in a separate email though. Also thank you for being quick to review my patches and on top of that providing extra hints! > But I don't think that a code cleanup patch that makes no functional > difference, and isn't otherwise needed by other backported patches, > should be sent to the "net" tree, and be backported to "stable" later? Sure, I will actually re-send the whole series based on net-next. When I initially wrote this patch I thought that it would fix a more severe issue. Only later on I found that the bug is harmless (as mentioned in the patch description). When I then finally sent the patch I just stuck with my original plan to send it for the net.git tree - instead of re-thinking whether that's still needed after my latest findings. Best regards, Martin