commit | f77f3036264b2e0d9abd2938b8999dc9d33819ed | [log] [tgz] |
---|---|---|
author | Leon Romanovsky <leonro@mellanox.com> | Tue May 29 14:56:13 2018 +0300 |
committer | Doug Ledford <dledford@redhat.com> | Fri Jun 01 11:16:23 2018 -0400 |
tree | cd70134cc5a553a83899d080e3dbb68f0a71d5a6 | |
parent | 367d2f0787e8363f30cbac4d5270a772b69828c1 [diff] |
RDMA/mlx4: Catch FW<->SW misalignment without machine crash Any steering QP is supposed be above steering_qp_base, see function mlx4_ib_steer_qp_alloc() for it, however in case of misalignment between SW and FW, this qp_base can be wrong. Use WARN() to catch such situation without killing the machine. Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>