]> 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)
commit067726d525cfbd0341ccff7ff5dd2b014aa6e4a2
tree33fb8bf3856f8d1dfb68c2cfeec6b695642b92fa
parent87723cc836a76a29a2468090b5889a8c7fbd77fb
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