Re: [PATCH net-next 04/15] net: sparx5: modify SPX5_PORTS_ALL macro
From: Jacob Keller
Date: Tue Oct 01 2024 - 13:56:10 EST
On 10/1/2024 6:50 AM, Daniel Machon wrote:
> In preparation for lan969x, we need to define the SPX5_PORTS_ALL macro
> as 70 (65 front ports + 5 internal ports). This is required as the
> SPX5_PORT_CPU will be redefined as a non-constant in a subsequent patch.
> And as SPX5_PORTS_ALL is used as an array size troughout the code, we
> have to make sure that it stays a constant.
Reviewed-by: Jacob Keller <jacob.e.keller@xxxxxxxxx>