Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp2289803rwl; Fri, 6 Jan 2023 04:37:00 -0800 (PST) X-Google-Smtp-Source: AMrXdXv3+prT7kCgZPHxNzAz52rMCiZ3O3B3r5pLqleytT/6o0dAVfUEcvskhy7mx/g6xfyMRz+I X-Received: by 2002:a17:902:cf41:b0:192:dd42:9e66 with SMTP id e1-20020a170902cf4100b00192dd429e66mr1858365plg.12.1673008620561; Fri, 06 Jan 2023 04:37:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673008620; cv=none; d=google.com; s=arc-20160816; b=Prs3lXUIrFdQ46v+xIacZdVzMKeMN8gbAXAnZf9GMVRkofunQ5pcZPDCLNAJsYoZZW tcWRBVrrZEDvElvooD4MbYZsKrVuucmje1+qIYROkOXv847Rca0rV4mg+rCG7uUawK+f BPd4OdYe9wzWf/sS3kF2k6aE/e+M2pa9e8l/IS8FNvzIKyQYC6YPNOfZuLTDo4bOm8UM aIAif4MGOdjtEwy1rEFSyIlzCGW2TKngoujP0kLs2q8jduJkZmKHJNOwMU8s2lUSdJbm tYrAOuTNtpYA8G6Dc1WI67r1UMhKFs06ZsjKbnE2VZ382b5K5D54yC0TmC3kwM/u/aMO a5mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:ui-outboundreport :references:in-reply-to:sensitivity:importance:date:subject:cc:to :from:message-id:mime-version:dkim-signature; bh=LPwkHbG90MMag3udWd8Nd7NzcljugUL4IhPuLknTpZk=; b=LNqpDL3ZvpztONoBg3wRxxdGvYbC9JVZhlNWBDyTsT5tt1pZs3oIhHOuL760tVZkC+ Ying2wLuSKc3jbBXn1URfuLIouOaRM01MC9krMtWESasrGoGgHrHzgBXOyPO+H70hsCS jhAiPVmIXH2QHoiRPDJGiPpDOhHSinMNDISyTysAnV4WsuflnZ/bzt4owWiVawWkRRXb k3r69HTjsME2opaPRJeNwwTF47U1ee2+cHRaXEOAd+q9A9hMNTMW+x0HpFumG9z+Bu8m 5qvsogqRVeX2V54JTnTNB0CWq17vVM+XR5g/vY9+157aTB+9ou83t95Xaz86xxmkc4ww jodw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@public-files.de header.s=s31663417 header.b=Hsf9ULlT; 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 g5-20020a170902e38500b00186f81a0765si783671ple.540.2023.01.06.04.36.53; Fri, 06 Jan 2023 04:37:00 -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; dkim=pass header.i=@public-files.de header.s=s31663417 header.b=Hsf9ULlT; 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 S232226AbjAFMTe (ORCPT + 54 others); Fri, 6 Jan 2023 07:19:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233768AbjAFMTN (ORCPT ); Fri, 6 Jan 2023 07:19:13 -0500 Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D527736FC; Fri, 6 Jan 2023 04:19:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=public-files.de; s=s31663417; t=1673007511; bh=LPwkHbG90MMag3udWd8Nd7NzcljugUL4IhPuLknTpZk=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Hsf9ULlT5d5tKMS8KCUR9Utv8s9blFYpRDu7JZ9yQ8q/iWqlLPBkwII/4B5Gu+DAS csAPstC1L8vzOkcLGc6Ym+iz7QSoK2KWVSSdjPKr2QEyvYJmS/rqAmGiEpGr4yumwP ZshUdMno08DE1ZaQvYwGfN3AyxD2gDV8wDnfE/+1fKVZAW1GS53nKGNqoehrK/FuQq MNsMKjlvoF2pl6QEW6pQLFC8LipvlQ6uW7r9u2ZS8665JD78KV/hccD6ABucWWiNAx r9qdF8y+eh6Hkl8/SprozHgKiET7hPXU4eQfFcURo+IJgmvPoyPBdMFGo0yaLXm39J 6cgSetetuP6OQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [217.61.159.6] ([217.61.159.6]) by web-mail.gmx.net (3c-app-gmx-bap25.server.lan [172.19.172.95]) (via HTTP); Fri, 6 Jan 2023 13:18:31 +0100 MIME-Version: 1.0 Message-ID: From: Frank Wunderlich To: Felix Fietkau Cc: netdev@vger.kernel.org, John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , Russell King , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Aw: Re: Re: Re: [PATCH net v3 4/5] net: ethernet: mtk_eth_soc: drop generic vlan rx offload, only use DSA untagging Content-Type: text/plain; charset=UTF-8 Date: Fri, 6 Jan 2023 13:18:31 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <904dfc35-ecae-97dc-e9d9-a7df83ff89d4@nbd.name> References: <20221230073145.53386-1-nbd@nbd.name> <20221230073145.53386-4-nbd@nbd.name> <82821d48-9259-9508-cc80-fc07f4d3ba14@nbd.name> <904dfc35-ecae-97dc-e9d9-a7df83ff89d4@nbd.name> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:IloZCD58vBRizja9ZIJXP1vXGLP44GZuQsyUaCe1AKEnL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1oFTvzP2KOftOCw/K+qIoCGhFl9JAi5ibRzJYlcxd6 y819OgqIJ9xczkAjm1IZicIg== Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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 Hi, update on my tests...something in my systemd-networkd breaks vlan on dsa-p= ort. if i boot with this disabled vlan added manually works on dsa-port and gma= c too. so felix you can keep my tested-by. if vlan is working and i activate networkd afterwards vlans are still work= ing...i guess systemd puts the wan-interface into some kind of non-vlan-mo= de (vlan-filtering?). this is my basic systemd-config: /etc/systemd/network/15-wan.network [Match] Name=3Dwan [Network] BindCarrier=3Deth0 #static setup Address=3D192.168.0.19/24 Gateway=3D192.168.0.10 DNS=3D192.168.0.10 IPForward=3Dyes /etc/systemd/network/20-lanbr.netdev [NetDev] Name=3Dlanbr0 Kind=3Dbridge [Bridge] DefaultPVID=3D1 VLANFiltering=3D1 /etc/systemd/network/22-lanbr.network [Match] Name=3Dlanbr0 [Network] BindCarrier=3Deth0 ConfigureWithoutCarrier=3Dtrue Address=3D192.168.1.1/24 Address=3Dfd00:A::10/64 [DHCPServer] PoolOffset=3D100 PoolSize=3D150 /etc/systemd/network/05-eth0.network [Match] Name=3Deth0 [Network] DHCP=3Dno LinkLocalAddressing=3Dno ConfigureWithoutCarrier=3Dtrue /etc/systemd/network/21-lanbr-bind.network [Match] Name=3Dlan0 lan1 lan2 lan3 [Network] Bridge=3Dlanbr0 /etc/systemd/network/10-wan.link [Match] OriginalName=3Dwan [Link] Name=3Dwan #MACAddressPolicy=3Dnone #MACAddress=3D08:22:33:44:55:77 regards Frank > Gesendet: Freitag, 30. Dezember 2022 um 17:13 Uhr > Von: "Felix Fietkau" > An: "Frank Wunderlich" > Cc: netdev@vger.kernel.org, "John Crispin" , "Sean Wan= g" , "Mark Lee" , "Loren= zo Bianconi" , "David S. Miller" = , "Eric Dumazet" , "Jakub Kicinski" = , "Paolo Abeni" , "Matthias Brugger" , "Russell King" , linux-arm-kernel@lists.inf= radead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.o= rg > Betreff: Re: Aw: Re: Re: [PATCH net v3 4/5] net: ethernet: mtk_eth_soc: = drop generic vlan rx offload, only use DSA untagging > > On 30.12.22 16:38, Frank Wunderlich wrote: > > seems only tx is affected on r3, as i see packets on the vlan from my = laptop > > > > tcpdump on R3 (e4:b9:7a:f7:c4:8b is mac from laptop): > > > > 13:47:05.265508 e4:b9:7a:f7:c4:8b > ff:ff:ff:ff:ff:ff, ethertype 802.1= Q (0x8100), length 577: vlan 500, p 0, ethertype IPv4 (0x0800), 192.168.50= .2.59389 > 192.168.50.255.21027: UDP, length 531 > > 13:47:05.265548 e4:b9:7a:f7:c4:8b > ff:ff:ff:ff:ff:ff, ethertype 802.1= Q (0x8100), length 577: vlan 600, p 0, ethertype IPv4 (0x0800), 192.168.60= .2.59389 > 192.168.60.255.21027: UDP, length 531 > > > > regards Frank > I don't have a setup to test 6.2 on my MT7986 board right now, but I did > test latest OpenWrt with my changes and couldn't reproduce the issue the= re. > I checked the diff between my tree and upstream and didn't find any > relevant differences in mtk_eth_soc.c > Not sure what's going on or how to narrow it down further. > > - Felix >