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 812D8C54FB3 for ; Thu, 29 May 2025 16:14:29 +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:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=R1LgwZo8Yy9jHnLiG1r4EpMcCCNsir16DglYBKVIjxk=; b=0hXb3poLE9hLpG 8u6hIWalrqqK7JgyzVBQ/cnhqS+W6do7v0z7f0xp84vDOLxCg8AqzCWpIu18PMuzqULrBiTGFz+G6 u56nnNUi5rcnFU3/qdSt8oxStjo/1aRcMIIyQNzqjQn7iaWGK2tYrI/6Ezj7abCneyw1xpQ9d/agm fqQdHlctgt4gaRwh8q9pyaRKWwKgyAY1oaCcDPvANa1XazRg0lGNsEY14iag5dy6ULp+vUPONyMyf SBclIVbnj+UxIUlyFq1o4jlHf8R60VmXZ831TzFcLbewjhD4sQqDD2DG5i5+Ys/rTR+gd3jLPRH+b 90Za1vSjXmfnYs9nQiNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uKftj-0000000G9Lm-1CRT; Thu, 29 May 2025 16:14:27 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uKfYv-0000000G7ta-0Y2S; Thu, 29 May 2025 15:52:58 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 953B85C67D9; Thu, 29 May 2025 15:50:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79AC8C4CEE7; Thu, 29 May 2025 15:52:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1748533975; bh=hl2EGsrGA6DGqbMtlfQBtSfBMc1FbsIADq0RXh96ZlM=; h=From:Subject:Date:To:Cc:From; b=kCV2Z42yGt0npy4Ex2G+oPRP+thc3Fkcwhd8enV06PV5M8H2VwCiYZesrJFsBUQQT qgL9LkWnJfGIJMZRbuXBJixkUSLqwMDDV/T3tTKZEMwKleSgfTuCFTWRUOLVtkO5Lp WA/SDlmfskrmgbGIQYBcBMEoYiCcF+i5PNz6yiduLgHy4oJBvZ+VpXg2wmHUAmOIRm LttEO5uOCgA8Qe/7PwyCSEJ8/wBb07GbWbGkODIAGVCbARJ9zhhNe3wwFu0JedvdCA 58CWZMz01/lvXOjYEd85XmjNIxFQV7KThwR5bvqc8vJJsVs8nf/vb4FH152iRoFLXw jlRuFHa9LKWaw== From: Lorenzo Bianconi Subject: [PATCH net 0/2] net: airoha: Fix IPv6 hw acceleration Date: Thu, 29 May 2025 17:52:36 +0200 Message-Id: <20250529-airoha-flowtable-ipv6-fix-v1-0-7c7e53ae0854@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAMSCOGgC/x2MSwqAMAwFryJZG6gF6+cq4iJqqgGx0ooK4t0NL ucNbx5IHIUTtNkDkU9JEjaFIs9gXGibGWVSBmtsaUrbIEkMC6Ffw3XQsKrfT4debmwqR8XIteF qAv3vkXX+213/vh9poXh1awAAAA== X-Change-ID: 20250529-airoha-flowtable-ipv6-fix-976a1ce80e7d To: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Michal Kubiak , Lorenzo Bianconi Cc: linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, netdev@vger.kernel.org X-Mailer: b4 0.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250529_085257_218099_56507308 X-CRM114-Status: UNSURE ( 5.93 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org Fix IPv6 hw acceleration in bridge mode resolving ib2 and airoha_foe_mac_info_common overwrite in airoha_ppe_foe_commit_subflow_entry routine. Introduce UPDMEM source-mac table used to set source mac address for L3 IPv6 hw accelerated traffic. --- Lorenzo Bianconi (2): net: airoha: Initialize PPE UPDMEM source-mac table net: airoha: Fix IPv6 hw acceleration in bridge mode drivers/net/ethernet/airoha/airoha_eth.c | 2 ++ drivers/net/ethernet/airoha/airoha_eth.h | 1 + drivers/net/ethernet/airoha/airoha_ppe.c | 52 ++++++++++++++++++++++++------- drivers/net/ethernet/airoha/airoha_regs.h | 10 ++++++ 4 files changed, 53 insertions(+), 12 deletions(-) --- base-commit: 27eab4c644236a9324084a70fe79e511cbd07393 change-id: 20250529-airoha-flowtable-ipv6-fix-976a1ce80e7d Best regards, -- Lorenzo Bianconi