IB/mlx5: Allow transition of DCI QP to reset
authorMoni Shoua <monis@mellanox.com>
Wed, 12 Sep 2018 06:33:55 +0000 (09:33 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 12 Sep 2018 20:58:17 +0000 (14:58 -0600)
commit99ed748e878a99c6c7b87bbec063eefd9e47cb42
tree986bf32c5f6247ea496444d56dffbc6540c50d3d
parentb53ae6bc7e397930ff20221d1a5976677e0dc85b
IB/mlx5: Allow transition of DCI QP to reset

The transition is allowed from any state and the atrribute mask must be
IB_QP_STATE.

Fixes: c32a4f296e1d ("IB/mlx5: Add support for DC Initiator QP")
Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Artemy Kovalyov <artemyko@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c