]> asedeno.scripts.mit.edu Git - linux.git/commit
mlxsw: spectrum_buffers: Prevent changing CPU port's configuration
authorShalom Toledo <shalomt@mellanox.com>
Mon, 16 Sep 2019 15:04:20 +0000 (18:04 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Sep 2019 20:07:59 +0000 (22:07 +0200)
commit9d0aa053ea68cdf1ee68dc1e558f9e525d76b2ea
tree1552523f5d924679570270e554b064e1da329125
parentb63e1a02d74bd92a346f4b9254bc0f3f1e776810
mlxsw: spectrum_buffers: Prevent changing CPU port's configuration

Next patch is going to register the CPU port with devlink, but only so
that the CPU port's shared buffer configuration and occupancy could be
queried.

Prevent changing CPU port's shared buffer threshold and binding
configuration.

Signed-off-by: Shalom Toledo <shalomt@mellanox.com>
Acked-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