Re: [PATCH v2] net: ethernet: mtk_ppe: Change PPE entries number to 16K

From: Shengyu Qu
Date: Wed Jul 03 2024 - 13:39:15 EST


Hi,

BT download and PCDN would create tons of connections, and might be
easily to reach the 8192 limit, one of my friend sees 50000+ links when
hosting PCDN.

Best regards,
Shengyu

在 2024/7/3 2:02, Jakub Kicinski 写道:
On Tue, 25 Jun 2024 19:16:54 +0800 Shengyu Qu wrote:
MT7981,7986 and 7988 all supports 32768 PPE entries, and MT7621/MT7620
supports 16384 PPE entries, but only set to 8192 entries in driver. So
incrase max entries to 16384 instead.

Cc: stable@xxxxxxxxxxxxxxx
Signed-off-by: Elad Yifee <eladwf@xxxxxxxxx>
Signed-off-by: Shengyu Qu <wiagn233@xxxxxxxxxxx>
Fixes: ba37b7caf1ed ("net: ethernet: mtk_eth_soc: add support for initializing the PPE")

nit: Fixes tag usually goes before the sign-offs

This doesn't strike me as a bug fix, tho. What's the user-visible
impact? We can't utilize HW to its full abilities?

Attachment: OpenPGP_0xE3520CC91929C8E7.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature