mlxsw: spectrum_buffers: Forbid configuration of multicast pool
authorIdo Schimmel <idosch@mellanox.com>
Mon, 22 Apr 2019 12:08:46 +0000 (12:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Apr 2019 05:09:32 +0000 (22:09 -0700)
commitcce7acca8a006c9f44aa3522239aa7f5709f4fac
tree5ef2bb29d086fb3f59c566c847b561b4c22e8b78
parentf7936d0bcfe4ccb0e4c53fd0dfde0206b071d7ae
mlxsw: spectrum_buffers: Forbid configuration of multicast pool

Commit e83c045e53d7 ("mlxsw: spectrum_buffers: Configure MC pool") added
a dedicated pool for multicast traffic. The pool is visible to the user
so that it would be possible to monitor its occupancy, but its
configuration should be forbidden in order to maintain its intended
operation.

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