[PATCH net-next 04/15] net: sparx5: modify SPX5_PORTS_ALL macro
Jacob Keller
jacob.e.keller at intel.com
Tue Oct 1 10:54:42 PDT 2024
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 at intel.com>
More information about the linux-arm-kernel
mailing list