Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1952540rwb; Fri, 2 Dec 2022 03:33:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf54H2aB7O9QBC7Gr0AzkgZzyhTzT+8fhQHLly+gKK5G9FcpdypD90A2eT1aMAAWD7NVIg75 X-Received: by 2002:a05:6402:1593:b0:46b:fb7d:2188 with SMTP id c19-20020a056402159300b0046bfb7d2188mr5616832edv.395.1669980801024; Fri, 02 Dec 2022 03:33:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669980801; cv=none; d=google.com; s=arc-20160816; b=n/SlUwqA2hYxZidWYoqI5iT/GolU+wZpyBeqvI+ldIR4lcDPHnJYJdcLMJM3g/4pnd JGFNDi0wQHxNsj2WPJj3FCvkw7ZoK5OowgZYZlMIqO0O/NYZa02V5ZYkMVGXOHEi4oIU 38nxyMxywK1VrJlIKgvDm9Ff/kObRbshlyXXCLPNB3wTJnviNA3wQEt14Ox/FxQ33tw5 1aXbOCiU/Fsdd4ZwMzWsu6ke32D5VzByeF+6IzlQpCh59JqUe/sq+HfzuInSl03LsleW TFs7khrso6Inm9M03a/1C8UOlWny3AE+wn8RfiUlq8w8gfvhPDvmDLGXGcphoc/fDDXu 3+Jw== 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=EJljwYWWzjOVD5Xb5gCEaiAtioB2ZkdWL/OwfPpzfvM=; b=KWye3l4vUjZvT0mMKzWPIBWnjRvPAZ6GIPIdJuamwWMUMsP+qF5pEYDLm+DHJObR4i wRVdkbEZsMNW5L8D+R+iXQRLOTNahz1nD4ug3f0GFkAjgk3oN9ZsD0Xub529B/Qryan8 hHLEg9+jt3Df9fj/Ienke40b67H/+nq/oGr+rtLGkPI0RFZfjGh39ieaw7SHzE2F8jZD SY2Mvhp8QuVOehQ5ez/LLz3QWX90huML7h0kX+KZpJwxr0kn39tXjJzXavnL0giqqq38 YZunp/ObTUksqU+1DdTzzoNsf4V6O69hThM1bQq7MLBXuIuG+IujD+5OEeIeW3BQgz1/ wh5Q== 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 h11-20020a05640250cb00b0045d3e06e4d5si6601397edb.389.2022.12.02.03.33.01; Fri, 02 Dec 2022 03:33:21 -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 S232893AbiLBLGZ (ORCPT + 83 others); Fri, 2 Dec 2022 06:06:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232307AbiLBLGW (ORCPT ); Fri, 2 Dec 2022 06:06:22 -0500 Received: from mailout-taastrup.gigahost.dk (mailout-taastrup.gigahost.dk [46.183.139.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC959BC5A1; Fri, 2 Dec 2022 03:06:20 -0800 (PST) Received: from mailout.gigahost.dk (mailout.gigahost.dk [89.186.169.112]) by mailout-taastrup.gigahost.dk (Postfix) with ESMTP id 13E861883906; Fri, 2 Dec 2022 11:06:18 +0000 (UTC) Received: from smtp.gigahost.dk (smtp.gigahost.dk [89.186.169.109]) by mailout.gigahost.dk (Postfix) with ESMTP id 0C28425003AB; Fri, 2 Dec 2022 11:06:18 +0000 (UTC) Received: by smtp.gigahost.dk (Postfix, from userid 1000) id 05C1F9EC0021; Fri, 2 Dec 2022 11:06:17 +0000 (UTC) X-Screener-Id: 413d8c6ce5bf6eab4824d0abaab02863e8e3f662 MIME-Version: 1.0 Date: Fri, 02 Dec 2022 12:06:17 +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: <343cbf3d367e2a2d4e3ce09487f43615@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. Hi Vladimir, I haven't been able to reproduce the situation with fid=0, and it may be superfluous to check if fid has a non-zero value as the case of fid=0 in the miss violation handling is not valid on a bridged port, where I understand from consultation that the case fid=0 corresponds to a non-bridged port. What I experienced then might have been from some previous bug at a time, but I don't know. Should I remove the check or not?