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@vger.kernel.org Signed-off-by: Elad Yifee eladwf@gmail.com Signed-off-by: Shengyu Qu wiagn233@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