aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2019-02-20 19:32:27 +0000
committerDavid S. Miller <[email protected]>2019-02-21 15:57:46 -0800
commitedf777f55aee61d1021fc496f16ef121380cfa67 (patch)
tree96d9e08226f05193261966785ba84a6224fb7b2c /tools/perf/scripts/python/export-to-sqlite.py
parentfe099bf682abbec77d0be73f62423ad794d88a04 (diff)
mlxsw: spectrum_buffers: Update port headroom configuration
The recommendation for headroom size for 100Gbps port and 100m cable is 101.6KB, reduced accordingly for split ports. The closest higher number evenly divisible by cell size for both Spectrum-1 and Spectrum-2, and such that the number of cells can be further divided by maximum split factor of 4, is 102528 bytes, or 25632 bytes per lane. Update mlxsw_sp_port_pb_init() to compute the headroom taking into account this recommended per-lane value and number of lanes actually dedicated to a given port. 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