From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 58C1CCAC598 for ; Wed, 17 Sep 2025 09:40:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Subject:Cc:To:From:Date:Message-ID:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=5jQzjfISWXhmjsCWqCbC/EKcBa3nhvEnsbsmWDiienE=; b=bkvr/WZgrpwbcPBXpfj/GFbuDn SqK1/8wv18l5nsQ+3LrJA5yeTNnxrTMs5Anl27845+6vo4KAwtRYRCrWoJGVDlMwov+35tVLlzGvt mgMWiUHU0878IXBWb3HJyJHcnN0SHc+Ls2lDiNCT9sKLjZ9dE22XiJKnhcV59Nqb8tSAcmKHRFaN7 8qwwcBqHBkXcqMqVEuvQjlANRJDC/N60ye585HunuWWgD5e60vM3kwkFtUeGN5M1ZCqxn0O5Tel9j vSknr0AyFydpAl21OPHOE65zMzmQ3Sn83APbvrpuMcjtKWSYlkXw7XptfWluxAJO6Oao+SXFzuGYX XQjhMc0w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyoea-0000000Ap7a-2PuB; Wed, 17 Sep 2025 09:40:44 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uyoeY-0000000Ap6H-32Lj for linux-arm-kernel@lists.infradead.org; Wed, 17 Sep 2025 09:40:43 +0000 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4619eb18311so4093375e9.1 for ; Wed, 17 Sep 2025 02:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1758102041; x=1758706841; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=5jQzjfISWXhmjsCWqCbC/EKcBa3nhvEnsbsmWDiienE=; b=kctD+yQ64hwZleyqUyx4VqQcWCSlf/3JrIDaYYWz0kf/HGvwkOTLEUIJa2HnpCg1Qv KVTZvzCQD6dT14EZ5OikNICLtQUGYeVfIWObxdQE0s7FSll+TUrman7fOS2ZcGbwkfnx nc4BojK36TO/o1+WXxoInEDO9J/SCJBnU9GLB15upjyOTip0vL4eXYYUwkOFGoXixwrG wG2hM7RUKtOdJXATok8YHjb4LTGgMApd7CUmW+/HWNLjTnj3SP0aPuuZ53pS6W+5NKbb TBBsUtn6WSGp7yKg+9kh2Pjlyg+bGZOqhZAe2aBINnuLWvqEZX34jb3wUGGqct7nDP3y 84Hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758102041; x=1758706841; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=5jQzjfISWXhmjsCWqCbC/EKcBa3nhvEnsbsmWDiienE=; b=jnlBFrL+9p7sdI3iH4NNMzJ6ckJLArAH3RGSBku1o3NlBmsaxYp8ZVkgKWo8vfMA+f S2ZtciE/RDEwRU7cpDr9zibWODUPexV/cVCFXHTPCBU+Xh7FgCVzjwsKqg1T17pva7Tr kg2STDKn2+rIT58Lww4exRfYi1vyoh+jjflio1v+7j9ZhifMPlZl0bTzHkBAOOFD+BXo iyiJkfjuRG04kMJG5z9+/hiQNteyAFOsRwMJR8uqgr4FnSsQ0Y9w3BDiXkFeCNCl5wSd hTTwKTphhZaWBgljLTdC0VjMLsWQsHsH2ReZ8/fXqU4NAATq1uCip3hjE2G+i86Y6Tvi Cpew== X-Forwarded-Encrypted: i=1; AJvYcCWRU9Lmmen+guGWye2jJm9caUfFk8z8fT9oMpyKN4VwBoqQ0OpGcvZGdjRmKiIo6TQ0N1Sb2w0kiIYjV6kNrySb@lists.infradead.org X-Gm-Message-State: AOJu0YzKPAbVd7LNVYLG6e/9zeX67biQ+6apP5IGjsF9cmsdu0jtftF2 E1Yn34H8tSEdNCjdQIGJ7az82bwQQgv7Bi5N+EzfdR/RG+iPS/ARt5s4 X-Gm-Gg: ASbGnct5RtFowm9qgaYMyti99kS6EIiZ0pR4SPEdk8xJoT7WiCmVxPkXb6vcp3EK8as I/XtiLXZ6OwlD7466RJHhL4bpfgz2Ln+t3rO8XQFJO6hKHurzy/lkUehA7mBuavF7qNPYr4QmXb y8thS822ozBmKkYZYrL5Li0g7aqEmNaMwElAhFcKxaPlwerfgeYf7Qtt64SbmVQKtcYBGG0wkaB nysXjE9Zbyz3mpEc2VUQfKUmvLAlSot/Mo/9gS4ovYp5F1jDQlah+yJP/bfzM6+o+1AyNLbpG5d xQSn8HDW+bxtTRWtvOazlrSwBwiOq9SCHoWu0y28FFZ6vtcw6Mf3x8jpwY3TZcy2rDhbuDqgzcl LGwl5zG+2fSXKNfBKy4P5aA22zuXpmWZjg+TYDR5b1mIHKIER0W7dYrb2cjmA0keB8mveHQ== X-Google-Smtp-Source: AGHT+IG1Z5gfPhstZ8Qe0/f0tZQDFllaZrwj1CdOj/WzkKpXcRN9xT6g090i2kZL7HUgri/YALYN1g== X-Received: by 2002:a05:600c:190e:b0:45d:d9ca:9f8a with SMTP id 5b1f17b1804b1-46206655f96mr10607395e9.27.1758102040358; Wed, 17 Sep 2025 02:40:40 -0700 (PDT) Received: from Ansuel-XPS. (host-95-249-236-54.retail.telecomitalia.it. [95.249.236.54]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4613eb27f25sm30833585e9.23.2025.09.17.02.40.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Sep 2025 02:40:39 -0700 (PDT) Message-ID: <68ca8217.050a0220.81571.9fda@mx.google.com> X-Google-Original-Message-ID: Date: Wed, 17 Sep 2025 11:40:36 +0200 From: Christian Marangi To: Vladimir Oltean Cc: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heiner Kallweit , Russell King , Simon Horman , "Chester A. Unal" , Daniel Golle , DENG Qingfang , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next PATCH v18 0/8] net: dsa: Add Airoha AN8855 support References: <20250915104545.1742-1-ansuelsmth@gmail.com> <20250917092807.uui2qwva2sqbe6sp@skbuf> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250917092807.uui2qwva2sqbe6sp@skbuf> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250917_024042_815662_0AA8CDF4 X-CRM114-Status: GOOD ( 26.81 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Sep 17, 2025 at 12:28:07PM +0300, Vladimir Oltean wrote: > On Mon, Sep 15, 2025 at 12:45:36PM +0200, Christian Marangi wrote: > > It's conceptually similar to mediatek switch but register and bits > > are different. And there is massive list of register for the PCS > > configuration. > > Saddly for that part we have absolutely NO documentation currently. > > Please add in the next revision a more convincing argument for not > reusing the mt7530 driver control flow. Regmap fields can abstract a > lot, and the driver can select a completely different phylink_pcs for > different hardware. > > I don't see in the short change log included here any mentions related > to the mt7530, but I'm not going to search the mailing lists since Nov > 2024 for any previous discussions about this... > Ok will add additional info. But In short the FDB and VLAN part are very different. The FDB logic to dump entry add and remove is entirely different. And the mt7530 itself is full of unrelated function (specific to the first revision of the mt7530 switch) so I have to move lots of code around. If asked I can do it but I have to also introduce lots of extra change. > Also, let's try not to reach v20.. Please try to collect a full round of > feedback from people who commented before when submitting a new version, > pinging people if necessary. You want to make sure that their previous > feedback was addressed. > > > TEST: lan2: Multicast IPv4 to joined group [ OK ] > > TEST: lan2: Multicast IPv4 to unknown group [XFAIL] > > reception succeeded, but should have failed > > TEST: lan2: Multicast IPv4 to unknown group, promisc [ OK ] > > TEST: lan2: Multicast IPv4 to unknown group, allmulti [ OK ] > > TEST: lan2: Multicast IPv6 to joined group [ OK ] > > TEST: lan2: Multicast IPv6 to unknown group [XFAIL] > > reception succeeded, but should have failed > > TEST: lan2: Multicast IPv6 to unknown group, promisc [ OK ] > > TEST: lan2: Multicast IPv6 to unknown group, allmulti [ OK ] > > TEST: lan2: 1588v2 over L2 transport, Sync [ OK ] > > TEST: lan2: 1588v2 over L2 transport, Follow-Up [ OK ] > > TEST: lan2: 1588v2 over L2 transport, Peer Delay Request [ OK ] > > TEST: lan2: 1588v2 over IPv4, Sync [FAIL] > > reception failed > > TEST: lan2: 1588v2 over IPv4, Follow-Up [FAIL] > > reception failed > > TEST: lan2: 1588v2 over IPv4, Peer Delay Request [FAIL] > > reception failed > > TEST: lan2: 1588v2 over IPv6, Sync [FAIL] > > reception failed > > TEST: lan2: 1588v2 over IPv6, Follow-Up [FAIL] > > reception failed > > TEST: lan2: 1588v2 over IPv6, Peer Delay Request [FAIL] > > reception failed > > Do you know why it won't receive PTP over IP? It seems strange, given it > receives other IP multicast (even unregistered). Is it a hardware or a > software drop? What port counters increment? Does it drop PTP over IP > only on local termination, or does it also fail to forward it? What > about the packet makes the switch drop it? > >From what they said there isn't any support for 1588v2 (PTP) on the Switch other than L2 (that I think they simply forward) I can ask more info on the topic, will also check what counters increment. > > TEST: vlan_filtering=1 bridge: Multicast IPv6 to unknown group, promisc [ OK ] > > TEST: vlan_filtering=1 bridge: Multicast IPv6 to unknown group, allmulti [ OK ] > > TEST: VLAN upper: Unicast IPv4 to primary MAC address [ OK ] > > TEST: VLAN upper: Unicast IPv4 to macvlan MAC address [ OK ] > > TEST: VLAN upper: Unicast IPv4 to unknown MAC address [ OK ] > > TEST: VLAN upper: Unicast IPv4 to unknown MAC address, promisc [ OK ] > > TEST: VLAN upper: Unicast IPv4 to unknown MAC address, allmulti [ OK ] > > TEST: VLAN upper: Multicast IPv4 to joined group [ OK ] > > TEST: VLAN upper: Multicast IPv4 to unknown group [XFAIL] > > reception succeeded, but should have failed > > TEST: VLAN upper: Multicast IPv4 to unknown group, promisc [ OK ] > > TEST: VLAN upper: Multicast IPv4 to unknown group, allmulti [ OK ] > > TEST: VLAN upper: Multicast IPv6 to joined group [ OK ] > > TEST: VLAN upper: Multicast IPv6 to unknown group [XFAIL] > > reception succeeded, but should have failed > > TEST: VLAN upper: Multicast IPv6 to unknown group, promisc [ OK ] > > TEST: VLAN upper: Multicast IPv6 to unknown group, allmulti [ OK ] > > TEST: VLAN upper: 1588v2 over L2 transport, Sync [ OK ] > > TEST: VLAN upper: 1588v2 over L2 transport, Follow-Up [FAIL] > > reception failed > > TEST: VLAN upper: 1588v2 over L2 transport, Peer Delay Request [ OK ] > > TEST: VLAN upper: 1588v2 over IPv4, Sync [FAIL] > > reception failed > > ;TEST: VLAN upper: 1588v2 over IPv4, Follow-Up [FAIL] > > reception failed > > TEST: VLAN upper: 1588v2 over IPv4, Peer Delay Request [FAIL] > > reception failed > > TEST: VLAN upper: 1588v2 over IPv6, Sync [FAIL] > > reception failed > > TEST: VLAN upper: 1588v2 over IPv6, Follow-Up [FAIL] > > reception failed > > TEST: VLAN upper: 1588v2 over IPv6, Peer Delay Request [FAIL] > > reception failed > > The same thing happens with VLAN too... > > > TEST: VLAN over vlan_filtering=0 bridged port: Multicast IPv4 to joined group [ OK ] > > TEST: VLAN over vlan_filtering=0 bridged port: Multicast IPv4 to unknown group [XFAIL] > > reception succeeded, but should have failed > > TEST: VLAN over vlan_filtering=0 bridged port: Multicast IPv4 to unknown group, promisc [ OK ] > > TEST: VLAN over vlan_filtering=0 bridged port: Multicast IPv4 to unknown group, allmulti [ OK ] > > TEST: VLAN over vlan_filtering=0 bridged port: Multicast IPv6 to joined group [ OK ] > > TEST: VLAN over vlan_filtering=0 bridged port: Multicast IPv6 to unknown group [XFAIL] > > reception succeeded, but should have failed > > TEST: VLAN over vlan_filtering=0 bridged port: Multicast IPv6 to unknown group, promisc [ OK ] > > TEST: VLAN over vlan_filtering=0 bridged port: Multicast IPv6 to unknown group, allmulti [ OK ] > > TEST: VLAN over vlan_filtering=0 bridged port: 1588v2 over L2 transport, Sync [ OK ] > > TEST: VLAN over vlan_filtering=0 bridged port: 1588v2 over L2 transport, Follow-Up [ OK ] > > TEST: VLAN over vlan_filtering=0 bridged port: 1588v2 over L2 transport, Peer Delay Request [ OK ] > > TEST: VLAN over vlan_filtering=0 bridged port: 1588v2 over IPv4, Sync [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=0 bridged port: 1588v2 over IPv4, Follow-Up [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=0 bridged port: 1588v2 over IPv4, Peer Delay Request [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=0 bridged port: 1588v2 over IPv6, Sync [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=0 bridged port: 1588v2 over IPv6, Follow-Up [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=0 bridged port: 1588v2 over IPv6, Peer Delay Request [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=1 bridged port: Multicast IPv4 to joined group [ OK ] > > TEST: VLAN over vlan_filtering=1 bridged port: Multicast IPv4 to unknown group [XFAIL] > > reception succeeded, but should have failed > > TEST: VLAN over vlan_filtering=1 bridged port: Multicast IPv4 to unknown group, promisc [ OK ] > > TEST: VLAN over vlan_filtering=1 bridged port: Multicast IPv4 to unknown group, allmulti [ OK ] > > TEST: VLAN over vlan_filtering=1 bridged port: Multicast IPv6 to joined group [ OK ] > > TEST: VLAN over vlan_filtering=1 bridged port: Multicast IPv6 to unknown group [XFAIL] > > reception succeeded, but should have failed > > TEST: VLAN over vlan_filtering=1 bridged port: Multicast IPv6 to unknown group, promisc [ OK ] > > TEST: VLAN over vlan_filtering=1 bridged port: Multicast IPv6 to unknown group, allmulti [ OK ] > > TEST: VLAN over vlan_filtering=1 bridged port: 1588v2 over L2 transport, Sync [ OK ] > > TEST: VLAN over vlan_filtering=1 bridged port: 1588v2 over L2 transport, Follow-Up [ OK ] > > TEST: VLAN over vlan_filtering=1 bridged port: 1588v2 over L2 transport, Peer Delay Request [ OK ] > > TEST: VLAN over vlan_filtering=1 bridged port: 1588v2 over IPv4, Sync [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=1 bridged port: 1588v2 over IPv4, Follow-Up [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=1 bridged port: 1588v2 over IPv4, Peer Delay Request [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=1 bridged port: 1588v2 over IPv6, Sync [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=1 bridged port: 1588v2 over IPv6, Follow-Up [FAIL] > > reception failed > > TEST: VLAN over vlan_filtering=1 bridged port: 1588v2 over IPv6, Peer Delay Request [FAIL] > > reception failed > > And over bridge ports... -- Ansuel