]> 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)
commitff5b270df8ad887080437d136466cbbc673d1959
treed7de053538cf744c5eb85853a02705d020551f91
parentceffb45e72350034141b39761e327dcd47a7a82c
IB/mlx5: Validate requested RQT size

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

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