diff options
author | Jiri Pirko <jiri@mellanox.com> | 2020-03-18 15:48:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-18 16:46:19 -0700 |
commit | ac5de9a20f106111ba113fdd96ded717793c249a (patch) | |
tree | d958918cd24aeb4bc481dc6356a53c3c7233cad1 /drivers/ps3/ps3-sys-manager.c | |
parent | 8d174351f285a27139abf72515eaf86fa6394e34 (diff) | |
download | linux-ac5de9a20f106111ba113fdd96ded717793c249a.tar.bz2 |
mlxsw: spectrum_cnt: Query bank size from FW resources
The bank size is different between Spectrum versions. Also it is
a resource that can be queried. So instead of hard coding the value in
code, query it from the firmware.
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 'drivers/ps3/ps3-sys-manager.c')
0 files changed, 0 insertions, 0 deletions