IB: Let ib_core resolve destination mac address
authorParav Pandit <parav@mellanox.com>
Mon, 16 Oct 2017 05:45:13 +0000 (08:45 +0300)
committerDoug Ledford <dledford@redhat.com>
Wed, 18 Oct 2017 16:10:36 +0000 (12:10 -0400)
commitc0348eb069687a2f27c0cd23dafb35918edf9e75
treefd46a31b2d81cf5fc817f31146ecc27d9ecf1d50
parent5cda6587feec790a089703dde2e6e1f82de50bbd
IB: Let ib_core resolve destination mac address

Since IB/core resolves the destination mac address for user and kernel
consumers, avoid resolving in multiple provider drivers.

Only ib_core resolves DMAC now, therefore resolve_eth_dmac is removed as
exported symbol.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/verbs.c
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/hns/hns_roce_ah.c
drivers/infiniband/hw/mlx4/ah.c
drivers/infiniband/hw/mlx5/ah.c
drivers/infiniband/hw/ocrdma/ocrdma_ah.c
include/rdma/ib_verbs.h