]> 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)
commit095024a45c1fbe0f06815c7630e3e097badde941
tree70ab9062730d8b33b488d4c69f7e6d08b2ab67c2
parent9f06c28a85d62ef2a013d8448915b34a0500a9a6
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