commit | 0636f4de791f4e2b1aaab0a92cced4e0c6c191f1 | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Mon Apr 22 12:08:43 2019 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 22 22:09:32 2019 -0700 |
tree | c5ded57e4b2c1912a5ce1fa0fbb6f3cec2364f7b | |
parent | 93d3668c027d8f6dd55d0b904d88675726662d99 [diff] |
mlxsw: spectrum_buffers: Add ability to veto pool's configuration Subsequent patches are going to need to veto changes in certain pools' size and / or threshold type (mode). Add two fields to the pool's struct that indicate if either of these attributes is allowed to change and enforce that. 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>