]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
IB/mlx5: Validate requested RQT size
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 27 Oct 2016 13:36:40 +0000 (16:36 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Nov 2016 08:56:58 +0000 (09:56 +0100)
commitad886a0e9035e4963f9cc0306dcf62a7aba0f90d
tree351dafadcd4940014452a22debb0ed51d2c3d843
parent76a93a6f8dd7ee2468fd0ccb83e2112b94a886db
IB/mlx5: Validate requested RQT size

commit efd7f40082a0dfd112eb87ff2124467a5739216f upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/mlx5/qp.c