diff options
author | Noa Osherovich <noaos@mellanox.com> | 2016-06-04 12:15:35 (GMT) |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-06-07 14:03:50 (GMT) |
commit | 3c4c37746c919c983e439ac6a7328cd2d48c10ed (patch) | |
tree | 8ded5be819a24bbaf8f22500dd8898bdf3118de2 /virt | |
parent | 9ea578528656e191c1097798a771ff08bab6f323 (diff) | |
download | linux-3c4c37746c919c983e439ac6a7328cd2d48c10ed.tar.xz |
IB/mlx5: Fix entries check in mlx5_ib_resize_cq
Verify that number of entries is less than device capability.
Add an appropriate warning message for error flow.
Fixes: bde51583f49b ('IB/mlx5: Add support for resize CQ')
Signed-off-by: Majd Dibbiny <majd@mellanox.com>
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions