IB/mlx5: Validate requested RQT size
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 27 Oct 2016 13:36:40 +0000 (16:36 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Nov 2016 01:03:44 +0000 (20:03 -0500)
commitefd7f40082a0dfd112eb87ff2124467a5739216f
treed7de053538cf744c5eb85853a02705d020551f91
parent90be7c8ab72853ff9fc407f01518a898df1f3045
IB/mlx5: Validate requested RQT size

Validate that the requested size of RQT is supported by firmware.

Fixes: c5f9092936fe ('IB/mlx5: Add Receive Work Queue Indirection table operations')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/qp.c