aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/mad.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2018-05-29 14:56:13 +0300
committerDoug Ledford <dledford@redhat.com>2018-06-01 11:16:23 -0400
commitf77f3036264b2e0d9abd2938b8999dc9d33819ed (patch)
treecd70134cc5a553a83899d080e3dbb68f0a71d5a6 /drivers/infiniband/hw/mlx4/mad.c
parentRDMA/qedr: fix spelling mistake: "adrresses" -> "addresses" (diff)
downloadlinux-dev-f77f3036264b2e0d9abd2938b8999dc9d33819ed.tar.xz
linux-dev-f77f3036264b2e0d9abd2938b8999dc9d33819ed.zip
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>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mad.c')
0 files changed, 0 insertions, 0 deletions