Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp6760655rwl; Thu, 29 Dec 2022 20:12:51 -0800 (PST) X-Google-Smtp-Source: AMrXdXtBE/blQdo0hjIATzPDbBSzm4J402+eCsGiZTk9FMBXuF0jp22FXBwMTSiNh6Nkne1VKUuA X-Received: by 2002:a17:902:d491:b0:192:ad82:dc98 with SMTP id c17-20020a170902d49100b00192ad82dc98mr1277963plg.34.1672373570908; Thu, 29 Dec 2022 20:12:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672373570; cv=none; d=google.com; s=arc-20160816; b=IArOZoLh3M0IFi59raBIu3e0o2GPn5d4dDotuj+elQgSAwvMc+os9HdzvEWNynOpsV m8HZoLhB7TxOJdaMDNhDeizC67AQ6nUWuDVy56/oHMyI7yC4kfSKKPV2PkE/gCnnV/iL GM3OVGuISjaUiLm0nd+g6vMJOWtrny0n+Ut2hqcXxvRK0b9rBhhAaobFGYWvKsGhMI8h T5aBkPlMjg+Z229efj/fayZ+OmwYOZ5bbl8avW94XbvTXo1fcm53QexOJi19CvoN8tEA /s13Xdu3Rf6FZVPv5HI/iUGzmifXfGmjz9ePf6QrrnGOOXwGVHgwKyL+hFIEuYIZQ7U3 UCuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=4g8g+IzZtBNUXnqyLQQPEIazo1hu0AH1YtK0C1eLVqk=; b=f4xFhBlRaejWYtMpJejhFT6IhKEGUvIPHNJt+M60VTKAUdIBifSum7qN38qdA74QTu 5J3pvRidAXsZ/fesKw1NtYU96dfqbLsatDOuDPNjADyoRcsVEQb2s1c35i2ynkqHvocV 0wkPxOlvmcUP4E0diNf9jj7nWvd9nMKXC8//HyYuMcTkpwuDwmNMYSzzklateQ8NZDm+ lP4fhxCu9YDIbRig594ET7GoHZVlTwiJBQrHIrQ76/AbnOulFDdcy4X3brpO+NsGwOG/ gz7bAY1enGSFpN6yjygjdp6tcaDezYG/3i6phso4qqegG6EodTUMO/1H7X0d24x+oigU 7n1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aFdywRFi; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o25-20020a635a19000000b00477ca5b5617si20220046pgb.147.2022.12.29.20.12.42; Thu, 29 Dec 2022 20:12:50 -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=@kernel.org header.s=k20201202 header.b=aFdywRFi; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230226AbiL3EHp (ORCPT + 64 others); Thu, 29 Dec 2022 23:07:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229570AbiL3EHm (ORCPT ); Thu, 29 Dec 2022 23:07:42 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 440F1A1A1; Thu, 29 Dec 2022 20:07:40 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D5BE9B81A6D; Fri, 30 Dec 2022 04:07:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4F9BC433EF; Fri, 30 Dec 2022 04:07:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672373257; bh=oHSUVgzZFT5eD1K23WLe22CTg2guTdfkql7F7NFCmps=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=aFdywRFiKVgawGQ5CEwjudYuMZlqN89LeoHR7omeKkB+lWgIb8Kqn9jRUP4By/Toj Qlic3m0dk84suoQjPPUubx2zMUp/E6imGDr4nda7lQrzBOWU46zJK85nFJtFLlDEC0 pfAzCTnioWunpQbOBmODJDWuD5z9SYc9cDQo2dBNshigN9Pwmurj3+h3PPY+4YsYTk B8sTM5yKQ+P73Vx310dmZVcBSGcni3dW4BiSRbu9Br9ajzr8ULzV1hqudddrXfFMKL pTeGdM4J2qUOMgdcONIxsWnYzqQKdfL0ToxRiEwbXtxAJ9TrGoVm93i2yU0ZBWV9OZ 8/UF2AKfZ93Yg== Date: Thu, 29 Dec 2022 20:07:36 -0800 From: Jakub Kicinski To: Felix Fietkau Cc: netdev@vger.kernel.org, John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , "David S. Miller" , Eric Dumazet , Paolo Abeni , Matthias Brugger , Russell King , Frank Wunderlich , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net v2 4/5] net: ethernet: mtk_eth_soc: drop generic vlan rx offload, only use DSA untagging Message-ID: <20221229200736.008f5ad1@kernel.org> In-Reply-To: <20221227140807.48413-4-nbd@nbd.name> References: <20221227140807.48413-1-nbd@nbd.name> <20221227140807.48413-4-nbd@nbd.name> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 On Tue, 27 Dec 2022 15:08:06 +0100 Felix Fietkau wrote: > Through testing I found out that hardware vlan rx offload support seems to > have some hardware issues. At least when using multiple MACs and when receiving > tagged packets on the secondary MAC, the hardware can sometimes start to emit > wrong tags on the first MAC as well. > > In order to avoid such issues, drop the feature configuration and use the > offload feature only for DSA hardware untagging on MT7621/MT7622 devices which > only use one MAC. Does not apply cleanly, could you rebase and repost?