[PATCH net] net: airoha: fix PSE memory configuration in airoha_fe_pse_ports_init()
Simon Horman
horms at kernel.org
Thu Sep 19 00:42:10 PDT 2024
On Wed, Sep 18, 2024 at 04:37:30PM +0200, Lorenzo Bianconi wrote:
> 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.
> Moreover, store the initial value for PSE reserved memory in orig_val
> before running airoha_fe_set_pse_queue_rsv_pages() in
> airoha_fe_set_pse_oq_rsv routine.
Hi Lorenzo,
This patch seems to be addressing two issues, perhaps it would be best
to split it into two patches?
And as a fix (or fixes) I think it would be best to describe the
problem, typically a user-visible bug, that is being addressed.
> Fixes: 23020f049327 ("net: airoha: Introduce ethernet support for EN7581 SoC")
> Tested-by: Sayantan Nandy <sayantan.nandy at airoha.com>
> Signed-off-by: Lorenzo Bianconi <lorenzo at kernel.org>
...
More information about the Linux-mediatek
mailing list