Message ID | TY3P286MB2611CC17BC0A189DB15620EA98CA2@TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org> 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 A036EC27C53 for <linux-mediatek@archiver.kernel.org>; Sat, 22 Jun 2024 11:24:48 +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:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-ID:Date:Subject:Cc:To: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=+1Ou3XU/r2FCL/064EuYVlzcKrl8jpJs3XlGf4f1DTg=; b=JO5Ooh/FRc390fSnvopyvgnH23 j+tbU9avjZe/+jOfHPFwrwlBR/nFgR+0z8c4o3iCyeTAiyXhbpS/LWhFTLma6Mn2ikNDndfisc5TD kwaNGcOXR+OacEnOPYBX0xcpihKjAF7+KE3cLOz9BeAjYvqt1QeXZFQDcC4gQYXTnErqC1Ek60UPH dvTET/+IEI6bel/gT5YaJECDe90nUfreW67VErthhIlYZZ80Fr60WOhrL6O3x4eliMwuqK0KHWXru ApN/xfTY68FFPox7wOV4x/QBO3QkVunovTJDHpGTSbol7IBenHg5DY+OW/6c4IbEsME1wG9H186OF u3SnC/gw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKyrQ-0000000BxjN-0Rke; Sat, 22 Jun 2024 11:24:48 +0000 Received: from mail-tycjpn01olkn20800.outbound.protection.outlook.com ([2a01:111:f403:2814::800] helo=JPN01-TYC-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKyrK-0000000BxfK-0CM7; Sat, 22 Jun 2024 11:24:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SNtgPP6sDotfjJ8fLOuy2dnEc1lBdJgqCCOs2/zKKrREe21PVQwQdMuLttlKRG8x/V2jB2IMAq8/qZ5YgUP/nnYoU4vDSUYzF8tmdBgboR8FX0+07/DqFAVzSC43EEneu/rTt7C32BHlix2etf3jvUV/Sp8hQPsgCZG7Z8vrlXweqPetyc6Fx9ezSvAxzHh7cJgbc2JLbmJJNqY1XR6v5MAqt+aPAqvnKJBgTl5WxFSTjUK4hXEMOdVQ+zPzfBh8u7yMHk/e+lqm+lwsTuzg1OOddP5X+84H5f7KyEo9fOMySDKk6ad/kqfyc0Y3FZHl7VLBiqPOaf/7AESwPs2gig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+1Ou3XU/r2FCL/064EuYVlzcKrl8jpJs3XlGf4f1DTg=; b=ixpKD2IdEDGXcv9ozCaiaMM6h6rNKNcwDHXiCjfj7Y4SzwbQLlqin+oBQmwhhwxtj6oCoOGrF2pdl55J9m0raVvP01Gcp5nrvXtay9/oQn/C128ticzD+rYpy82Ghd7nLnobWYAFfr6a4iDETCpbwRnrMnT/nfMXO6kLw0/38Q4SSS0npwN1UuT0lmXR/hb/2No8A5Svro4n/fto97Unyd9CLfCWwMx9i+RfpxvCuIw9srprICGSVPyHfqvYpa8sd6/fEkVrzG0Lv2WRlGKs5J4WofLvghVA4myRK+43onbacZonx+GcQ8DINJKHcwdDKA0KD2L8ym1+F2W/DDEvxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+1Ou3XU/r2FCL/064EuYVlzcKrl8jpJs3XlGf4f1DTg=; b=G7cpXO/nagEk79AqmbUVhEnT0OBIaToHf+pjwRcpDHRbW70+AL+Aq+w8i0GinGKAZWIQM+0TBd5QV2p2gyTh+sUzXrbHb07m6ksrnzSkkHq5TgbQU9giFZsYfnA9AkRTqEiyMn5IC/jN2ZfVe6NBht9LwK0MgN/tfNub/DtsdayVgZ5PepZjor0WCF6T4vI3AoI6r3jvTywTavADh2s1bi2dpD/7pejkGb0+cKH8zwKPSOpROlXCxcwwVKgnvn4y2E5MguHU3dad4j1NjPEpRU2OKa2X4Inpk1KBcCFwQmVwUTPUfEhx/wfRUSAd4Z2fH5+1HVI6tiHsZomjgyngbw== Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:23e::10) by TYWP286MB2732.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:24f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.21; Sat, 22 Jun 2024 11:24:22 +0000 Received: from TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::85b8:3d49:3d3e:2b3]) by TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM ([fe80::85b8:3d49:3d3e:2b3%5]) with mapi id 15.20.7698.020; Sat, 22 Jun 2024 11:24:22 +0000 From: Shengyu Qu <wiagn233@outlook.com> To: nbd@nbd.name, sean.wang@mediatek.com, Mark-MC.Lee@mediatek.com, lorenzo@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Cc: Shengyu Qu <wiagn233@outlook.com>, Elad Yifee <eladwf@gmail.com> Subject: [PATCH RFC v1] net: ethernet: mtk_ppe: Change PPE entries number to 32K Date: Sat, 22 Jun 2024 19:23:35 +0800 Message-ID: <TY3P286MB2611CC17BC0A189DB15620EA98CA2@TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-TMN: [jqsQlCcneTcWQQbAMU0D17XP0S32gX8/] X-ClientProxiedBy: SGAP274CA0001.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b6::13) To TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:23e::10) X-Microsoft-Original-Message-ID: <20240622112335.11582-1-wiagn233@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TY3P286MB2611:EE_|TYWP286MB2732:EE_ X-MS-Office365-Filtering-Correlation-Id: c5a09f81-49d5-4107-4061-08dc92addd31 X-Microsoft-Antispam: BCL:0;ARA:14566002|461199025|3412199022|440099025|1710799023; X-Microsoft-Antispam-Message-Info: z2ZidqDgfbnMKDg9rVByfWA5bR4EJN5BDQ3xliZCdhP2WdkZHfhWVHoRK8eDkcKgunrQgBmBXuymuC1DXtto7dwzoxYAzls5G2YTf1uG7PEAGq6ZZtHjDaBsV0MshJSdPGOK8XHZNDF/WLa/Hen4UV7oqfpqTpA1SYF6Fgug6IzM/uhkNztxP310pgTrXvOZgPQ/ZRKhvE6q9b9lA72GSW4ImPY8hVpBONmfapMqG7THA34Z5yrPxs1kqkfJ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016Ffvi0k/9iHsYiguILmEoAiYoxb+f7IWHAxAEnBbowuA6ZMjzlFLa3hkRmIHM/+kA/dMh1BnhJ7jcb8ItsLsoJW3ulGANbJ1xReRlvpgU3E1pHDRreqoDGydtQr/ubO3TamDyxUFLYqNUu9s/G++pT4BGf2PGAYA+xTIiRND+aIwH+WrfeujsVKWdFrOoagU9U+b+ad4F6h34txe1M9zyT9rxs/n2ZpakZb+PH+VjnlgyZkTWShuETxAHOA+FY30+2laP7+t5o0MMdiDsx0S7RcFTnUg2vYeNfwgLlq7oWpcBIN3ksMHxJfUXn4kgFrKdVwhz6JVNTXG0/iUoGzlFdTDnw2INIPMqkTLc+DehzLkc8T9rkEUcjvIyp5MhMm8CRxJHNI+g9BSqje3lepCWmaiCeoHsIkWWoN6ol1az9ps7GN0mV0Ss2Fs8FLQMshJOlejn+I2nJ8jaoAQsmNEndXNV4BA9qPKTRjhzfibq7i0N1vNlSaYekWZO9mR+r0iq+K1wvgo4iArgzLkCq6eGC6xjfEeEg1FyzNkVbtqA0DORmwUZQAhdcae7W46tUzV24ukOISwwpTeBDNfeM= X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c5a09f81-49d5-4107-4061-08dc92addd31 X-MS-Exchange-CrossTenant-AuthSource: TY3P286MB2611.JPNP286.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2024 11:24:22.1290 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWP286MB2732 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240622_042442_094546_8F02B90F X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-mediatek.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-mediatek/> List-Post: <mailto:linux-mediatek@lists.infradead.org> List-Help: <mailto:linux-mediatek-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-mediatek>, <mailto:linux-mediatek-request@lists.infradead.org?subject=subscribe> Sender: "Linux-mediatek" <linux-mediatek-bounces@lists.infradead.org> Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org |
Series |
[RFC,v1] net: ethernet: mtk_ppe: Change PPE entries number to 32K
|
expand
|
diff --git a/drivers/net/ethernet/mediatek/mtk_ppe.h b/drivers/net/ethernet/mediatek/mtk_ppe.h index 691806bca372..6db85d897fa9 100644 --- a/drivers/net/ethernet/mediatek/mtk_ppe.h +++ b/drivers/net/ethernet/mediatek/mtk_ppe.h @@ -8,7 +8,7 @@ #include <linux/bitfield.h> #include <linux/rhashtable.h> -#define MTK_PPE_ENTRIES_SHIFT 3 +#define MTK_PPE_ENTRIES_SHIFT 5 #define MTK_PPE_ENTRIES (1024 << MTK_PPE_ENTRIES_SHIFT) #define MTK_PPE_HASH_MASK (MTK_PPE_ENTRIES - 1) #define MTK_PPE_WAIT_TIMEOUT_US 1000000