]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit635bfa44ea8b3be2aeff117c75604467faeb2028
treed7de053538cf744c5eb85853a02705d020551f91
parent1d449a825f3691a48b989ae42e2ef10945638eaf
IB/mlx5: Validate requested RQT size

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

Fixes: b05a1c812e3f ('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