diff options
| author | Yishai Hadas <[email protected]> | 2018-10-07 12:06:34 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2018-10-16 00:19:59 -0600 |
| commit | 2351776e87a18318b5f4732e7790f0c726cc37a0 (patch) | |
| tree | 37a3f988772fcc50b5851b8521ad78ef493bb83e /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 68a997c5d28c581ae23594eb8a1420d834c30d24 (diff) | |
IB/mlx5: Verify DEVX object type
Verify that the input DEVX object type matches the created object.
As the obj_id in the firmware is not globally unique the object type must
be considered upon checking for a valid object id.
Once both the type and the id match we know that the lock was taken on the
correct object by the uverbs layer.
Fixes: e662e14d801b ("IB/mlx5: Add DEVX support for modify and query commands")
Signed-off-by: Yishai Hadas <[email protected]>
Reviewed-by: Artemy Kovalyov <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions