diff options
author | Parav Pandit <parav@mellanox.com> | 2017-10-16 08:45:13 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-10-18 19:10:36 +0300 |
commit | c0348eb069687a2f27c0cd23dafb35918edf9e75 (patch) | |
tree | fd46a31b2d81cf5fc817f31146ecc27d9ecf1d50 /include/rdma/ib_verbs.h | |
parent | 5cda6587feec790a089703dde2e6e1f82de50bbd (diff) | |
download | linux-c0348eb069687a2f27c0cd23dafb35918edf9e75.tar.xz |
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>
Diffstat (limited to 'include/rdma/ib_verbs.h')
-rw-r--r-- | include/rdma/ib_verbs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h index 09c4a695155e..9810e4568635 100644 --- a/include/rdma/ib_verbs.h +++ b/include/rdma/ib_verbs.h @@ -3622,8 +3622,6 @@ void ib_drain_rq(struct ib_qp *qp); void ib_drain_sq(struct ib_qp *qp); void ib_drain_qp(struct ib_qp *qp); -int ib_resolve_eth_dmac(struct ib_device *device, - struct rdma_ah_attr *ah_attr); int ib_get_eth_speed(struct ib_device *dev, u8 port_num, u8 *speed, u8 *width); static inline u8 *rdma_ah_retrieve_dmac(struct rdma_ah_attr *attr) |