]> 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)
commitf62b1c1866683791d560201fb4504a06669168eb
tree1552523f5d924679570270e554b064e1da329125
parenta23ed89f543ad8c7314239eb3b6c23d6752a208c
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