Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp4787121rwb; Sun, 4 Dec 2022 08:10:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf57PXYMPjSccN4eud95ZHknOA8eZm36/1pCU2nT+exKyLg6v/26xaFI1bSvTfcD59jDXPKt X-Received: by 2002:a05:6402:28ac:b0:46a:b8d0:a052 with SMTP id eg44-20020a05640228ac00b0046ab8d0a052mr38424252edb.399.1670170210049; Sun, 04 Dec 2022 08:10:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670170210; cv=none; d=google.com; s=arc-20160816; b=X2N8dIUmYkfXWOyzdLrqfzhAE005K0sQ5NR3HxQopiC0I1oj2Bkfqn9KQ4ZIU0g6Qy KFqnHVzk5QQdqQOOEbH6QhApD6nfqKD5QOqwbl75zHH+MDtkQZ/f4oSSCc7n2v4G/kUy dSBZ4CXG90hraktXVeV1Rpgn5RbL3fvtoMgToWb8jYKSxicBRZXZ/vu109c/N2d2OrOS s7SsSeZZVbJ2pWYO/Y0BSivSaXUzjeX2Lj3tiAbPUxKaXH6dYLqdc0X/ONZtcVHOdgR0 88+6D/f/3I5XKFGCwoFtJnTqqjE2jx0LGodDjA+/TaLNqErZnAXdrI76vyJIYjb2N+md 1dBQ== 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=u57LdsI5V12ibmmqR0LQX7l1UOyKSkuwRocHIWA4pV4=; b=XhSItuE/raa8aoOl/jNVBfswZiGQ5Z8JxAlzRJr2DLRLN1WwzaOBzFldt2UxSPRsYf aX+SL19/ifxfs0AcLkuca8qEEZ//zeGhan+u3BSiIXPswSn9pnHvqbPkP5i47yLy6UV+ fJ5K5NXfn1kdSqFl/QxhgXg98yWdRZMsrxrS21ZRU1tzDzOEd3rB0T+l/f8xu7RVbrG3 w2XjVOpxuf1Vta1EpRSYsH3Aa4MhhVYJA1h/80QJKDxRIgw1PcDgEySpFoW7btNtC8Vk vWgqJVax+avW1TAdDi/H+y3x1pz/EgvgV0mu/LfJNSjNJe2xEfVrD9t8whTgDqN7vvzY IhlQ== 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 m14-20020a056402430e00b00461c50013b8si11325287edc.192.2022.12.04.08.09.50; Sun, 04 Dec 2022 08:10:10 -0800 (PST) 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 S230049AbiLDPIg (ORCPT + 82 others); Sun, 4 Dec 2022 10:08:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229834AbiLDPIe (ORCPT ); Sun, 4 Dec 2022 10:08:34 -0500 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31A3D13E1D; Sun, 4 Dec 2022 07:08:32 -0800 (PST) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id 96AB11883F96; Sun, 4 Dec 2022 15:08:29 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id 87D1025003AB; Sun, 4 Dec 2022 15:08:29 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id 776059EC0020; Sun, 4 Dec 2022 15:08:29 +0000 (UTC) X-Screener-Id: 413d8c6ce5bf6eab4824d0abaab02863e8e3f662 MIME-Version: 1.0 Date: Sun, 04 Dec 2022 16:08:27 +0100 From: netdev@kapio-technology.com To: Vladimir Oltean Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, Andrew Lunn , Florian Fainelli , Eric Dumazet , Paolo Abeni , open list Subject: Re: [PATCH v8 net-next 2/2] net: dsa: mv88e6xxx: mac-auth/MAB implementation In-Reply-To: <20221120150018.qupfa3flq6hoapgj@skbuf> References: <20221112203748.68995-1-netdev@kapio-technology.com> <20221112203748.68995-1-netdev@kapio-technology.com> <20221112203748.68995-3-netdev@kapio-technology.com> <20221112203748.68995-3-netdev@kapio-technology.com> <20221115222312.lix6xpvddjbsmoac@skbuf> <6c77f91d096e7b1eeaa73cd546eb6825@kapio-technology.com> <20221120150018.qupfa3flq6hoapgj@skbuf> User-Agent: Gigahost Webmail Message-ID: <4e098ca82ce29fa0c534a1aa18f72eea@kapio-technology.com> 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 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-11-20 16:00, Vladimir Oltean wrote: > On Sun, Nov 20, 2022 at 11:21:08AM +0100, netdev@kapio-technology.com > wrote: >> I have something like this, using 'mvls vtu' from >> https://github.com/wkz/mdio-tools: >> VID FID SID P Q F 0 1 2 3 4 5 6 7 8 9 a >> 0 0 0 y - - = = = = = = = = = = = >> 1 2 0 - - - u u u u u u u u u u = >> 4095 1 0 - - - = = = = = = = = = = = >> >> as a vtu table. I don't remember exactly the consequences, but I am >> quite >> sure that fid=0 gave >> incorrect handling, but there might be something that I have missed as >> to >> other setups. > > Can you please find out? There needs to be an answer as to why > something > which shouldn't happen happens. Just an update on this, as when running the selftests now, I have experienced the case where fid=0 in the interrupt handler. The reported mac is the same as the one where the handling was successful in the selftest. So I don't know what causes this fid=0 event, maybe some timing with the chip op when stressed resulting in erroneous reading of fid?