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)
commit7a1ff9f45be5f947ec2d7b2a4d7ffe28d8ddff14
tree035eaaafe988f4ac5eced2f98dfb7ee294350d21
parent6d28725c4de8a69004b767a25a405ca955360c37
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