aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDaniel Jurgens <danielj@mellanox.com>2018-01-04 17:25:31 +0200
committerJason Gunthorpe <jgg@mellanox.com>2018-01-08 11:42:20 -0700
commit734dc065fc41f6143ff88225aa5d335cb1e0f6aa (patch)
tree4c6bd43972f743d469b5c9d1f875cc9bd6ca2a26 /tools/perf/scripts/python/export-to-sqlite.py
parentIB/mlx5: Add support for DC target QP (diff)
downloadlinux-734dc065fc41f6143ff88225aa5d335cb1e0f6aa.tar.gz
linux-734dc065fc41f6143ff88225aa5d335cb1e0f6aa.zip
net/mlx5: Fix race for multiple RoCE enable
There are two potential problems with the existing implementation. 1. Enable and disable can race after the atomic operations. 2. If a command fails the refcount is left in an inconsistent state. Introduce a lock and perform error checking. Fixes: a6f7d2aff623 ("net/mlx5: Add support for multiple RoCE enable") Signed-off-by: Daniel Jurgens <danielj@mellanox.com> Reviewed-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions