]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_buffers: Adjust CPU port shared buffer egress quotas
authorIdo Schimmel <idosch@mellanox.com>
Mon, 22 Apr 2019 12:08:56 +0000 (12:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Apr 2019 05:09:33 +0000 (22:09 -0700)
commitafb4c58c884ba6c5b6d960e521d37842f1c88491
tree035eaaafe988f4ac5eced2f98dfb7ee294350d21
parent8d451ed9ba63fb86ca85db47b6d511aa37e8108a
mlxsw: spectrum_buffers: Adjust CPU port shared buffer egress quotas

Switch the CPU port to use the new dedicated egress pool instead the
previously used egress pool which was shared with normal front panel
ports.

Add per-port quotas for the amount of traffic that can be buffered for
the CPU port and also adjust the per-{port, TC} quotas.

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