]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7c5558c03aeda36df1a333c0836a7ff20817d010
treea72181088e0d3a2f45c7d49a4b792327e9136f18
parent6031b39c4331ac59d3c3b9fc8ead95b5afe0d8be
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