]> git.baikalelectronics.ru Git - kernel.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)
commit1a5bb64108ddd69927b8b34d0fe6a1dcb49e217d
tree1552523f5d924679570270e554b064e1da329125
parenta941a9179e34536cd95e216f0b85db504de54425
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