diff options
author | Mark Zhang <markz@mellanox.com> | 2020-01-26 20:17:08 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2020-02-11 21:23:01 +0300 |
commit | 10189e8e6fe8dcde13435f9354800429c4474fb1 (patch) | |
tree | 0a0cf7e51a22ca3147591f3cf835b725bf6fc10c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a72f4ac1d778f7bde93dfee69bfc23377ec3d74f (diff) | |
download | linux-10189e8e6fe8dcde13435f9354800429c4474fb1.tar.xz |
IB/mlx5: Return failure when rts2rts_qp_counters_set_id is not supported
When binding a QP with a counter and the QP state is not RESET, return
failure if the rts2rts_qp_counters_set_id is not supported by the
device.
This is to prevent cases like manual bind for Connect-IB devices from
returning success when the feature is not supported.
Fixes: d14133dd4161 ("IB/mlx5: Support set qp counter")
Link: https://lore.kernel.org/r/20200126171708.5167-1-leon@kernel.org
Signed-off-by: Mark Zhang <markz@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@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