summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2017-03-24 10:02:50 +0300
committerDavid S. Miller <davem@davemloft.net>2017-03-24 23:53:29 +0300
commitf417f04da589f579fb0c0adea5e5474ed634c18f (patch)
tree76e47f1b784e4592be8e4befd71bc95f6786a8f0 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentd3daae1b0808c82bc2875c0f249650d3efe6776f (diff)
downloadlinux-f417f04da589f579fb0c0adea5e5474ed634c18f.tar.xz
mlxsw: spectrum: Refactor port buffer configuration
The sizes and thresholds of the priority group (PG) buffers are configured in cells, which represent a specific amount of bytes. The cell size can vary in different devices, so it's better to query it from the firmware than hard coding it. Refactor the code dealing with this value into different functions, so that it will be easier to make the conversion in the next patch. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions