mlxsw: spectrum: Use CFF mode where available
authorPetr Machata <petrm@nvidia.com>
Tue, 28 Nov 2023 15:50:50 +0000 (16:50 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Nov 2023 04:03:25 +0000 (20:03 -0800)
commit69f289e9c72afc8439b5ad83dd8c46803a097657
tree691030f4067f8741032199125eb9d1275ca356c7
parent72a4cedb3760ff66446a1a4d006315aad79d573f
mlxsw: spectrum: Use CFF mode where available

Mark all Spectrum>2 systems as preferring CFF flood mode if supported by
the firmware.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Amit Cohen <amcohen@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://lore.kernel.org/r/8a3d2ad96b943f7e3f53f998bd333a14e19cd641.1701183892.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c