diff options
author | Daniel Machon <daniel.machon@microchip.com> | 2024-11-01 08:09:08 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-11-05 13:31:08 +0100 |
commit | 8f5a812efff8495ba0df93239b62d008925b37d1 (patch) | |
tree | 2aca4c67312b60849ac9f5d449ac17952cead152 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 9bdb67b53f3f2c702ef8bf4723c3d2c5523aba9b (diff) |
net: sparx5: replace SPX5_PORTS with n_ports
The Sparx5 VCAP implementation uses the SPX5_PORTS symbol to iterate over
the 65 front ports of Sparx5. Replace the use with the n_ports constant
from the match data, which translates to 65 of Sparx5 and 30 on lan969x.
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Reviewed-by: Jens Emil Schulz Østergaard <jensemil.schulzostergaard@microchip.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions