IB/core: Introduce modify QP operation with udata
authorParav Pandit <parav@mellanox.com>
Tue, 23 May 2017 08:26:08 +0000 (11:26 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 18 Jul 2017 01:20:41 +0000 (21:20 -0400)
commita512c2fbef9c700ee1ee0e045b75e140fef8f5ee
treed8fde0fabc13e7ce67cf86f67732652ff9db3e58
parentcbd09aebc2d62095b05797af5c9a315e3a71dcea
IB/core: Introduce modify QP operation with udata

This patch adds new function ib_modify_qp_with_udata so that
uverbs layer can avoid handling L2 mac address at verbs layer
and depend on the core layer to resolve the mac address consistently
for all required QPs.

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/verbs.c
include/rdma/ib_verbs.h