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

Paolo Abeni pabeni at redhat.com
Thu Jun 27 03:11:58 PDT 2024


On Tue, 2024-06-25 at 19:16 +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 at vger.kernel.org
> Signed-off-by: Elad Yifee <eladwf at gmail.com>
> Signed-off-by: Shengyu Qu <wiagn233 at outlook.com>
> Fixes: ba37b7caf1ed ("net: ethernet: mtk_eth_soc: add support for initializing the PPE")
> ---
> Changes since V1:
>  - Reduced max entries from 32768 to 16384 to keep compatible with MT7620/21 devices.
>  - Add fixes tag

@Sean, @Mark, @Lorenzo or @Felix, can any of you actually test this?

Thanks!

Paolo




More information about the Linux-mediatek mailing list