]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_buffers: Configure MC pool
authorPetr Machata <petrm@mellanox.com>
Thu, 20 Sep 2018 06:21:32 +0000 (09:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Sep 2018 14:46:01 +0000 (07:46 -0700)
commit6031b39c4331ac59d3c3b9fc8ead95b5afe0d8be
tree70ab9062730d8b33b488d4c69f7e6d08b2ab67c2
parent5d8877873b7a30e9445ab09182326ffc40bcb1fa
mlxsw: spectrum_buffers: Configure MC pool

Pool 15 (indexed as 8) is dedicated to MC traffic. Its configuration has
been kept at default, because the table-based configuration wasn't
expressive enough to allow the explicit configuration.

Now that the configuration of pool 15 can be described, do so. The MC
pool should have infinite size, infinite per-TC quota, and per-port
limit of 90K.

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