Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1191830rwr; Wed, 26 Apr 2023 11:11:45 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7MPKdKHRHf1FItYDeD+FaIYVffSQTAGcZLrVVh3XZ2V0isrOp13Ozswu/a1m3UzevZ7VsE X-Received: by 2002:a05:6a20:12cd:b0:f8:a493:5290 with SMTP id v13-20020a056a2012cd00b000f8a4935290mr70501pzg.20.1682532704470; Wed, 26 Apr 2023 11:11:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1682532704; cv=pass; d=google.com; s=arc-20160816; b=FbsW12CvNvJ6WI9VbnzVrIgvoRUKAirotobWgNBoBL3od8IUpSHpZuweX/yK/7InAN OgARHnHftKbo/wrhnbmgb/+lQUC6ogfi/5qhVFT5CcwJeMGTL60BPtGGznyKFZfst/mi JSdmTMdeLwF9tLpyLz6CazpxBvJ3l5o9oiYBEfKBRgRBCKXRIJ5ba04dZ/EkYXVayE8H MTMxovsObB+9xazGo9mzy0SyY1xvDz+em6lxkHj9v8szctmstR/avKODPRydfkIXwIzw L022vtUQkVDwTgJALfYBk9DvNWOQAA1arAumiOvoG8sb/LbQdE0w14GeHt8nUYa53iGn 53bg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=9Wi/8nMN9gJCaCyCSAg2V0pWF7JRystcZiffV/EP5n4=; b=Smv7meNHLEN8c60fVQegMNIkZGT+xsivfotFtZsldoDGhoO0BuwEjM22JdlJjSf5UR o9FfHfTKIKkLTVuDdsTEORktUgKX59z59VxWCU0Ci5W0PL/xJ+mYCvv6PqR88BKvodRH pOwdwlRxnRGtzg6Wolc6xaBF5U4VjgcP902/svCBZ9wBftMZ0T00+d8OH5MToLpmQFrZ DQNYGiz+4RhvcVX1qinADwqXSfF9dwp4Leeu/0cTQ9y+ZWgPgYVMFtyBeuRWKszswAfi a8t+QrwkGokUA3Rpi6zhud6xV+7OVkxX4i3S1/oyA/M0oh0Yw2Onnt1w1xw9Aobfg9Rl bxHQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arinc9.com header.s=zmail header.b=ExP8dtkF; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.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 195-20020a6303cc000000b0051b59786e6csi17048614pgd.300.2023.04.26.11.11.33; Wed, 26 Apr 2023 11:11:44 -0700 (PDT) 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=@arinc9.com header.s=zmail header.b=ExP8dtkF; arc=pass (i=1 spf=pass spfdomain=arinc9.com dkim=pass dkdomain=arinc9.com dmarc=pass fromdomain=arinc9.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 S234903AbjDZR7x (ORCPT + 99 others); Wed, 26 Apr 2023 13:59:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233479AbjDZR7w (ORCPT ); Wed, 26 Apr 2023 13:59:52 -0400 Received: from sender4-op-o10.zoho.com (sender4-op-o10.zoho.com [136.143.188.10]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0226C618B; Wed, 26 Apr 2023 10:59:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682531954; cv=none; d=zohomail.com; s=zohoarc; b=QTP1nSuy3stytDdseimcCoXtiORzUrZ/QMDABvyPNc3fsSlqJRU3MkxrOKj/yGggz+FNvBuxBKlq+O6XuU4mQN6bpmnasCaNVy9YaOuWaa2GorthIuQhUPRQRsZl0uk3pBBW7RzwVaSOwMSONrefoMy3NvvFmv2PRDG2/qDGtZ0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1682531954; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=9Wi/8nMN9gJCaCyCSAg2V0pWF7JRystcZiffV/EP5n4=; b=LNUxwyTGv7+KwRZV9M+mdnj4lKHJa7NJiPEtbzen7rgs1UGmTzFcbnFoB1P/L4RCAuzrAPXgBRpojcRBKJppx5woFLZD7b7qdGHao5X1xo4MTFHjokrHG4vOsG5lc+In3V2YGSbi+8HHrtoji7AeQyunbDfRObpHrc++QQVGyew= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=arinc9.com; spf=pass smtp.mailfrom=arinc.unal@arinc9.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1682531954; s=zmail; d=arinc9.com; i=arinc.unal@arinc9.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=9Wi/8nMN9gJCaCyCSAg2V0pWF7JRystcZiffV/EP5n4=; b=ExP8dtkFjqQUa+eyrv7X5/ci8YBpV10iB0bdZMsomOUbcJBbHTcrZm3ZmL67sJAT g/4uKOvIlxi+e/9yzFgKC+dYoMtqoHl6AGmkmRNyjx2iW7pX4FJ2Z2uIFAs8BSh/M4w 7bi2vLliB9tmoEMes2bbBFEATUKpcc2bqOdc7daI= Received: from [10.10.10.3] (149.91.1.15 [149.91.1.15]) by mx.zohomail.com with SMTPS id 16825319531255.417524925558041; Wed, 26 Apr 2023 10:59:13 -0700 (PDT) Message-ID: Date: Wed, 26 Apr 2023 20:58:58 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: Aw: Re: [net v2] net: ethernet: mtk_eth_soc: drop generic vlan rx offload, only use DSA untagging To: Frank Wunderlich Cc: Frank Wunderlich , linux-mediatek@lists.infradead.org, Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Russell King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org References: <20230426172153.8352-1-linux@fw-web.de> <61ea49b7-8a04-214d-ef02-3ef6181619e9@arinc9.com> Content-Language: en-US From: =?UTF-8?B?QXLEsW7DpyDDnE5BTA==?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 26/04/2023 20:52, Frank Wunderlich wrote: > Hi >> Gesendet: Mittwoch, 26. April 2023 um 19:25 Uhr >> Von: "Arınç ÜNAL" > >>> tested this on bananapi-r3 on non-dsa gmac1 and dsa eth0 (wan). >>> on both vlan is working, but maybe it breaks HW-vlan-untagging >> >> I'm confused by this. What is HW-vlan-untagging, and which SoCs do you >> think this patch would break this feature? How can I utilise this >> feature on Linux so I can confirm whether it works or not? > > oh, you mean my wording about "hw-vlan-untagging"...i mean the hw vlan offload feature which may > not be working on non-mt7621/7622 devices as i have no idea how to check this. i hope felix can > answer this. at least the feature activeated on mt7986 breaks sw-vlan on the gmac1 (without > switch). The "hw vlan offload" feature being broken on non-mt7621/7622 devices is already established, hence this patch disabling it for the non-mt7621/7622 devices. I still don't understand why you're mentioning it in this way, unless you're trying to say something else? Could you also not trim the relevant parts of the mail on your response. It's getting hard to keep track of the conversation. Arınç