]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_buffers: Forbid changing multicast TCs' attributes
authorIdo Schimmel <idosch@mellanox.com>
Mon, 22 Apr 2019 12:08:49 +0000 (12:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Apr 2019 05:09:32 +0000 (22:09 -0700)
commitd32c8d2f64680d68f0af536c4ab918c5c0baf348
tree3cecfbee761d017d74a03333396aa6da75570679
parent5f6c05cbe4a0a3f63721fe95103bdf2113a3acb8
mlxsw: spectrum_buffers: Forbid changing multicast TCs' attributes

Commit 095024a45c1f ("mlxsw: spectrum_buffers: Configure MC pool")
configured the threshold of the multicast TCs as infinite so that the
admission of multicast packets is only depended on per-switch priority
threshold.

Forbid the user from changing the thresholds of these multicast TCs and
their binding to a different pool.

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