IB/core: Change ib_resolve_eth_dmac to use it in create AH
authorMoni Shoua <monis@mellanox.com>
Wed, 23 Nov 2016 06:23:22 +0000 (08:23 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 13 Dec 2016 18:34:25 +0000 (13:34 -0500)
commitc90ea9d8e51196d9c528e57d9ab09ee7d41f0ba0
tree33fb8bf3856f8d1dfb68c2cfeec6b695642b92fa
parent2d1e697e9b716b8a692bc9c197e5f4ffd10d7307
IB/core: Change ib_resolve_eth_dmac to use it in create AH

The function ib_resolve_eth_dmac() requires struct qp_attr * and
qp_attr_mask as parameters while the function might be useful to resolve
dmac for address handles. This patch changes the signature of the
function so it can be used in the flow of creating an address handle.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/core_priv.h
drivers/infiniband/core/uverbs_cmd.c
drivers/infiniband/core/verbs.c
include/rdma/ib_verbs.h