OSDN Git Service

IB/core: Move rdma_addr_find_l2_eth_by_grh to core_priv.h
authorParav Pandit <parav@mellanox.com>
Tue, 13 Mar 2018 14:06:23 +0000 (16:06 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 15 Mar 2018 21:33:39 +0000 (15:33 -0600)
commite41a7c41947d33dbca16d1695460c121342a4601
treec30fe8cd8de6332f8fadf56cb71ccd0f30ed6d52
parentcb12a8e2fa5fc6381aa8ae542276099a64dee6e9
IB/core: Move rdma_addr_find_l2_eth_by_grh to core_priv.h

Before commit [1], rdma_addr_find_l2_eth_by_grh() was an exported function
and therefore declaration in include/rdma/ib_addr.h was fine.

But now that its scope is limited to ib_core module, its better to have it
in core_priv.h.

[1] commit 1060f8653414 ("IB/{core/cm}: Fix generating a return AH for
RoCEE")

Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/core_priv.h
include/rdma/ib_addr.h