diff options
| author | 2018-07-08 13:40:30 +0300 | |
|---|---|---|
| committer | 2018-07-09 13:30:25 -0600 | |
| commit | 921c0f5ba58e4064deb18b4985a202508fc5527f (patch) | |
| tree | 14ab6433139e7de30e0bee7f969f09f3f20859a4 /tools/perf/scripts/python/bin/export-to-postgresql-record | |
| parent | RDMA/mlx5: Remove unused port number parameter (diff) | |
IB/mlx5: Honor cnt_set_id_valid flag instead of set_id
It is incorrect to depend on set_id value to know if counters were
allocated or not. set_id_valid field is set to true when counters
were allocated. Therefore, use set_id_valid while deciding to
free counters.
Cc: <stable@vger.kernel.org> # 4.15
Fixes: aac4492ef23a ("IB/mlx5: Update counter implementation for dual port RoCE")
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@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/bin/export-to-postgresql-record')
0 files changed, 0 insertions, 0 deletions
