diff options
author | Petr Machata <petrm@mellanox.com> | 2018-09-20 09:21:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-20 17:46:01 +0300 |
commit | 41057e28288b89da91d535ff3244bfcf90ebc97c (patch) | |
tree | 7ffb2d2503390ebe7e7d0d2f67231b6d7126c616 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d144e3a2c9f79af5202d832e85fb72b0d6954ef5 (diff) | |
download | linux-41057e28288b89da91d535ff3244bfcf90ebc97c.tar.xz |
mlxsw: spectrum_buffers: Pass SBPM min_size in cells
The SBPM register configures the shared buffer allocation and
configuration per port and pool. The min_buff value is the buffer size
dedicated to this single function, and is configured in cells.
Currently, all sb_pm entries have 0 for min_buff, and therefore the
actual unit is immaterial. However, in a follow-up patch we want to add
entries with non-zero minimum.
Therefore pass the min_buff from the sb_pm table through the cell
conversion before handing it over to mlxsw_sp_sb_pm_write().
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-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