aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/ksz_spi.c
diff options
context:
space:
mode:
authorAmit Cohen <[email protected]>2022-08-26 16:06:52 +0000
committerJakub Kicinski <[email protected]>2022-08-31 06:20:43 +0000
commitc503d8ae48f2443345ba82ef66a9dfc22389a66f (patch)
tree15b06f1052ea38ad45f4e60907e3963ce3edabed /drivers/net/dsa/microchip/ksz_spi.c
parentmlxsw: Add a helper function for getting maximum LAG ID (diff)
downloadkernel-c503d8ae48f2443345ba82ef66a9dfc22389a66f.tar.gz
kernel-c503d8ae48f2443345ba82ef66a9dfc22389a66f.zip
mlxsw: spectrum: Add a copy of 'struct mlxsw_config_profile' for Spectrum-4
Starting from Spectrum-4, the maximum number of LAG IDs can be configured by software via CONFIG_PROFILE command during driver initialization. Add a dedicated instance of 'struct mlxsw_config_profile' for Spectrum-4 and set the 'max_lag' field to 128, which is the same amount of LAG entries as in Spectrum-{2,3}. Without this configuration, firmware reserves 256 (the value of 'cap_max_lag' resource) entries at beginning of PGT table for LAG identifiers, which means that less entries in PGT will be available. Signed-off-by: Amit Cohen <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Reviewed-by: Petr Machata <[email protected]> Signed-off-by: Petr Machata <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_spi.c')
0 files changed, 0 insertions, 0 deletions