diff options
| author | Leon Romanovsky <[email protected]> | 2018-02-21 18:12:38 +0200 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2018-02-22 22:29:50 -0500 |
| commit | eb455e329bf65c75372da65a6a268c519f489183 (patch) | |
| tree | 97f468c718de2fd5adb92acc7712c61fb71a14b4 /tools/perf/scripts/python | |
| parent | 77833b8a48084cb17e4bd631360b0093dd245a31 (diff) | |
RDMA/uverbs: Properly check command supported mask
The check based on index is not sufficient because
IB_USER_VERBS_EX_CMD_CREATE_CQ = IB_USER_VERBS_CMD_CREATE_CQ
and IB_USER_VERBS_CMD_CREATE_CQ <= IB_USER_VERBS_CMD_OPEN_QP,
so if we execute IB_USER_VERBS_EX_CMD_CREATE_CQ this code checks
ib_dev->uverbs_cmd_mask not ib_dev->uverbs_ex_cmd_mask.
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions