IB/uverbs: Make use of ib_modify_qp variant to avoid resolving DMAC
authorParav Pandit <parav@mellanox.com>
Tue, 23 May 2017 08:26:09 +0000 (11:26 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 18 Jul 2017 01:20:49 +0000 (21:20 -0400)
commitf7c8f2e9ddc71db0ae344f3ffb19df03ef32b719
treea70fc8ac0bea83436121b96516ea3702ddc2f09c
parenta512c2fbef9c700ee1ee0e045b75e140fef8f5ee
IB/uverbs: Make use of ib_modify_qp variant to avoid resolving DMAC

This patch makes use of IB core's ib_modify_qp_with_udata function that
also resolves the DMAC and handles udata.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_cmd.c