Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7436220rwl; Fri, 30 Dec 2022 08:25:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXumYt5JCtiDbgBeJlmhqGfOzhBnwyr/M2LyDLeuYG9p4VSUFh1+pGUkGgSIOwxtPIoHQmqu X-Received: by 2002:a05:6a20:cc59:b0:a4:7077:5a01 with SMTP id hq25-20020a056a20cc5900b000a470775a01mr31256745pzb.13.1672417558578; Fri, 30 Dec 2022 08:25:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672417558; cv=none; d=google.com; s=arc-20160816; b=osSquBV+J4yDxFWtFgXIJdYJPXDci9upp82bxX6rJ51shB9EH2591MxNtJQ/gKkmaV jEuvOLaZiQhuiLHL9uRUkj4iFUrXgzd+SzrE1am1YvhAG4WRUh/J0j5WzDSzCw33M0Un GYnCaGHBA4qsn6uua6Dnl2ZCOFH9RgK94Yxb03JYr0sUlVh117M+QyTczRlDfbAU9Q7u fFFla1OXOV8D+yjQWw0CAf5h65nQjkcuKaklZEwG2p6TP0IyNOKNHjAVqVinGCNDLuPg Ss4i53Wmd9LVVjFWsDTGpaYWN4/qy/0akx6oOz3Blq3Jg3mrQ28zfwpu8c6Yv1/QiLvX KmUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=oLpu04+RbbeBI/Nbl4YEI0+hXME43XlTduDWQwUs7U0=; b=zyifK8NpSv5Hij/6F90TqbuZV11bUf7fkA894b6Fx893Dfn/Q/vbHGsxBJC5+bnQ/8 m/swSK7hHAUz7+HPAU1oWtxMZM+OepL2O6JWErXW8pR3Xcrt7MjOPw6nAPmRdLSUcpBr U+KLlG5cs4VUbS8kvrg3EYvY/I7ZSoz89cnc/AhPmm3mwpW+peTlR4C4eWz3ojvH5N0D yfacvJ0rVJLQq3JJ0o7ndheR56vaEZanaOhih3VQb82tKRcqbSbcVbGFlNl6R1fhAwkD AIkLP8mrb8pQC/IuNdYq6pUcA1h9XEgp46Pht61ZUpvN5KW0su2Ui/Hm6+MGTXEOThUF 6YqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=W0V4c2xm; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j71-20020a63804a000000b00497e31916dfsi16908072pgd.273.2022.12.30.08.25.49; Fri, 30 Dec 2022 08:25:58 -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=fail header.i=@nbd.name header.s=20160729 header.b=W0V4c2xm; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nbd.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235172AbiL3QNY (ORCPT + 63 others); Fri, 30 Dec 2022 11:13:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235064AbiL3QNV (ORCPT ); Fri, 30 Dec 2022 11:13:21 -0500 Received: from nbd.name (nbd.name [46.4.11.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 066431BEA6; Fri, 30 Dec 2022 08:13:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oLpu04+RbbeBI/Nbl4YEI0+hXME43XlTduDWQwUs7U0=; b=W0V4c2xmmo9qMY2lMo0UPZC2L+ OSWUKXOVgSit6IqjGEFoC87+rhuqEG5V0O87EkI2hG1sE96HiEe5/M/1p5fXj5MFKBEBXJyfJlR9p bceHia7lyYICoGtrdFxhLTFGqsD0KyWAEyRaxajtmOX1BpOgbO/++ZryOAPpVBvbLbuM=; Received: from p200300daa720fc02b9d78281b940d549.dip0.t-ipconnect.de ([2003:da:a720:fc02:b9d7:8281:b940:d549] helo=nf.local) by ds12 with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pBI0E-00CklB-8W; Fri, 30 Dec 2022 17:13:02 +0100 Message-ID: <904dfc35-ecae-97dc-e9d9-a7df83ff89d4@nbd.name> Date: Fri, 30 Dec 2022 17:13:01 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: Aw: Re: Re: [PATCH net v3 4/5] net: ethernet: mtk_eth_soc: drop generic vlan rx offload, only use DSA untagging Content-Language: en-US To: Frank Wunderlich 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 References: <20221230073145.53386-1-nbd@nbd.name> <20221230073145.53386-4-nbd@nbd.name> <82821d48-9259-9508-cc80-fc07f4d3ba14@nbd.name> From: Felix Fietkau In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 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.1Q (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.1Q (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 there. 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