aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2019-10-23 09:04:59 +0300
committerDavid S. Miller <[email protected]>2019-10-23 21:31:31 -0700
commit914c4fc1b792dd963f9606b2e8b33e3d6606eb84 (patch)
tree1cd732ec7b75d4cd417ed2e19017437058a688d8 /tools/perf/scripts/python/export-to-sqlite.py
parent06cd9da58fb25526bd1a4b0f36e25e1a8824ea1f (diff)
mlxsw: spectrum: Use guaranteed buffer size as pool size limit
There are two resources associated with shared buffer size: cap_total_buffer_size, and cap_guaranteed_shared_buffer. So far, mlxsw has been using the former as a limit to determine how large a pool size is allowed to be. However, the total size also includes headrooms and reserved space, which really cannot be used for shared buffer pools. Therefore convert mlxsw to use the latter resource as a limit. Adjust hard-coded pool sizes to be the guaranteed size minus 256000 bytes for CPU port pool. On Spectrum-1 that actually leads to an increase. A follow-up patch will have this size calculated automatically. Signed-off-by: Petr Machata <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions