commit | c33fbe949f9f27a74d11d919cb508fe0c0948568 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Wed Mar 18 15:48:51 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 18 16:46:19 2020 -0700 |
tree | e61bb0a43941091c9696e02b0c99107a6bc8cc01 | |
parent | 4d21ed2e3d6a7ca24afc531f693ebefa2549218d [diff] |
mlxsw: spectrum_cnt: Move sub_pools under per-instance pool struct Currently, the global static array of subpools is used. Make it per-instance as multiple instances of the mlxsw driver can have different values. 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>