]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: airoha: fix PSE memory configuration in airoha_fe_pse_ports_init()
authorLorenzo Bianconi <lorenzo@kernel.org>
Tue, 1 Oct 2024 10:10:25 +0000 (12:10 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Oct 2024 16:54:28 +0000 (09:54 -0700)
commit8e38e08f2c560328a873c35aff1a0dbea6a7d084
tree51275476a0266f735e0a3a596255ed78e0bae7ac
parent1f3e7ff4f296af1f4350f457d5bd82bc825e645a
net: airoha: fix PSE memory configuration in airoha_fe_pse_ports_init()

Align PSE memory configuration to vendor SDK. In particular, increase
initial value of PSE reserved memory in airoha_fe_pse_ports_init()
routine by the value used for the second Packet Processor Engine (PPE2)
and do not overwrite the default value.

Introduced by commit 23020f049327 ("net: airoha: Introduce ethernet support
for EN7581 SoC")

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241001-airoha-eth-pse-fix-v2-2-9a56cdffd074@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mediatek/airoha_eth.c