diff options
author | Noa Osherovich <[email protected]> | 2016-06-04 15:15:34 +0300 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-06-07 10:03:50 -0400 |
commit | 9ea578528656e191c1097798a771ff08bab6f323 (patch) | |
tree | ca2eaee8b47d9550f470768982ab776503902258 /tools/perf/util/trace-event-scripting.c | |
parent | 2cc6ad5f2130733e561f97dba7a2052f8ea024aa (diff) |
IB/mlx5: Fix entries checks in mlx5_ib_create_cq
Number of entries shouldn't be greater than the device's max
capability. This should be checked before rounding the entries number
to power of two.
Fixes: 51ee86a4af639 ('IB/mlx5: Fix check of number of entries...')
Signed-off-by: Majd Dibbiny <[email protected]>
Signed-off-by: Noa Osherovich <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions