]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit266af6a88c0321ae12c77f092fe61f1017f4abc8
tree33fb8bf3856f8d1dfb68c2cfeec6b695642b92fa
parent25b97823408f359c215d22a99a924ff9d819794b
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