commit | 078f9c7132cbbe12c2484a817ca5f477d1641b61 | [log] [tgz] |
---|---|---|
author | Jiri Pirko <jiri@mellanox.com> | Thu Apr 14 18:19:19 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 14 16:22:04 2016 -0400 |
tree | df337afc18614808cd2b156e7a63edcd92bfc5ef | |
parent | aa99bc70bac1bb6815ad30248d0e34b14cdec575 [diff] |
mlxsw: spectrum_buffers: Cache shared buffer configuration In order to achieve faster dumping of current setting and also in order to provide possibility to get pool mode without a need to query hardware, do cache the configuration in driver. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>