diff options
author | Jiri Pirko <jiri@mellanox.com> | 2020-03-18 16:48:54 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-19 02:46:19 +0300 |
commit | ab8c4cc604206a9b99705018fffe0c5d2c90f2ef (patch) | |
tree | 6c07aa1c92871f34d067039c21a0b8af1d3d1e19 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d53cdbb889a33c803847da8d1592a45b4c1badb5 (diff) | |
download | linux-ab8c4cc604206a9b99705018fffe0c5d2c90f2ef.tar.xz |
mlxsw: spectrum_cnt: Move config validation along with resource register
Move the validation of subpools configuration, to avoid possible over
commitment to resource registration. Add WARN_ON to indicate bug
in the code.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions