diff options
author | 2019-03-28 15:27:36 +0200 | |
---|---|---|
committer | 2019-04-10 15:05:39 -0300 | |
commit | 5d8f6a0e92070c938f121258841ac36072d17cc3 (patch) | |
tree | 0121cd85d5107cd8d6e2060be70e239f2536f52c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RDMA/mlx5: Move ports allocation to outside of INIT stage (diff) | |
download | linux-dev-5d8f6a0e92070c938f121258841ac36072d17cc3.tar.xz linux-dev-5d8f6a0e92070c938f121258841ac36072d17cc3.zip |
RDMA/mlx5: Use correct size for device resources
On allocation we use the array size and on destruction num_ports, use the
array size of destruction as well, in this context the array corresponds
to the native/actual ports on the NIC so no need to adjust this logic for
representors.
Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions