]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_buffers: Further reduce pool size on Spectrum-2
authorPetr Machata <petrm@mellanox.com>
Wed, 31 Jul 2019 06:33:15 +0000 (09:33 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2019 15:22:12 +0000 (08:22 -0700)
commit4da15e81ef77c17f7e169fd13f887bf7d5a1737f
tree2bd4217fcd248654de6e00f8f79a5c1c0bd47f3d
parent302fdc780d4617c2a4e4d0da1b95abd24532e0f5
mlxsw: spectrum_buffers: Further reduce pool size on Spectrum-2

In commit ecf35b0256c8 ("mlxsw: spectrum_buffers: Reduce pool size on
Spectrum-2"), pool size was reduced to mitigate a problem in port buffer
usage of ports split four ways. It turns out that this work around does not
solve the issue, and a further reduction is required.

Thus reduce the size of pool 0 by another 2.7 MiB, and round down to the
whole number of cells.

Fixes: ecf35b0256c8 ("mlxsw: spectrum_buffers: Reduce pool size on Spectrum-2")
Signed-off-by: Petr Machata <petrm@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