]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Set port's shared buffer size to 0
authorIdo Schimmel <idosch@mellanox.com>
Wed, 6 Apr 2016 15:10:05 +0000 (17:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2016 21:24:17 +0000 (17:24 -0400)
commit29787f8b9f0763ebf1b3f156fd0f670b68af090b
tree7d3d35a5ffee768b55c896268025ed8e40b07368
parenteb27d8426e04b145bd99d9b2d2089abb105e91e0
mlxsw: spectrum: Set port's shared buffer size to 0

In addition to the priority group (PG) buffers in the headroom, the
device enables the allocation of headroom shared buffer, which can
be shared between different PGs.

However, we are not going to use the headroom shared buffer and instead
allow the user to use its size for PGs or the switch's shared buffer.

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