diff options
author | Petr Machata <petrm@mellanox.com> | 2019-02-20 19:32:14 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-21 15:57:45 -0800 |
commit | 93d201f7757e0ec079bc72344fe3577b7333a585 (patch) | |
tree | 24994ed92e11416395512489cb8e95c670d29654 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c39f3e0e4f15714f29cf3c089cdb6e179997a415 (diff) |
mlxsw: spectrum_buffers: Allocate prs & pms dynamically
Spectrum-2 will be configured with a different set of pools than
Spectrum-1. The size of prs and pms buffers will therefore depend on the
chip type of the device.
Therefore, instead of reserving an array directly in a structure
definition, allocate the buffer in mlxsw_sp_sb_port{,s}_init().
Signed-off-by: Petr Machata <petrm@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