]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Check that reserved fields in mlx4_ib_create_qp_rss are zero
authorGuy Levi <guyle@mellanox.com>
Thu, 17 Aug 2017 12:50:49 +0000 (15:50 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Aug 2017 20:27:11 +0000 (16:27 -0400)
commit99fc7f9131c04e697ca6368060a340b84627a9ee
tree50c7e001203507873170255b22697aae65f6a9c9
parent9cfd48f31bc636054e2b206df84927c17156c7d9
IB/mlx4: Check that reserved fields in mlx4_ib_create_qp_rss are zero

According to mlx4 convention, need to fail the command due to a non-zero
value in the user data which is expected to be zero.

Fixes: 65c772e79721 ("IB/mlx4: Add support for RSS QP")
Signed-off-by: Guy Levi <guyle@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/qp.c