commit | d53cdbb889a33c803847da8d1592a45b4c1badb5 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Wed Mar 18 15:48:53 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Mar 18 16:46:19 2020 -0700 |
tree | b572bec28b5fef401b0092de765c8d2113a7aa36 | |
parent | b2d3e33c77cfcbb7ab3e7ab799200da357d408e1 [diff] |
mlxsw: spectrum_cnt: Expose subpool sizes over devlink resources Implement devlink resources support for counter pools. Move the subpool sizes calculations into the new resources register function. 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>