From e3f20f02864f6da1509c523bfa1e928619e59095 Mon Sep 17 00:00:00 2001 From: Leon Romanovsky Date: Thu, 19 May 2016 17:12:31 +0300 Subject: IB/core: Integrate IB address resolution module into core IB address resolution is declared as a module (ib_addr.ko) which loads itself before IB core module (ib_core.ko). It causes to the scenario where IB netlink which is initialized by IB core can't be used by ib_addr.ko. In order to solve it, we are converting ib_addr.ko to be part of IB core module. Signed-off-by: Leon Romanovsky Signed-off-by: Leon Romanovsky Signed-off-by: Mark Bloch Signed-off-by: Doug Ledford --- drivers/infiniband/core/core_priv.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/infiniband/core/core_priv.h') diff --git a/drivers/infiniband/core/core_priv.h b/drivers/infiniband/core/core_priv.h index eab32215756b..589f16ad7c72 100644 --- a/drivers/infiniband/core/core_priv.h +++ b/drivers/infiniband/core/core_priv.h @@ -137,4 +137,7 @@ static inline bool rdma_is_upper_dev_rcu(struct net_device *dev, return _upper == upper; } +int addr_init(void); +void addr_cleanup(void); + #endif /* _CORE_PRIV_H */ -- cgit v1.2.3