mlxsw: spectrum_buffers: Tweak SBMM configuration
authorPetr Machata <petrm@mellanox.com>
Thu, 20 Sep 2018 06:21:33 +0000 (09:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 14:46:01 +0000 (07:46 -0700)
commit6a23f9a49722c391c5624ad1790997cd6b6b8fef
treea72181088e0d3a2f45c7d49a4b792327e9136f18
parente83c045e53d75c6b231fd5d5753d271c3e51e56d
mlxsw: spectrum_buffers: Tweak SBMM configuration

The SBMM register configures shared buffer allocation and settings for
MC packets according to switch priority. The recommended values are no
reserved buffer and alpha of 1/4, which corresponds to buf_max of 6.
Update mlxsw_sp_sb_mms accordingly.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_buffers.c